CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

1
vote
1answer
6k views

CentOS 6 installs libmysqlclient.so.16 and friends without me asking

Whilst trying to resolve a dependency issue with MySQL's libmysqlclient libraries on one of my CentOS 6 MySQL servers I was surprised to discover the following libraries installed in /usr/lib/mysql: ...
3
votes
1answer
2k views

Rename All Files with a Certain Name

I'm trying to find certain files with the name "stringx" and replace the name (but not the extension) with "stringy". So basically for stringx.txt and stingx.cs, I'd want stringy.txt and stringy.cs. ...
1
vote
1answer
1k views

How to remove Apache from CentOS while keeping php 5.3

I have a problem with removing Apache from my CentOS install. First of all I installed lighty (lighttpd) and then I tried to install php53 which httpd was included with it. I've configured lighty ...
1
vote
1answer
333 views

Centos directory server / 389 directory server - any differences?

I have very broad view that Redhat Directory Server, 389 Directory Server and Centos Directory Server are all the same. It's just the support you pay for on the RedHat version. Is this true? Are ...
3
votes
3answers
2k views

Installing centos and freebsd with serial console

I am trying to install Centos 5.7 and FreeBSD 8.2 on KVM with serial console access. This is what I used: sudo virt-install -n freebsd -r 1024 --vcpus=2 --os-type unix --accelerate -v --disk ...
3
votes
1answer
4k views

Can't login as root even after resetting the password

We're running a small Centos 5 server in a virtual machine for a class assignment. For reasons unknown, starting about a week ago a number of services started failing. When we tried to investigate we ...
1
vote
1answer
830 views

What kind of installation should I choose from CentOS to have it as dom0 xen host?

I want to have CentOS 6.0 x86_64 as a dom0 xen host. During the installation of CentOS there are many options for installation: "minimal" "Basic Server"... "Virtual Host".. The question is: which one ...
2
votes
2answers
5k views

“Cannot run C compiled programs” error when installing PDO PHP module

I have a cPanel server I want to install some packages on. I connected to the server as root and ran the following commands to update and delete all the existing repositories: yum update yum clean ...
1
vote
2answers
4k views

Linux Centos 5.5 yum update command is not working

I have done lots of things to update. yum clean all yum clean metadata yum clean dbcache then yum update outputs: http://mirror.centos.org/centos/5.6/addons/i386/repodata/repomd.xml: [Errno 14] ...
1
vote
1answer
2k views

CentOS 5.5 SSH with Key for non ROOT user

I tried pretty much everything I could to make this work. I spent literally 6 hours on research and nothing helps to remove "Server refused our key" error. My username I tried to make is "Testuser" ...
5
votes
1answer
9k views

chcon: can't apply partial context to unlabeled file while installing nagios with SELinux

I'm setting up Nagios core on CentOS with SELINUX=enforcing. I try to run chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ as suggested in the manual, but I get this error messages: chcon: ...
6
votes
3answers
10k views

Wireless networking with CentOS

I'm running CentOS 5.7 x86 on my Vostro 1700 laptop which has an Intel Pro Wireless WiFi NIC (Intel Pro Wireless 3945 [iwl3945]). I'm a bit confused about how my Wireless connection (wlan0) is being ...
1
vote
0answers
514 views

How can I tell if no_root_squash is enabled from an NFS client without mounting the share?

Obviously, I can look at /etc/exports on the NFS server-side to see if no_root_squash is enabled, but is there a way I can check this from the NFS client-side without actually mounting the share? ...
6
votes
2answers
7k views

How to install packages to a custom location in centos6

I have a shared location, let me call it /tp I want to install all my libraries and packages in this location just like the default install. Reason to do this is: I want all the users in the network ...
0
votes
1answer
892 views

Seem to be having a problem with RealVNC with centos can't input username

Hello I seem to be having a problem with RealVNC with centos. I want to connect to a another machine, but can't because it has been "grayed out". In otherwords, I can't type in the username in the ...
13
votes
7answers
55k views

How can I fix “cannot find a valid baseurl for repo” errors on CentOS?

I finished installing CentOS 6, but when I tried running yum update I got: [root@centos6test ~]# yum update Loaded plugins: fastestmirror, refresh-packagekit Determining fastest mirrors Could not ...
1
vote
3answers
670 views

How do I check if a distribution is Fedora-based?

The Python M2Crypto library requires a slightly different installation command if the Linux distribution is Fedora-core based (e.g., Fedora, RHEL, CentOS, Scientific Linux). Is there a way to check ...
4
votes
1answer
14k views

mount: wrong fs type, bad option, bad superblock on /dev/sdb on CentOS 6.0

Somehow my partition on /dev/sdb has gotten all buggered up. This hard drive contains a lot of data that I need to recover and haven't been able to backup yet. When I attempt to mount it: # mount -t ...
2
votes
1answer
1k views

Remove shutdown/reboot options from logout window

In my CentOS5 installation in KDE, users get presented the options to terminate the session, reboot, and shutdown. Since this computer should always remain on, I'd like to remove the reboot and ...
1
vote
3answers
3k views

How can I get to a terminal or virtual console when Ctrl-Alt-F2 fails?

When X and GNOME are working normally, I can just hit Ctrl-Alt-F2 to leave GNOME and use the terminal on the second virtual console. To switch back to GNOME, I can just hit Alt-F1. Today, X or GNOME ...
0
votes
1answer
732 views

Installing yum on CentOS 5

I have a CentOS vm that I'm currently working on. I tried to update yum and it broke, so I removed it. So I need to re-install it on my vm, can anybody tell me how to install yum on CentOS5?
1
vote
1answer
725 views

cURL on Linux not compiled, although installed

cURL is not compiled into PHP. I'm running: [root@vps ~]# cat /etc/issue CentOS release 5.7 (Final) Kernel \r on an \m Then I execute yum install curl and yum install php-curl. Then: [root@vps ...
2
votes
0answers
171 views

How do I install dvd-slideshow on Centos 5?

How do I install dvd-slideshow on Centos 5? http://dvd-slideshow.sourceforge.net/wiki/Main_Page I tried but only found a gui to install on Ubuntu. I'm using Centos 5, command line.
0
votes
2answers
568 views

How do I set different directories for different domains on CentOS 5.5 server?

I'm running a CentOs 5.5 server and wanted to know what commands I needed to run to be able to do the following; I have 3 domains on the server - example1.com, example2.com, example3.com I wanted ...
3
votes
3answers
12k 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 ...
1
vote
2answers
149 views

Move Web Directory to Raid Array

I want to improve the performance of a web application running on Apache, so I created a Raid Array on /dev/md0. Now I need to figure out how to move the application to the array and make sure that ...
2
votes
2answers
4k views

Where is udev getting the ID for iSCSI devices?

I'm using iscsi-initiator-utils successfully to use some iscsi devices on CentOS 5, and I have some symlinks created by udev in /dev/disk: # ls -l /dev/disk/by-path/ip-* /dev/disk/by-id/scsi-* ...
5
votes
2answers
2k views

/dev/sda2 has gone 49710 days without being checked, check forced

Why the shell show "/dev/sda2 has gone 49710 days without being checked, check forced." at centos start and then reboot? ...... /dev/sda2: Superblock last mount time is in the future. FIXED. ...
1
vote
1answer
387 views

vixie-cron.x86_64 doesn't seem to execute jobs on crontab

I have installed crontab on CentOS 5.6 x64 via yum install vixie-cron.x86_64 Here is my crontab -e SHELL=/bin/sh 0 0 * * * cat /root/mysql-backup.txt | xargs ...
10
votes
1answer
720 views

How do you omit “./” when running scripts on current directory

On some tutorials over the internet they can run a script on the current directory without doing: ./script How do you omit this? I am using CentOS 5.6 x64. I want to run it this way script
4
votes
3answers
12k views

Yum Cannot Retrieve Repository CentOS 6

I just installed CentOS 6. I tried running yum update and was having trouble getting that to work, so I tried yum clean all and now my situation seems even worse than before. Based upon what I pasted ...
10
votes
2answers
10k 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 ...
9
votes
5answers
30k views

“Symbolic link not allowed or link target not accessible” / Apache on CentOS 6

I've got a brand new CentOS 6 installation, which has a symlink in the document root to my development files: [root@localhost html]# ls -l total 4 -rwxrwxrwx. 1 root root 0 Sep 18 20:16 index.html ...
1
vote
1answer
6k views

Where can I find a list of all yum repositories?

Now that I know more about yum from my previous question Where is the best location for finding information on /yum? I need to start playing with some new repositories. Where can I find a list of ...
2
votes
1answer
660 views

How to turn off all event notification under CentOS 6/GNOME?

In the top right corner under CentOS 6/GNOME it pops up messages if ex.: ethernet is connected, update has failed, etc. How can I completely turn OFF these messages??
6
votes
1answer
1k views

Multiple installed versions of git - centos

I manually installed git 1.6 a year or two ago. I noticed today that the 1.7 version is available in yum, and installed it (package git-all) I now get the following output: [root@ovz5197 ~]# git ...
1
vote
1answer
163 views

No installation option with livecd

I'm currently running Windows 7 x64 Professional and want to dual-boot with CentOS. I made a disk partitioning and wrote an image of CentOS on flash drive. But when it is being booted there's no ...
1
vote
1answer
843 views

rtorrent: Can't connect to trackers on CentOS 5.6

I'm trying to set up rtorrent on my CentOS 5.6 server, and it currently cannot connect to any trackers. I compiled libtorrent-0.12.6 and rtorrent-0.8.6. I also compiled libcurl 7.21.7 with c-ares ...
3
votes
1answer
5k views

Increase Space of /usr directory in Cent OS

On my CentOS 5 server, fdisk -l outputs: Disk /dev/xvda: 100.0 GB, 100000595968 bytes 255 heads, 63 sectors/track, 12157 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot ...
1
vote
3answers
3k views

Upgrading curl in Centos 5.6

There is any easy way to upgrade the default curl 7.15 to the 7.20 or 7.21 version? Any repository to install into YUM. Edit: I found this repository with the last version ...
35
votes
2answers
57k views

CentOS 6 “Default” Installation Options

Can someone tell me the difference between a Desktop Install, a Basic Server install, and a Minimal Install? During installation, it doesn't give a description and I can't find documentation on it ...
3
votes
1answer
2k 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 ...
0
votes
1answer
324 views

CentOS boot problem

We're using VMware Server which is running on CentOS in our company environment. As you can see,now the only thing holding this up is the CentOS can't boot. Also, I am guessing it sounds like a ...
1
vote
1answer
659 views

iostat usage and output

When I run the iostat command like this: iostat -d I get a result something like this: Linux 2.6.18-238.el5 (mon01) 09/03/2011 Device: tps Blk_read/s Blk_wrtn/s Blk_read ...
9
votes
9answers
13k views

Package: git-1.7.6.1-1.el5.rf.i386 (rpmforge) Requires: libcurl.so.3

After I run yum install git it shows the error Error: Package: git-1.7.6.1-1.el5.rf.i386 (rpmforge) Requires: libcurl.so.3 You could try using --skip-broken to work around the problem You ...
2
votes
1answer
2k views

Pulse Audio and Roaming Profiles on CentOS 6

We've been testing many Red Hat based distributions recently at work to replace Windows as our main operating system. We choosed CentOS 6 since all our software were fully compatible. The biggest bug ...
0
votes
1answer
66 views

vim always shows help/documentation

Whenever I run vim, it randomly shows the help/documentation at a non particular time. How do I disable that. It's irritating.
5
votes
2answers
7k views

How does createrepo work. How does yum understand parse its files. A conceptual explanation

I am not looking for a how-to on creating a repo (createrepo) or using yum. I want to understand how they work together. I want to know what files yum looks at and why, what those files contain. I ...
3
votes
5answers
5k views

Converting DOS text files to Unix

I have a bunch of PHP scripts that are in DOS format (vi displayed [noeol] [dos] in the status line) and as expected they weren't usable. I ran dos2unix over them to fix the line endins: dos2unix ...
2
votes
2answers
804 views

plesk update fails

I have a dedicated server running CentOS 5.3. I'm trying to update Plesk 9.5.2 to version 10.0.0 but update fails. I do it with yum: yum update psa* --skip-broken -t but it fails and I get the ...