Most voted "centos" questions
Centos, short for Community Enterprise Operating System, is an Enterprise-class Linux distribution derived from free source code distributed by Red Hat Enterprise Linux and maintained by the Centos Project. Centos has been named one of the best distros for server use. If the question is not about "Centos", do not use this tag, even if "Centos" is present in your project.
Learn more…80 questions
Sort by count of
- 
		12 votes3 answers611 viewsHow 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 commands below to initialize/stop the application: service django_app start service django_app stop How do I ensure this… 
- 
		5 votes2 answers74 viewsList the amount of space occupied by a file type in the terminalI suspect that the Pcs I use have many files .RData, used by the R program to save data sets. I want to do a cleaning in these files, but without going into directory by directory, on computer by… 
- 
		4 votes2 answers268 viewsHow do I update PHP 7.0.0RC1 to version 7.0 already released in centos?Good morning, How do I update PHP 7.0.0RC1 to version 7.0 already released in centos? Thank you 
- 
		3 votes1 answer1030 viewsNode.js and PHP on the same serverI have a dedicated Centos 6.5 server with Plesk Panel 12 installed, with multiple sites in php. I would like to develop a chat with Node.js and integrate it with some sites made in php. Except that… 
- 
		3 votes1 answer141 viewsPostgresql 9.3 Centos StructureI would like to know what is and what is part of this directory groundwork. /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… 
- 
		3 votes0 answers20 viewsCodeigniter - Centos 6 - PHP - <?= and <??I have installed in my Windows 7 the xampp to develop a system in Codeigniter. Beauty, no problems.... I use the tags <?= $variavel; ?>, to print something in the view ... it works that is a… 
- 
		3 votes2 answers4388 viewsError creating table: Invalid default value forI went to create a table in the bank and appeared following error: Invalid default value for "updated_at" Here is the table to create: CREATE TABLE `user` ( `id` INT( 11 ) NOT NULL , `uuid` CHAR( 12… 
- 
		3 votes2 answers419 viewsUnixodbc: Decimal Formatting ProblemI built a server with Centos 7, SQL Server 2017, and Unixodbc On tsql, the numbers are correct. But when I see in isql, the decimals are separated by a comma (,) rather than a dot (.). How can I fix… 
- 
		3 votes0 answers287 viewsOne of my Shiny applications is not running on my serverI recently installed Shiny on a server I have. This can be checked by clicking at this link. I would like to put on this server several applications that I have done and still intend to do, as if it… 
- 
		2 votes1 answer341 viewsHow to import Mysql dumps into UTF-8?I’m trying to import a dump Mysql (in UTF-8), generated in Windows by Navicat, on a server Centos 6.5 with Mysql 5.5. The problem generated with this is... by executing the following command: mysql… 
- 
		2 votes1 answer2588 viewsMysql server cannot start in CentosI cannot perform any operation in Mysql as it gives error of: Starting Mysqlcouldn’t find Mysql server root@server2 [~]# /etc/init.d/mysql status MySQL is not running, but lock file… 
- 
		2 votes2 answers514 viewsEnable "zlib" module in php 5.5I have a Magento store hosted on a dedicated server and to generate a PDF file in one of the platform modules it is necessary to have installed the Zlib extension. It is already installed, if I… 
- 
		2 votes2 answers3113 viewsObsolete PECL/PHP PDO_OCI extension. How to proceed?I need to install the pdo_oci extension of PHP to work with Oracle database, via PDO. However, I checked that the extension available via PECL is obsolete and will no longer be maintained. From what… 
- 
		2 votes1 answer1125 viewsError setting up Yowsup to send Whatsapp messagesI’m trying to install yowsup to send Whatsapp messages on linux, but when I have registered the number there is an error with python that I have no idea how to solve. Yowsup python error My S.O is… 
- 
		2 votes1 answer70 viewsAWS EC2 Disk ProblemI use Amazon and I have an EC2 instance running Centos 6.5. I recently went to change the machine’s disk. I made the procedure of turning off the machine to take a snapshot of the old disk and climb… 
- 
		2 votes2 answers119 viewsCentos 6 - Codeigniter - HMVC - Not FoundGood afternoon I am developing a system with Codeigniter 2.X, and I use the concept of HMVC. My files are like this: ->system/ .htaccess ->application/ ->controllers ->... ->model… 
- 
		2 votes4 answers4316 viewsHow to import a csv file to Mysql?I am starting my studies in Mysql. I decided to install Mariadb 10.1.14 in Centos. I want to create a database from a file . csv with about 166 million lines. I looked for tutorials on the internet,… 
- 
		2 votes1 answer107 viewsUpdate FTP without the file being removed while overwritingThe FTP Whenever you send a file it is unusable for a few milliseconds, until the entire file is in place. The problem of this is that the file for a few milliseconds does not exist or is corrupted,… 
- 
		2 votes1 answer348 viewsEnable Nginx authentication for a specific URLI am working with a control panel and need to put an authentication in the admin folder access. I already created the user and password, the Nginx configuration this way: server { listen 443 ssl;… 
- 
		2 votes1 answer368 viewsMYSQL Does Not StartHello! I previously migrated my database from one directory to another within the server itself (/var/ to /mnt/) for lack of space. Only that when starting the server again, after having changed the… 
- 
		2 votes1 answer844 viewsMultiple connections with PHP Socket to receive HTTP messages and save to MysqlI need to set up a port on my dedicated server that runs the Centos 6.10 kvm OS, so that it receives messages (geolocation) from some trackers via TCP (IP:PORT), and saves this data in the Mysql… 
- 
		1 votes1 answer120 views[PHP Apache Shell], Permissao apache KillI need to kill a lawsuit for php, but I use exec, system or exec_shell and it’s not killing the processes, I went online and the guys are saying that apache is not allowed to execute these kinds of… 
- 
		1 votes0 answers120 viewsJava Serial CommunicationI developed an application in Java that communicates with microcontrollers through serial ports, in the tests performed in Windows everything went perfectly well but in Linux, more precisely in… 
- 
		1 votes1 answer203 viewsError "No package dkim-milter available" Centos 5.8I can’t install dkim-milter, I’m using Centos 5.8 x64bit [root@server ~]# yum install dkim-milter Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base:… 
- 
		1 votes1 answer267 viewsHow do you get the site to be accessed with and without "www"my site is only accessing without the "www" within the directory of my website, there is a . htaccess with this rule: RewriteEngine on RewriteCond %{HTTP_HOST} ^subdominio\.meusite\.com$ [OR]… 
- 
		1 votes0 answers164 viewsProblem to configure angulajs in NginxI am not able to configure the angulajs in Nginx. I am using a Centos7 linux machine and I would like to configure the angular to be able to learn. Follow the Nginx.html configuration file user… 
- 
		1 votes0 answers491 viewsCakephp Does Not Load Css, Javascript, and ImagesI have Cakephp in version 1.3.15 installed on a Centos server and the same project that works on the Internet, the local server only loads text and nothing else. As I enable developer mode, if there… 
- 
		1 votes0 answers43 viewsI cannot install ruby 2.3.2 on Centos without root privilegeI need to install ruby on a server with Centos 6.5. I don’t have root access, so I can’t use yum. I downloaded the source file, unzipped it into a folder called ~/software and rode ./configure… 
- 
		1 votes0 answers45 viewsInstall Imagick PHP5.4 centosI am trying to install Imagick on a centos 5.11 server but so far without success. When I execute: convert --version, I got the message Version: Imagemagick 7.0.1-10 Q16 x86_64 2016-06-07… 
- 
		1 votes2 answers4575 viewsHow to use Sip debug in Asterisk?In Asterisk software, it is possible to debug a phone number only? without it being peer from my server? I know there are commands: sip set debug peer 1000 sip set debug ip 172.16.0.100 similarly to… 
- 
		1 votes1 answer185 viewsAsterisk 13 - Replacement for AgentcallbackloginIs there any default function to replace the AgentCallbackLogin (discontinued in Asterisk 1.4 and removed in Asterisk 1.6)? Using the Agentcallbacklogin function the agent can turn off the call and… 
- 
		1 votes1 answer162 views
- 
		1 votes1 answer92 viewsPHP displays error "Failed to write Session data" at random timesI have a website that is fully functional and the failure rate is 0.0037%, however all errors are the same. Unknown: Failed to write session data (files). Please verify that the current setting of… 
- 
		1 votes1 answer112 viewsWhy does the cd command not work via ssh on the GOCD?I’m trying to run the command down at the terminal GOCD, but always the error occurs: Commando ssh root@host 'cd /var/www/gda-frontend/ && docker-compose up -d --build' Error bash: cd… 
- 
		1 votes0 answers531 viewsI can access Tomcat by Lynx http://localhost:8080, but I can’t get it through the local Host browserI’m having a problem getting Tomcat accessed by http:// from anywhere. For you to understand better: I have a CENTOS 6.6 VM and in it I installed TOMCAT 7 and JAVA 7 I restarted Tomcat and if I try… 
- 
		1 votes1 answer48 viewsApplication problem read xlsx file in centos error: libgcc_s.so. 1: Wrong ELF class: ELFCLASS64I have a big problem and I can not solve tried to look for some tips on the internet but it did not work. That’s why I’m here and I was wondering if any of you could help me. I have a web… 
- 
		1 votes0 answers213 viewsASP.NET MVC on linux (mod_Mono, apache)I’m trying to run my ASP.NET MVC application on a Centos 7 system. After installing mono and checking that I can run using XSP, I’m having trouble setting up mod_mono on apache. Currently giving the… 
- 
		1 votes2 answers141 viewsHow to limit Ips that can remotely connect to mysql?I have a centos 7 server with Mysql 5.6 installed, I can control the privileges of each user/host with GRANT.But my question is how to allow only a few Ips to connect to the bank. Currently any IP… 
- 
		1 votes0 answers22 viewsEmail server login attempts with non-existent usersRecently I noticed several attempts to login to the mail server with non-existent users, looking at the postfix log there are several lines similar to this: Nov 5 13:03:04 servename imapd: LOGIN… 
- 
		1 votes0 answers91 viewsSelenium tests on LinuxI have a test suite with 36 fonts, Windows runs smoothly, Centos gives the error: Chrome failed to start: exited abnormally. It is interesting to mention that when I run the tests 1 to 1 the problem… 
- 
		1 votes1 answer33 viewsChange text when entering Amazon C2 hostI searched the site of Amazon and did not find how to change the text that shows when entering, is the one of the image below. Does anyone know the location that changes this text ?… 
- 
		1 votes1 answer78 viewsCompress everything by SSH except a folder in Centos7I would like to compress everything into zip, or is all content of my public_html however, I need the files folder not to be added for compression. 
- 
		1 votes0 answers117 viewsHow to redirect all dns to a local proxy?I would like to redirect all traffic passing through a DNS server to a local Proxy or on the same machine... example: 10.0.0.10 (DNS) >> Local Proxy >>> Internet EX:For example, host… 
- 
		1 votes1 answer200 viewsHow to hide folder in SFTP for a userWell I create a new user on my host for access to devs, logging in through Putty with the account created only has access to their folder. but when entering SFTP the folders of the host user can be… 
- 
		1 votes1 answer139 viewsError starting Postgresql - [FAILED]I’m trying to upload the database, but when I give the command service postgresql-9.1 start appears the following message: Starting postgresql-9.1 service : [FAILED]. I went to the log file with… 
- 
		1 votes1 answer418 viewsApache gets too slowMy apache starts to slow down from nothing, 5 minutes after I turn it on and the users start to access the site and apache starts to slow down, I used the TOP command in centos to see the processes… 
- 
		1 votes0 answers45 viewsDST in Perl and PHP on CentosI’m having a summer-time problem at Centos 7.8. The tzdata package has already been updated to not change the time (standard system package), but the functions in Perl and PHP continue to report 1h… 
- 
		0 votes1 answer148 viewsIs there any way to run software, native to 32 bits in 64 bits in Centos?I wonder if you have any way to run the software 32 bits in 64 bits? If you have, I need to install what? 
- 
		0 votes1 answer349 viewsPHP script that for an operating system servicesomeone knows if there is a command in php or script that stops a service in the operating system ? 
- 
		0 votes0 answers72 viewsCentos exec and system commandGuys, I try to run a Kill, killall -9 to kill process with PHP and it doesn’t work, do I have to enable something inside php ? Simplest commands like whoami picks up... NOTE: I’m using Centos and…