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
-
0
votes2
answers3751
viewsHow to run scripts on Centos startup?
Good afternoon, how do I run a script in Centos 6.5? I’m running into /etc/rc.local /etc/rc.d/rc.local and is not loading the commands: sh /etc/init.d/script the command works outside the script.…
-
0
votes1
answer185
viewsHow to access the Tomcat that is inside a Vagrant machine?
I’m starting to learn about Vagrant. I started provisioning a machine with Centos 7 Minimal, I installed Java and Tomcat, I ran Tomcat, I checked the processes it is running, but I can’t access it…
-
0
votes0
answers22
viewsRails does not install in Centos
I have a VPS with Centos running, and I can’t get out of this mistake: [athos@athoscastro bin]$ gem install rails Fetching: nokogiri-1.6.6.2.gem (100%) Building native extensions. This could take a…
-
0
votes2
answers214
viewsCakephp version 1.3.15 Error 500
I’m working on a project in Cakephp that I can’t test on localhost. I took the project already started and as I can not do the tests, put straight keeping always the backup and work like this is…
-
0
votes1
answer36
viewsError installing git in EC2 instance with Cent OS 5
I have an ec2 instance newly created using Centos release 5.11 (Final). One of the first things I tried to do was to install git using: sudo yum install git only that you’re making that mistake:…
-
0
votes1
answer65
viewsScript with mv Error: cannot move new_name to new_name/original Directory not Empty
Hello, I have the following function below, her goal is to check if the folder exists, and rule out, extract the file .tar.gz and rename. ssl_v="1.0.2g" ABI="armv6" # Clean then Unzip [ -d…
-
0
votes1
answer115
viewsHow do I know if there is a CRON working on the PHP 5.3 (Centos) garbage collector?
I have this mistake: ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied. The normal correction is to define session.gc_probability = 0 But in Centos, the correct thing is that…
-
0
votes1
answer57
viewsHow to set to default value all PHP settings?
I have a Linux Centos VPS and the garbage collector configuration is wrong. I need to fix it in an easy way since I have very little knowledge of it. I wonder if there’s a way to set all the PHP…
-
0
votes2
answers36
viewsRemoval of string in script
To edit this file and remove any incidence of [[*m as I edit sed? The incidences are marked in bold. sed’s/ [[*m//g' file The backup routine is still running on the server! The backup process began…
-
0
votes1
answer95
viewsInstallation Codeblocks Centos
I’m a beginner in programming, I only did one course in college. I would like to install Codeblocks on Centos 7 (on a college machine) to edit a C program, but I’m having a hard time. I downloaded…
-
0
votes1
answer380
viewsRedirect HTTPS to HTTP on Centos
I have a domain that no longer has his ssl certificate, the domain is pointing to a Centos 6 server. Every time someone tries to access it using HTTPS it will show in the browser that that domain is…
-
0
votes1
answer449
viewsHow to disable HTTPS in Centos Apache 2 installed on Amazon EC2?
I installed Centos an Amazon EC2 instance, and inserted an SSL certificate using Let’s Encrypt - Free SSL/TLS Certificates. It was all cute and it’s working perfectly. Look: Every time it’s inserted…
-
0
votes0
answers189
viewsMYSQL does not start after Update version 5.5 to 5.7 on Centos 6.9 server
I am updating Mysql 5.5 to MYSQL 5.7 on Centos 6 server, but after the update the server does not start. I carried out the removal process of version 5.5 of MYSQL to perform update as indicated in…
-
0
votes1
answer816
viewsTransfer file to linux server with Python
Hello, I’m looking to make a file Python that transfers all files from a local folder in my Windows for a specific path on my server Centos 7. At first that server is in my local network, but it…
-
0
votes1
answer300
viewsCentos 7 problem (libstdc++)
/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found I am having this error while trying to run an application on Centos 7.4 x86_64. My attempts (based on what I found researching): yum install…
-
0
votes1
answer254
viewsCentos 7 - Proxy authentication without saving password
Is there any way to configure the proxy in the "/etc/yum.conf" file without leaving the password saved in this file? Something like, pass the password by parameter? Today the password is written in…
-
0
votes1
answer937
viewsCrontab does not execute script
I’m trying to run a script by crontab of centos, I’m doing so: crontab -e then put: */1 * * * * root /home/websites/public_html/admin/functions/open.sh Obs: Before doing this, add permissions to the…
-
0
votes1
answer130
viewsHow to Design Wamp for Lamp
I have a Windows finished project (wampserver) using Laravel 5.2 in php 5.5.12 working perfectly. I’d like to know how to copy it to the server that is in Centos 7. Which is PHP 7. If I install…
-
0
votes1
answer223
views -
0
votes0
answers42
viewsMYSQL does not list when running the command 'netstat -ntlp'
Apparently my MYSQL is working normal, but when I run the command: netstat -ntlp The result is this: As if MYSQL is not running.…
-
0
votes0
answers39
viewsCall to Undefined Function ssh2_connect()
What to do? I’m trying to install yum install gcc php-devel php-pear libssh2 libssh2-devel make but the following message appears Error: php70w-common Conflicts with php-common-5.3.3-49.el6.x86_64 I…
-
0
votes0
answers37
viewsNpm install problem when deploying to the server
I developed a site using Vue and Node, both fully functional on my machine, when hosting the backend on the web server (I used Kings host) and trying to run npm install to install the dependencies…
-
0
votes0
answers325
viewsError starting Mariadb in Centos7
Good morning. I have a dedicated server running Centos7 and Mariadb stopped and I can’t restart the service. [root@new ~]# mysqld start 2018-01-17 13:31:10 140236707752192 [Note] mysqld (mysqld…
-
0
votes1
answer398
viewsAccess Firebird Centos7 Database
I normally installed Firebird 3.0.3 in Centos7 - Firebird-3.0.3.32900-0.amd64 [root@localhost firebird]# ps aux |grep firebird firebird 1099 0.0 0.0 29644 1004 ? S 17:22 0:02…
-
0
votes0
answers49
viewsStrange Issue Cannot allocate memory with free memory available in centos
I’m facing a really Strange Issue in my vps, well Lets me explain im Getting Many: (12)Cannot allocate memory: [client 172.68.211.52:49792] couldn't create child process: 12: ea-php56 or (12)Cannot…
-
0
votes1
answer20
viewsLaravel 4 application does not write to files
I have an Apache server installed in the Centos 7 Operating System and an application built through the Laravel 4.2 Framework, I have already changed the permissions of the system directories with…
-
0
votes1
answer250
viewsRun PHP command in Centos 7 via shell_exec()
I’m starting in PHP, I want to make a page that triggers some commands on the Linux server. (Ex.: through a button, run a "service dhcpd Restart" or ". /Restart-Tomcat.sh" When I run this…
-
-1
votes1
answer898
viewsConnect Mysql hosted on another server
I have Centos installed with php+apache working this centos is local but I want to use this local server to connect to a mysql database on an internet server. I have Firebird installed in this…
-
-1
votes2
answers185
viewsThe mbstring is Missing - NGINX PHPMYADMIN PHP 7.0.23 CENTOS 7
how can I fix this error, because I am using php7, and I cannot download this extension. php 7.0.23 Nginx Centos 7…
-
-1
votes0
answers11
viewsHow to ensure sudo permission to a build script from gitlab ci/cd
I’m writing a script for gitlab ci/cd, to compile and run some tests. I need to download some packages like python, pip, cpython etc... for this I am using the CentOS, yum, however the gitlab user…