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)

3
votes
2answers
2k views

How can I Forward a subDomain to a specific port?

My apologies if this has been asked before. I haven't found an adequate solution so... yeah. When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go ...
3
votes
1answer
3k views

When using 'yum list available' why are some entries in blue?

Using iTerminal on Mac OS X 10.8 to connect via SSH to a CentOS 6.4 server, running yum list available will show a list of packages available from the various repositories on that machine. Some of the ...
2
votes
2answers
1k views

How can I make a process I start during an SSH session run after the session has ended? [duplicate]

Possible Duplicate: Keep SSH Sessions running after disconnection. I have a process which is basically a web-server, I start it during an SSH session. However, when I leave the session (by ...
1
vote
1answer
9k views

How to install lsblk on CentOS 5

I'm more used to Debian so yum and CentOS is a little new to me. Apparently, lsblk is not available on this system. I'm trying to install it via yum with no luck. I just get "nothing to do". I ...
1
vote
3answers
3k views

How to install easy_install using non-default Python Interpreter on CentOS?

I have downloaded, compiled and installed Python 2.7 on CentOS. I would like to download and install easy_install (and pip) for it but I am a little bit confused as to how to do that. How can I ...
1
vote
3answers
28k views

How to create a bootable USB with Windows?

How would I go about creating a CentOS 7 bootable USB drive with Windows? I've read the howto page for it and it says that Unetbootin and Universal USB installer won't work for CentOS 7. In addition, ...
0
votes
1answer
2k views

Difficulty installing PHP from source to CentOS 6.4

The problem: After installing PHP from source, functionality is not present - my phpinfo test page does not work. If I use yum to install from the repository functionality is restored. Why am I ...
0
votes
1answer
85 views

No 'Makefile' created KAMENSKY/Text-Bidi-2.11.tar.gz

I am trying to install following perl module via cpan on centos 6.x but unfortunately getting error. Please advise to solve. Text::Bidi Version: 0.03 Usage: Label batch PDF CPAN /usr/bin/cpan ...
5
votes
1answer
2k views

rc.local with read will not echo key strokes

I'm using CentOS 6.4 and have a small problem with using read in /etc/rc.local file. It will allow keyboard entry but does not echo any of the key strokes during input. This is something that worked ...
5
votes
1answer
504 views

What is the proper encoding name to use in locale for UTF-8?

Just wondering here as I have on this CentOS 7 system: $ locale -a <snip> en_US.utf8 <snip> and yet: $ localectl System Locale: LANG=en_US.UTF-8 To add to that, the preferred name ...
4
votes
2answers
1k views

Separate Network Traffic on Two Network Interfaces

I am not an R&S professional, so much of that realm of computing escapes me. Could you lend your expertise in helping understand how to go about configuring the separation of network traffic on ...
3
votes
4answers
60k views

How to undelete just deleted directory with “rm -R” command?

I deleted an important directory with rm -R command. This is an very populer host data. It was located /var/zpanel/hostdata/ayrintilih After remove ayrintilih directory has gone everything. I tried ...
3
votes
2answers
3k views

GNOME license not accepted issue when system has been rebooted

GNOME Desktop has been installed on CentOS7 using sudo yum -y groups install "GNOME Desktop" and when startx is executed the desktop starts. However, when the system reboots the following issue occurs:...
3
votes
1answer
556 views

How can I have multiple email accounts from different domains using Postfix?

I just made it through this helpful article and successfully have my mail server set up with a single domain. What I'm wondering now is how I can be able to add multiple email account for different ...
3
votes
1answer
3k views

User logged in by sftp does not show up in `w`

My server is Centos 5. I have a chroot environment set up with the following in my sshd_config Match group sftponly ForceCommand internal-sftp ChrootDirectory %h AllowTcpForwarding no ...
2
votes
5answers
26k views

USB mount doesn't work on Centos 6.4

I have a problem. After an update, my USB drives are not mounted automatically and I'm unable to mount them manually... The output of my fdisk -l command is: Disk /dev/sdb: 15.8 GB, 15762194432 ...
2
votes
1answer
841 views

Can rpm handle an install of another OS into another Logical Volume?

I am trying to install fedora as a domU under a CentOS dom0 using the method outlined in The Book of Xen. I have asked another question regarding a consistent error message of cpio: Bad magic when I ...
2
votes
1answer
3k views

virt-install complains “error: no such option: --network-bridge:br0”

I was following the directions here to set up a VM in CentOS 6.4 i386/686. But I'm getting this error: $ sudo virt-install --network-bridge:br0 --name vm1 --ram=1024 --vcpus=1 --disk path=/var/lib/...
2
votes
0answers
5k views

“xrandr: Failed to get size of gamma for output default” for Guest CENTOS 6.6, HOST OS Windows 7 enterprise

I am getting the following errors: xrandr: Failed to get size of gamma for output default Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm ...
2
votes
2answers
202 views

Renaming Files and Directories Recursively using rename/find

I started learning linux on vmware using centos 7. I created an image directory and several layers of files and sub-directories in that folder. most of the names containing spaces. I want to use a ...
2
votes
1answer
871 views

How to access KVM guest console without password?

How can I configure a KVM guest running CentOS to allow passwordless console access from the hypervisor? I want to be able to use the following command to log straight in to the VM from the hypervisor ...
1
vote
0answers
1k views

saving file to usb stick while using linux boot stick

I am using the instructions in this youtube video to install CentOS 7 on a new computer that is running Windows 8. The tutorial uses UniversalUSBInstaller from PenDriveLinux, but the installation is ...
1
vote
2answers
192 views

CentOS: How to install libyaml-devel from source?

I'm trying to install RVM in a CentOS server which for some weird reason I do not have access to internet. One of its dependencies is the library libyaml-devel. I already installed the libyaml ...
1
vote
1answer
1k views

How to make modprobe nf_conntrack_ftp persist a reboot on CentOS 7 and firewalld?

I'm stumped. I've seen the related questions about editing /etc/sysconfig/iptables-config, but I'm running CentOS 7 (and webmin/virtualmin), which uses firewalld instead of iptables. How do I get ...
0
votes
1answer
3k views

viewing firewalld logs via remote login to CentOS 7 server

I have firewalld installed in a remote CentOS server. When I log into the server over the internet as root, I type the following command to access the firewalld logs: journalctl --output=json-...
0
votes
1answer
2k views

setting up a relay port for postfix smtp on CentOS 7

A CentOS 7 server has postfix, dovecot, and mailx installed. I am able to make an IMAP connection to the server from my remote Thunderbird client running on my local devbox. But I am not able to ...
0
votes
1answer
203 views

Unable to mount “lvm2” volume

I had to reinstall CentOS on a system with a separate disk array for data. I installed on the OS disks and kept the other disk array as storage (so they were not formatted). When I try to mount the ...
40
votes
7answers
71k views

How To Install Virtualbox Guest Additions On CentOS via Command Line only

Reading the Virtualbox user manual, I finally got [here], which explains how to install Virtualbox Guest Additions on a Linux guest via Command Line. But it's not clear enough for me (I just started ...
32
votes
5answers
220k views

How to change hostname on CentOS 6.5?

I can't seem to change the hostname on my CentOS 6.5 host. I am following the instructions I found here: http://www.rackspace.com/knowledge_center/article/centos-hostname-change I set my /etc/hosts ...
44
votes
2answers
62k views

In CentOS, what is the difference between yum update and yum upgrade?

What is the difference between yum update and yum upgrade, and when should I use one over the other?
17
votes
9answers
150k views

yum update fails: Error: Cannot retrieve repository metadata (repomd.xml) for repository …

I'm using CentOS 6.3. When I try to update my system with yum I have this message: yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.ircam.fr * ...
12
votes
1answer
2k views

How are ACL permissions processed and in what order do they apply to a given user action?

CentOS 6.4 I'm trying to better understand how filesystem ACL rules are processed and in what order ACL rules apply. For example, let's say users bob and joe belong to a group called sales. Let's ...
7
votes
3answers
21k views

How to create an unprivileged user in CentOS?

I want to create an unprivileged user to run my RhodeCode server and Celery daemon on a CentOS instance. I think the accepted definition of this is no home directory, login disabled, and no shell ...
6
votes
3answers
40k views

How to install g++ 4.7.2 & c++11 on CentOS 5.x?

I'm trying to install the latest stable g++ and c++11. My host did it through yum install and thought that it was the latest, but it's not, and they are now saying that this is beyond their level of ...
12
votes
10answers
58k views

How to extend CentOS 5 partition on VMware?

I have a CentOS 5 virtual machine and I added 20GB more to disk size. How do I initialize and extend the available space? I'm new to Linux, so what should I do? I tried loading GParted as well, ...
25
votes
2answers
39k views

BUG: soft lockup - CPU# stuck for x seconds

I've seen a few bug reports and questions (on stackexchange and elsewhere) regarding a nagging "BUG: soft lockup - CPU#<n> stuck for <dt>s!". So far, I haven't found any clue as to what ...
18
votes
5answers
20k views

Limiting processes to not exceed more than 10% of CPU usage

I operate a Linux system which has a lot of users but sometimes an abuse occurs; where a user might run a single process that uses up more than 80% of the CPU/Memory. So is there a way to prevent ...
10
votes
4answers
14k views

How do I combine two logical volumes that reside on a single physical volume in LVM?

I have two logical volumes, one is mounted as /, the other is mounted as /home. I want to combine them, because the / volume is constantly running out of space. (Yes, I know what's using all that ...
9
votes
0answers
5k views

OpenSSL Package Rebuild CentOS 6.4 [closed]

Rebuilding openssl with Elliptic Curves on CentOS 6.4 The strategy is: 1) Download the "official" CentOS source package (.src.rpm) 2) Modify the .spec file to enable elliptic curves. (change no-EC ...
4
votes
2answers
21k views

Set Static IP in CentOS 6.4?

Most guides seem to revolve around modifying ifcfg-eth0, which doesn't exist on my system.. [root@Azaz07]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 [root@Azaz07]# ls /etc/sysconfig/network-...
13
votes
3answers
15k views

Package bash-completion missing from Yum in CentOS 6

I am trying to get tab-completion working in Yum in CentOS 6 (so I can do something like yum install firefo<TAB> and get back firefox), and I have found many tutorials which say to simply do yum ...
12
votes
2answers
28k views

Equivalent of update-grub for RHEL/Fedora/CentOS systems?

In Ubuntu (and I guess in Debian too) there is a system script named update-grub which automatically executes grub-mkconfig -o with the correct path for the grub configuration file. Is there any ...
10
votes
4answers
24k views

ldd tells me my app is “not a dynamic executable”

I have a 32-bit application (called uclsyn) I received from an astronomy professor. I managed to get it running on CentOS a year ago, but now when I am setting up a new CentOS VM, it won't run and I ...
10
votes
3answers
18k views

How can I know which IRQ is responsible of high CPU usage

I've moved a server from one mainboard to another due a disk controller failure. Since then I've noticed that constantly a 25% of one of the cores goes always to IRQ however I haven't managed myself ...
7
votes
1answer
6k views

Xvfb or Firefox throwing errors & gratuitously logging

per the answer to this question, I'm running Xvfb to make a virtual display so firefox will run on my CentOS server. (I don't need to see firefox or do any actual key or screen input/output with ...
5
votes
2answers
16k views

No network connection in CentOS 6.3 Minimal under VMWare Player

I'm trying to replicate in VMWare Player the exact same conditions I have under my Dedicated Server for testing purposes. Now, the thing is that that when I try to install something, or ping http://...
4
votes
1answer
8k views

CentOS doesn't know what the internet is

So I've done my share of investigating this problem... I just recently created a CentOS 6 VM on my LinuxMint box using VirtualBox. I left all the recommended values the same upon creation (8GB HDD, ...
3
votes
2answers
3k views

VirtualBox Kernel Module Installing Issue

I installed VirtualBox, in the first run i got this warning: WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (3.10.0-...
13
votes
1answer
22k views

Does yum's --enablerepo option only enable a repo for the current command?

Does yum's --enablerepo option only enable a repository for the duration of the current command? For example if the enabled setting in /etc/yum.repos.d/remi.repo file is set to 0 (disabled) and I ...
9
votes
3answers
10k views

How to disable beep sound in Linux CentOS 7 command line? [duplicate]

I just installed the basic Linux CentOS 7 (no desktop) and am experimenting with the system. Every time I make a mistake (entering things that the command line doesn't like), the computer beeps and it'...