Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

learn more… | top users | synonyms (2)

-4
votes
1answer
616 views

How do I install Supervisor on CentOS? [closed]

I have zero-knowledge of Linux. I always found the interface where I get to click things with a mouse curser to be easier for me than black-windows with a lot of text-lines (at least that's my vision ...
0
votes
1answer
47 views

rsync exclude directory not working, when also scanning for only *.php files

Im trying to rsync all the .PHP and .HTML files from any directory inside of /home/ . However in /home/site2/public_html/cache_old/ there are .html files that i do not want to include in the sync ...
0
votes
1answer
19 views

Upgrading Java on CentOS

I'm currently working on a production server, and I can't get my Java program to be executed on it because of an incompatibility between the versions. Java 7 is installed on the server, while the ...
3
votes
2answers
225 views

No /dev/mmcblk0 during boot

I am trying to install CentOS-6 on an eMMC drive. Since the supported 2.6.xx kernel from CentOS-6 doesn't support mmc, I compiled a newer kernel (4.2.6) which has updated mmc drivers. I tried booting ...
0
votes
1answer
311 views

How do I mount the /dev/sda partition from CentOS-7-x86_64-Minimal-1511.iso?

I need some help figuring out how to mount partition 1 (xfs, boot) of the /dev/sda device from CentOS-7-x86_64-Minimal-1511.iso on a CentOS Linux release 7.2.1511 (Core) VM. There are multiple devices ...
1
vote
1answer
212 views

CentOS 7 Encrypt a PDF

I've recently upgraded our server from CentOS 6 to CentOS 7 and I am having issues getting pdf encryption working on it. On CentOS 6 I installed libgcj and then the pdftk package. I could then ...
0
votes
0answers
87 views

Prune yum of stale installed packages/duplicate gcc packages after manual install

I'm in a weird situation, and maybe I've messed something up and just need to hit the reset button and re-install CentOS. Off a fresh install of CentOS7.1 the other day, I noticed the latest version ...
1
vote
1answer
154 views

yum install overwrite manual installation

Note: I barely know what I'm doing here, as such this may be incredibly obvious, but I wasn't able to find what I was after on Google. Running CentOS 6.7 Yesterday I followed this guide to set up ...
2
votes
0answers
92 views

Lost space in LVM

LVM Hey. First of all I want to say excuse me for my bad English. I a problem after installing CentOS 7 with LVM. Some space lost after problem with LVM configuration. I tried to add some logical ...
0
votes
0answers
86 views

PHP-FPM Permission denied on folders

I get read/write errors on a new CentOS + Nginx + PHP-FPM server, this is muy configuration Nginx user nginx; [...] fastcgi_pass 127.0.0.1:9000; PHP-FPM user = nginx group = nginx listen = ...
0
votes
1answer
19 views

Only One Resolver ip

so i was trying to setup Cpanel and i got this problem it asked me for a Secondary Resolver which i don't have i tried getting my ip resolver by typing cat /etc/resolv.conf in centos and it gave me ...
-1
votes
1answer
140 views

bash - sed: -e expression #1, char 15: unterminated `s' command

I try to use sed command inside a loop to replace IP address, but it is always giving me this error: sed: -e expression #1, char 15: unterminateds' command` even it is not missing the end slash. ...
-1
votes
4answers
133 views

Command not Found in centos 6

i am new to linux and learning it . while installing gambas application i face problem .. sudo add-apt-repository ppa:gambas-team/gambas-daily sudo apt-get update sudo apt-get install gambas3 ...
2
votes
2answers
244 views

installing dsc30 - python 2.6 fights back

I'm trying to upgrade some systems to Cassandra 3.x. The installer wants Python(abi) >= 2.7, so I installed it. Still seeing this error: Resolving Dependencies --> Running transaction check ...
0
votes
0answers
113 views

Unable to install yum on cpanel server

I recently signed up on godaddy and have a user account on cpanel I can successfully use ssh to login to my server this is my operating system details when i use uname -a Linux ...
2
votes
1answer
46 views

Is it possible to have a daemon run a process as another user WITHOUT having a superuser daemon?

I'm working on a project at the moment where I have a daemon that needs to run a process as another user. I would like the daemon to not run as root if possible. However, i'm struggling to figure out ...
1
vote
1answer
219 views

Yum problem on Centos 6.7

I have installed php, mysql, httpd on my vps. But when I try upgrade php via yum I get the following error. [root@ns1 home]# yum --enablerepo=remi update php Package(s) php available, but not ...
0
votes
1answer
64 views

Error while Installing centos 6.7 alongside windows 7

I am havind almost 50 gb free space in hard disk. But while partitioning its shows that "could not allocate requested partitions : no partition slots in sda". I made free space by shrinking my current ...
0
votes
1answer
426 views

Installing Dependency for epel from yum update on Centos 6.5

I think that I'm not quite understanding where epel repo reads dependency for a python update. For example when I run sudo yum update I get the below and then successfully run pip install requests and ...
3
votes
2answers
647 views

Error after installing dnf on CentOS 7

Installed dnf according to these instructions: yum install epel-release -y yum install dnf after that dnf --version works fine but dnf repolist or anything else gives: Extra Packages for ...
4
votes
2answers
355 views

Avoid CentOS 7 upgrade via yum?

I help manage a small production server. The server runs a downlevel version of CentOS. CentOS recently announced Release for CentOS Linux 7 (1511) on x86_64. Running yum update picked up the release ...
1
vote
2answers
71 views

How to find and install the GNU Smalltalk on CentOS or Fedora / RedHat?

On GNU Smalltalk's webpage, it says: Binary distributions We do not provide pre-compiled binaries for GNU Smalltalk. However, most GNU/Linux distributions (Ubuntu, Debian, Fedora) ...
0
votes
1answer
130 views

Default Gateway on CentOS 7.x not setting

Trying to teach myself CentOS 7.x after slowly pulling away from CentOS 6.5. My problem is likely very simple in nature but I am still puzzled by it and would appreciate some input. Basically I am ...
0
votes
0answers
17 views

Devices for Analog I/O gone from /dev after reboot

I have a system using Centos 6.6 and another system using RHEL 6.6 on the same architecture that both need analog I/O drivers to communicate with sensors that will be attached to the device. Thus, I ...
0
votes
0answers
46 views

How to enable XRDP drive redirection in CentOS 6.6?

I have installed XRDP via yum on CentOS 6.6 x86_64. The XRDP version is xrdp-0.6.1-4.el6.x86_64. The connection via mstsc is successful. But I can not find the remote directory under the home ...
1
vote
1answer
71 views

Change preferred NIC in default routes

I have a VM with CentOS 7.1 and two NICs: eth0, dhcp, 192.168.1.0/24, access to the host and the Internet. eth1, static, 10.0.0.0/24, between VMs only. I have configured IP and connectivity is ...
1
vote
1answer
52 views

VirtualBox Centos OS blank screen error

I have a 64 machine with a 64 windows 10 operating system. I am using virtualbox to install CentOs OS. For some reason in the dropdown menu in VirtualBox that helps me build my new virtual machine, I ...
0
votes
0answers
14 views

ISCSI fetching files requires ISCSI restart

I'm using a FreeNAS for my SAN purposes. Both my ISCSI disks are mounted and can be accessed to read & write. However I'm using two systems, two virtual machine managers running on CentOS and when ...
3
votes
1answer
102 views

Centos 6 to Centos 7 cgroups

I'm trying to set up resource limits per user in Centos 7, but I can't find the right commands for the new implementation of cgroups (I did read the documentation but it talks about restricting ...
0
votes
0answers
50 views

Failed to start GitBlit after Centos 7 update

I have a CentOS 7 machine that runs GitBlit 1.6.2. Everything was fine until I have updated the system (yum update) after which GitBlit doesn't come up any more with the following error: [root]# ...
0
votes
0answers
158 views

How do I add a Redis Cluster to a Pacemaker CentOS 7 Cluster?

I need to set up a CentOS 7 web server cluster that is able to manage user sessions while also load balancing across the nodes in the cluster. Towards this end, I have transcribed instructions from ...
2
votes
1answer
2k views

systemctl keeps timing out on service restart

I'm running CentOS 7.2; see below: # systemctl stop firewalld Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was ...
0
votes
1answer
108 views

Centos 7.1 updated to 7.2 with no login screen (gstreamer)

I have updated Centos 7.1 to 7.2 today but excluded the gstreamer package since there was a conflict (package from epel repo) As a linux newbie i failed to realize that the update was a version ...
1
vote
3answers
142 views

Stripping down a Linux (CentOS7) system

How do I strip down a Linux system (especially CentOS 7) to only the parts that I need? I'm not asking for a specific command, but more for a hint to where I can find more about the packages that I ...
2
votes
1answer
2k views

Install PostgreSQL client (psql) only on CentOS

Simple question, but no resources found about this. Is there any way to install only a PostgreSQL client, the terminal-based one, psql, on a CentOS7 system, without installing the complete PostgreSQL ...
0
votes
2answers
106 views

“URL not found” on “yum update”

I am working on CentOS 6.7. When I install the command "yum update all", I get the following error. ...
2
votes
0answers
22 views

lshw HWPath priority — how to determine

I have a project here at work where I'm attempting to definitively map ethernet MAC addresses to physical ports (IE card 1 port 0 is eth0 (mac xx:xx:xx:xx:xx:xx) and a non-technical operator can look ...
0
votes
1answer
256 views

How to install Gnome Schedule in Cent Os 7

I tried to install gnome-schedule in cent os 7 but it throws following error but the same package works well in ubuntu. Download url: http://gnome-schedule.sourceforge.net/ gnome-schedule-2.2.2 ...
1
vote
1answer
5k views

CentOS 7.2 (Now to update)

CentOS 7 (through and including 7.1) offered the Applications | System Tools | Software Update applet. This applet allowed users to update CentOS 7. Where is the applet in 7.2 v1511? I do not see ...
0
votes
0answers
33 views

VSFTPD and ability to write to root

I successfully implemented VSFTPD on CentOS 7, however I would like to know if it is possible to write to the root. Here is a fragment of my VSFTPD configuration file. [root@Turbo media]# vi ...
0
votes
1answer
441 views

How to connect svn server installed on Centos from Windows [closed]

I've installed svn server on Centos and success to checkout locally. But when i try to checkout by it's public IP from windows by sliksvn command line there's error: svn co http://mysvnhost/svn/repos ...
0
votes
0answers
147 views

500 OOPS: chroot on vsftpd login

I'm aware this question has been asked a lot in the past, but my problem seems to be a bit different. I'm using vsftpd on my CentOS 7 server and I have specified chroot_local_user to YES in ...
0
votes
1answer
167 views

How to install Python module dependencies from my RPM?

I have an application that I am packaging as an RPM and installing on CentOS 7. When I install the RPM I want it to install some compiled binaries as well as some Python modules with their ...
0
votes
0answers
55 views

Opening a file with Atom causes Xvnc to crash

We have some CentOs 7 VDIs and this problem is only happening on one of them. Whenever the user tries to open a file on Atom (v1.3.1), the Xvnc crashes (segment fault) and kicks him out. This is what ...
3
votes
1answer
56 views

How to change the timezone on CentOS 7?

Does anyone know how to change the timezone on CentOS 7?
1
vote
1answer
70 views

Forward code.domain.com to specific server?

I have the classic Multiple Servers 1 IP trouble Except I am using ESXi (s1) to host to Server VMs (VM1, VM2). What I'm trying to accomplish is this: When Someone Goes to mydomain.com they get S1-VM1 ...
0
votes
0answers
145 views

Block IP Fragmentation attack using iptables

I am trying to stop all MF flag packet which has more fragment big set. because i have seen many IP Frag attack taking advantage of it. I know its not a good idea to do but, I have test my application ...
3
votes
1answer
155 views

What is the best way to keep a Linux server's hostname consistent?

We have a server with a CentOS distribution of Linux. It lost its hostname in the month somehow, since our last reboot. We ran an ETL (extract, transform, load) job last week, and part of that ...
0
votes
1answer
51 views

Allow all commands via sudo but nopasswd for specific commands [duplicate]

I want to make sudo configuration such that one user 'test' should have access to all commands,all hosts like root. But for specific commands like 'ls /root' password should not get promted. I'hv ...
0
votes
1answer
167 views

Directory Contents Not Listed When Connecting To CentOS 7 VSFTPD

OS: CentOS 7 with VSFTPD with firewall turned off for the moment Client: Filezilla VSFTPD Configuration Settings: Used [root@Turbo ~]# vi /etc/vsftpd/vsftpd.conf anonymous_enable=NO ...