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

learn more… | top users | synonyms

17
votes
2answers
11k views

How to colorize output of ls ?

I'm running CentOS in Linux text mode. When I run the command ls /usr/, the output is too hard to read (dark blue on black). How can I change the text coloring?
2
votes
2answers
427 views

CentOS server migration

I have 2 dedicated servers at the moment both running CentOS 5.3 and Plesk 10, but I'm about to give up trying to transfer the data from old one to a new one, because they just wouldn't connect via ...
3
votes
2answers
4k views

Run getty on a serial port on startup on RHEL

I want to put a getty on ttyS2 on a RHEL 6.1 box so I can use IPMI's serial-over-ethernet functionality to log in to a machine when SSH isn't working. In the past (on Ubuntu?), I used to add a line ...
1
vote
1answer
246 views

Plesk 10 migration failure

I have 2 dedicated servers both running CentOS 5.3 and Plesk 10.0.0. I'm trying to migrate stuff from one to the other but it's not happening, just after I fill out "Migration settings" and press ...
3
votes
1answer
6k views

How to install KVM on CentOS 6

I can't install kvm on CentOS. I got these errors: [root@localhost etc]# yum groupinstall kvm -y Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: ...
6
votes
3answers
4k views

How to execute a script on gdm login automatically for all users?

What file should I modify to execute some instructions when any user logs in through gdm? I tried /etc/bashrc but that is executed ony when starting bash (and each time an xterm is open). I'd like to ...
3
votes
2answers
3k views

CentOS - Check partition information from command line

What is the command to check partition information on a CentOS 5.5 release? Specifically, I'm looking to see if the partitions were set as LVMs.
0
votes
1answer
409 views

Syncing time with Windows Server Dual Booting systems

I am about to work on getting the workstations on my network here to be connected to the Active Directory on my Windows 2003 server using Likewise Identity Service. One of the security requirements is ...
0
votes
1answer
1k views

Install apache,php and mysql on CentOS VPS

I try to install apache,php and mysql server by these commands. yum install httpd yum install php install mysql-server mysql service httpd start service mysqld start to start your mysql server ...
0
votes
1answer
687 views

Install bz2 lib from source

I want to install bz2 lib from ssh to my CentOS server. I get it from here and use tar -xvf command to extract it,but it does't have configure file to compile and install it. I need this lib to ...
7
votes
2answers
17k 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 ...
3
votes
1answer
2k views

command line tool to set time zone

In Centos 5.x there is the text mode interface of system-config-date to set the time zone. Although that utility still exists in Centos 6 the text mode is gone. Is there anything similar in Centos 6?
6
votes
1answer
1k views

Force X to use second video card so I can pass through first card to XEN VM?

So I am trying to get X to start on my second (PCI 02.00:00) video card and stop using the main card (PCI 1.00:00). I would like to do this because I want to pass through the PCI 1 card to a XEN HVM ...
5
votes
1answer
3k views

Is there any difference between e2fsck and e4fsck on CentOS / RHEL systems?

ext4.wiki.kernel.org makes it sound like e2fsck was simply renamed to e4fsck so that e4fsprogs and e2fsprogs could coexist without overlapping. However, there is no mention of any difference in the ...
3
votes
1answer
630 views

Is it safe to delete the quota.user file?

Is it okay to delete the quota.user file from the root directory? This file is 2.7GB in size and I need to wipe it from the system. I ran: $ quotaoff -avug $ mv quota.user quotaold.user $ quotaon ...
3
votes
1answer
921 views

dual-head with NVidia Quadro FX3450/4000 on Centos 6.2

I am having troubles setting up dualhead with an NVidia Quadro FX3450/4000 card with Centos 6.2. The driver is installed from ELRepo. I set up twinview with nvidia-settings (and checked ...
1
vote
1answer
716 views

Do special characters in paths pose a problem when mounting network shares?

I am trying to create a permanant access point to a windows share from a CentOS 5.5 machine. I edited the /etc/fstab file to have the following entry: //travellot/ArcGIS Setup's/9.3.1 ...
2
votes
1answer
543 views

Puppet problem with sysctl

Running CentOS 5.5 with Puppet 0.25.5 I have installed and am using the puppet-sysctl module. However the following error occurs: //linux_tuning/Sysctl::Value[net.core.rmem_default] ...
2
votes
7answers
1k views

Linux server monitoring software

The dedicated server I'm looking after started to crash occasionally, I suspect because of overload, so I need some performance/resource based monitoring software, preferably with web interface, ...
3
votes
2answers
464 views

Wine installation problems in CentOS

Every time I use... yum install wine I get a message saying the package isn't found. I have used yum update but that does not work either. Moreover I accidentally ran chmod user:user /etc/yum... ...
7
votes
2answers
19k views

CentOS on HyperV - eth0 not in ifconfig?

I've launched a CentOS install in HyperV and assigned a NIC the same way I've done on an Ubuntu VM, however, the device simply isn't picked up. Only my loopback is found by ifconfig. How should I go ...
5
votes
3answers
4k views

Moved bin and other folders! How to get them back?

I accidentally moved all folders from root to a subfolder. (/bin, /etc, /home, /lib, /usr... all moved) The only ones that were not moved, since they were in use, are /bak, /boot, /dev, /proc, /sys. ...
3
votes
1answer
337 views

SysV init run levels

On a system that uses SysV init run levels such as Centos 5, when the OS is booting, does it go straight to the run level defined in /etc/inittab? If I change my run level using the init command do ...
0
votes
1answer
261 views

Where to find this specific source (centos 2.6.18-53.el5PAE)

okay all my looking around on the normal kernel site ftp can't find it. I need specifically, the PAE version. I am compiling virtualbox and if you don't use the right source you get this lovely: ...
2
votes
2answers
1k views

How can I get a list of long running processes that match a particular pattern?

I know that I can do ps aux | grep cgi to get a list of all cgi scripts currently running, and ps -p [pid] -o etime= can get me the run time for each pid; is there a way to combine the two, or better ...
4
votes
1answer
4k views

Error when installing Google Chrome on CentOS

I downloaded the 32 bit .rpm (For Fedora/openSUSE) to my CentOS machine. when installing it, I got the following error. $ rpm -ivh google-chrome-stable_current_i386.rpm warning: ...
1
vote
2answers
476 views

Failed dependencies

I am searching for the following : libpython2.5.so.1.0 libtinfo.so.5 python(abi) = 2.5 I searched , but I am not able to find these. I am running Centos 5.6 with linux kernel 2.6.18-238.el5. $ ...
3
votes
6answers
6k views

Python 2.7 on CentOS 5

Are there any half-official repositories for CentOS 5 with Python 2.7? EPEL provides only Python 2.6
1
vote
2answers
3k views

Encountering this error /usr/bin/ld: final link failed: No space left on device

/usr/bin/ld: final link failed: No space left on device is the error coming when I'm trying to complie Open Source code project I have about 7GB free space over the Disk so I think that cannot be the ...
2
votes
2answers
2k views

How should I search for packages to install on CentOS 5.5?

Backstory: Recently, it was explained to me that to upgrade any package via terminal on a linux machine, I will need to use the distributions package management system to install or upgrade the ...
0
votes
2answers
700 views

installing centOS as second OS on laptop

I am going to install CentOS 5.6 by bootable dvd and I arrive at the Installation Method stage that forces me to choose one item to identify CentOS packages. My CentOS iso file exists on my hard drive ...
0
votes
3answers
223 views

Building from Source on CentOS 5 or newer

I've got a few applications of which I've got to build from source files in order to make it work on CentOS (the programs do not exist in the yum repos). I may be missing something, but unlike Debian ...
2
votes
1answer
1k views

Upgrade to Mozilla Firefox 5.0 using terminal on CentOS?

On the screenshot below is an icon squared in red. Clicking it will launch Mozilla Firefox 3.0.18. I want to upgrade Firefox to version 5.0 so that clicking the same icon should launch the new ...
0
votes
1answer
1k views

How to secure CentOS and FreeBSD by disabling USB ports and VGA output on-site?

Is it possible to disable USB ports and CDRom and VGA output in the Dell R310 from CentOS or FreeBSD (without BIOS)? A demo server is running in a customer test laboratory, where they can simply get ...
4
votes
1answer
485 views

How can i dump /tmp/files in CentOS to Dropbox using crontab?

How can i dump files from my CentOS box to Dropbox account? As regular nightly backup task.
2
votes
1answer
622 views

yum proxy http errors

I've a VM running Centos 5.5 and I'm trying to get yum to update via a company proxy. I can browse the web within the VM using the proxy setting , but I cannot get yum to use the proxy. I'm getting ...
1
vote
3answers
339 views

How to install CentOS 4.7?

I am trying to install CentOS 4.7. When I get on to the mirror site, it offers me different binaries, bin1of5, bin2of5,bin3of5, etc. I just want the basic version. Which one should I download? Thank ...
0
votes
1answer
162 views

Compiling Source Code Error

While I'm compiling a open source project on Cent OS 5.5 I'm getting error "cc1plus warnings being treated as errors". Why and how to solve this problem.
0
votes
1answer
2k views

Connecting to FTP sites via squid

I'm using the squid proxy on CentOS but, I can't connect to FTP sites from WAN. I did open FTP ports in the firewall on CentOS. However, I receive a "Page cannot be displayed" error when I try to ...
4
votes
4answers
2k views

Ubuntu vs. CentOS and Binary Compatibility

I am trying to install software that is built on CentOS 4.7. Do you know if it will also run in Ubuntu? I read CentOS is 100% binary compatible. Is the same true for the most recent version of Ubuntu? ...
0
votes
1answer
635 views

Centos/RHEL 5.5/5.6 supported SCSI adapters

We have a batch of SuperMicro 6014H-82 servers that have Adaptec 2015S SCSI controllers fitted. Unfortunately, according to the bug tracker (0002087: CentOS installer won't detect harddrives) it looks ...
2
votes
1answer
270 views

Apache mail sending flowchart / workflow?

I am currently trying to get my head into learning how Linux systems send mail, starting from Apache, to Sendmail and finally out the door. Specifically I'm using CentOS 5 which is using Sendmail, ...
2
votes
1answer
654 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 ...
1
vote
1answer
584 views

How to access shared locations on a windows machine from a linux machine via terminal?

I’ve setup a Virtual CentOS machine and set up a bridged network and static IP so that it can communicate with other Windows machines in the network. Currently, to access any shared directory, I ...
2
votes
1answer
3k views

How to fix possibly wiped MBR after centOS install?

I think I have messed this one up royally... I have done a clean install of centOS 5.6 (x86_64) on my system. I got through the installation process successfully and rebooted. Now I am greeted with ...
4
votes
2answers
745 views

Limiting the Size of Apache HTTPD Memory Footprint

I have a web server running Cent OS 5 with Apache. I have over 1GB of Ram and the MaxSpareServers set to 15. This would be fine under most situations, but for some reason my httpd processes are ...
1
vote
2answers
6k views

How can I install VLC 1.1.10 or 1.1.9 in CentOS 5.6 or CentOS 6.0?

On the VLC download site there is no CentOS 5.6 or 6.0 downloads rpm's. Which RPM can I use to have VLC 1.1.10? In case it's not available, can I simply use the same Fedora downloads? [root@www ~]# ...
3
votes
1answer
947 views

ls -a not showing folder “system”, but echo * shows it

When I create a folder named system in my home folder, or in /tmp (can't try other locations as I am not root, but owner confirmed same problem even on root), ls -a will not show it. Also tried ...
0
votes
1answer
499 views

In my Dell R310 server, i would like to install CentOS, but for RAID1 what special care i need?

I have my Dell R310 server to install CentOS latest version, it has 2 hot plug disk drive, about 250GB of each. - But i need to install RAID1 on it. My question is for RAID1 installation with ...
2
votes
1answer
2k views

Unable to make outbound SNMP connections when IPTables is enabled

I have a bunch of windows servers configured with the windows SNMP agent. Each server has four IP addresses and SNMP listens on all of them. There is something very odd with my monitoring server ...