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)

5
votes
5answers
5k views

Need to upgrade svn on centos

I have an error when I run svn up svn this client is too old to work with working copy...please get a newer subversion client This is on centos. I need to update svn. How do I do this? ...
3
votes
1answer
2k 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 ...
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 ...
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
3answers
26k 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, ...
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
1answer
8k 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 ...
0
votes
1answer
68 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 ...
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 ...
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 ...
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
2answers
9k views

how to set crontab PATH variable

I had a problem running a script from crontab. After some research I understood the problem was because PATH parameter doesn't include /sbin. I looked what it does include in /etc/crontab: ...
3
votes
4answers
56k 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
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
1answer
418 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 ...
2
votes
2answers
2k views

centos 7 dual boot with windows 8.1

How do I install CentOS 7 alongside Windows 8.1 to create a dual boot machine? I did this easily enough on a Windows 7 machine using pendrivelinux. But that approach is resulting in a failure to ...
2
votes
0answers
4k 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
1answer
760 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 ...
2
votes
1answer
2k 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 ...
2
votes
5answers
25k 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
832 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
2answers
2k views

how to make system service out of .jar file? (linux)

i wrote a little java server which i'm running on my CentOS 5 VPS server. currently i just ssh onto the server and start the jar through commandline. How an i turn this jar into a system service and ...
1
vote
1answer
794 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 ...
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
1answer
2k views

CentOS 7 No package … available

(CentOS 7 64 Bits) Following these steps: http://freevps.us/thread-2789.html I get errors, anyone can help me please? STEP 2, running this command yum install libICE.so.6 libImlib.so.1 ...
1
vote
1answer
2k views

autorun a linux program on startup from a non-root user in centOS 6 64bit

I have a software that needs to be run via specific user "non-root" hence its home directory is /home/non-root/, I have to emphasize that the program must not be run via root and must only run after ...
1
vote
2answers
4k views

SSH connection establishment too slow [duplicate]

I'm having issues while connecting to my Local Centos 6.3 VM with 500 MB ram. Below is the output of ssh -vvv localhost connection: OpenSSH_6.3, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading ...
1
vote
1answer
2k views

Why did yum-builddep not provide the dependencies to install my rpm?

I am trying to rum my rpm package but getting this dependencies error. [root@localhost ~]# rpm -ivh /root/x86_64/asterisk-1.8.12.2-1.fc15.x86_64.rpm error: Failed dependencies: ...
1
vote
2answers
928 views

Getting error 2006 MySQL server has gone away on CentOS

I need to import a database into a freshly created CentOS 5 virtual machine. However, whenever I run the import command on the console, it stops working in about a minute and I get the error message: ...
0
votes
2answers
76 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 ...
0
votes
1answer
49 views

Docker image create

I want create own docker image. I use a Dockerfile to create it and want to run only httpd server and mysql client. below can see my edit file. Is my Dockerfile is correct or not? # Dockerfile that ...
0
votes
1answer
153 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 ...
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
3answers
471 views

creating and sending a self-signed public key using GnuPG in CentOS 7

I know that I can create a GPG keypair from the CentOS 7 terminal by typing gpg --gen-key and following the resulting steps, but how can I make sure that the resulting public key is self-signed? And ...
0
votes
1answer
2k views

Centos 6.6 can't install couchdb from EPEL repository

the issue is about unavailability of couchdb package in EPEL. Has somebody faces the same issue? yum repolist gets Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached ...
0
votes
1answer
2k 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 ...
37
votes
6answers
65k 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 ...
28
votes
5answers
206k 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 ...
40
votes
2answers
56k 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?
15
votes
9answers
139k 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 * ...
7
votes
3answers
20k 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
2answers
38k 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 ...
14
votes
2answers
16k views

( /etc/sysconfig/iptables ) “Manual customization of this file is not recommended.” Why?

Editing this file directly /etc/sysconfig/iptables can save me so much headaches so much time and so on... and yet on the very top of the file it says.. Manual customization of this file is not ...
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 ...
12
votes
10answers
56k 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
36k 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
18k 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
13k 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 ...
12
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 ...