Questions tagged as 'centos'

3
answers

How to ensure that a service is always running on CentOS?

I created a startup script for my application in CentOS, so I can use the following commands to initialize / stop the application: service django_app start service django_app stop How do I make sure this service is always running? For ex...
asked by 12.02.2014 / 18:09
2
answers

List the amount of space occupied by a file type in the terminal

I suspect that the PCs I use have many .RData files, used by the R program to save data sets. I want to do a cleanup on these files, but without going into directory by directory, from computer to computer. In addition, I use computers wi...
asked by 29.06.2017 / 15:40
2
answers

How to upgrade PHP 7.0.0RC1 to the already released version 7.0 in centOS?

Good morning, How do I upgrade PHP 7.0.0RC1 to the already released version 7.0 in centOS? Thank you     
asked by 04.12.2015 / 13:04
2
answers

UnixODBC: Decimal formatting problem

I've set up a server with CentOS 7, SQL Server 2017, and UnixODBC In tsql, the numbers are correct. But when I look at isql, the decimals are separated by a comma (,) instead of a period (.). How can I fix this? Q: What I really want...
asked by 26.06.2017 / 21:58
1
answer

Compress all by SSH except a folder in Centos7

I would like to compress everything in zip , that is all content of my public_html but I need the files folder not added for compression.     
asked by 29.05.2018 / 07:00
1
answer

Node.js and PHP on the same server

I have a dedicated CentOS 6.5 server with Plesk Panel 12 installed, with several sites in php. I would like to develop a chat with node.js and integrate it with some sites made in php. Only this chat needs to retrieve some information from the u...
asked by 27.11.2014 / 04:32
1
answer

Structure PostgreSQL 9.3 CentOS

I would like to know what is and what is part of this base directory.    /var/lib/pgsql/9.3/data/base/17500/18037       /var/lib/pgsql/9.3/data/base/17500/18170       /var/lib/pgsql/9.3/data/base/17500/18168       /var/lib/pgsql/9.3/data...
asked by 29.01.2015 / 15:24
2
answers

Error creating table: Invalid default value for

I was creating a table in the database and the following error appeared:    Invalid default value for "updated_at" Here's the table to create: CREATE TABLE 'user' ( 'id' INT( 11 ) NOT NULL , 'uuid' CHAR( 12 ) NOT NULL , 'fullname'...
asked by 05.04.2017 / 18:07
2
answers

Activate module "zlib" in php 5.5

I have a Magento store hosted on a dedicated server and to generate a PDF file in one of the platform modules you need to have the Zlib extension installed. The same is already installed, if I execute the following command in the terminal the ex...
asked by 09.06.2015 / 22:56
1
answer

Refresh FTP without the file being removed while replacing

FTP whenever you send a file it is unusable for a few milliseconds, until the whole file is in place. The problem with this is that the file for a few milliseconds does not exist or is corrupted, which causes include() files to sto...
asked by 29.08.2016 / 18:42