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

learn more… | top users | synonyms

1
vote
3answers
475 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 ...
2
votes
1answer
908 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
1k 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
2answers
515 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 ...
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. ...
9
votes
1answer
591 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
1
vote
1answer
321 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 ...
6
votes
1answer
764 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 ...
2
votes
1answer
555 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??
1
vote
1answer
151 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 ...
3
votes
1answer
3k 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 ...
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 ...
3
votes
1answer
1k 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 ...
1
vote
1answer
557 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 ...
0
votes
1answer
63 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
517 views

How to get started with CentOS?

I've been working with Debian GNU/Linux for a long time and am very proficient with it. However for a new project I've got to got familiar with CentOS ASAP. So my Question is: How do I get started ...
2
votes
5answers
4k 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 ...
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 ...
2
votes
2answers
422 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 ...
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
678 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 ...
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 ...
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?
3
votes
1answer
621 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
917 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
708 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 ...
5
votes
5answers
3k 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
3answers
3k views

Install Git on CentOS 5.5

I have added EPEL repo and here goes... # yum install git-core Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.team-cymru.org * base: yum.singlehop.com * ...
3
votes
2answers
1k views

Using YUM or installing APT on CentOS

I am having trouble with a centOS machine I am using. I need some packages, including john the ripper, but yum cannot find the packages. When I type sudo yum install john, I get back the nothing to ...
-1
votes
1answer
611 views

Gifsicle on CentOS? x86_64

I am trying to install Gifsicle on my server which is CentOS x86_64. I do not know which package to use or how to install it. Can someone with experience help me out? http://www.lcdf.org/gifsicle/
0
votes
1answer
260 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: ...
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: ...
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 ...
1
vote
2answers
473 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. $ ...
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
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 ...
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
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
2answers
2k views

Centos: Adduser/Passwd/Sudoer Script

I'm currently running a VPS on CentOS. I have an application running in the background and it will run a script under sudo to either disable or enable any account. So what I'm trying to create is a ...
2
votes
1answer
617 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 ...
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.
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? ...
1
vote
1answer
567 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 ...
2
votes
3answers
2k views

installing ffmpeg-php on centos

With the help of this guide, I am trying to install ffmpeg using these commands: # cd ffmpeg-php/branches/ffmpeg-php/ffmpeg-php-0.6.1/ # replace 'PIX_FMT_RGBA32' 'PIX_FMT_RGB32' -- * # phpize # ...
0
votes
1answer
498 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 ...
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 ~]# ...