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

learn more… | top users | synonyms (2)

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
3k 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
822 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
242 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
513 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
690 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
358 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
182 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
3k 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
3k 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
707 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
294 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
688 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
785 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 ...
3
votes
1answer
4k 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
862 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 ...
3
votes
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
1k 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
527 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 ...
0
votes
1answer
773 views

mon linux monitor install on centos - can't find glib.h although present

I am trying to install the linux_monitor package under Centos 5.5. When I try make I get: make[3]: Entering directory `/tmp/linux_monitor-2.0RC3/src/server' if gcc -DHAVE_CONFIG_H -I. -I. ...
-1
votes
1answer
770 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/
1
vote
2answers
2k views

Python library conflict with lower version

I am trying to reinstall yum in CentOS. Because I made some mistake by removing python. so I got error as follows There was a problem importing one of the Python modules required to run yum. The ...
1
vote
3answers
5k views

sudo does not allow me to run cp

Executing the following command on a CentOS 5 box: $ sudo cp file1 file2 gives me the following error: Sorry user my_username is not allowed to execute '/bin/cp file1 file2' as root on ...
3
votes
3answers
218 views

Which Red Hat Enterprise Linux packages for CentOS?

I want to use a Red Hat Enterprise Linux RPM software package on CentOS 5.6, but I don't know which version of RHEL works with CentOS 5.6. RHEL 4 = CentOS 4? RHEL 5 = CentOS 5? ...
1
vote
3answers
678 views

How to set Internet Protocol properties using terminal?

When I set up a Virtual Machine with windows (using VMPlayer), I set the Network Connection properties from the VM settings from NAT to bridged. Then I proceed to set the following IP Properties in ...
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 ...
0
votes
2answers
168 views

symbolic link to a large file

I have a large(1 TB) file that I would like to download from the centos server via http, should I create a symbolic link to the file to the http file directory? would the link work? the file is too ...
0
votes
1answer
399 views

Problem with RAID5

I have a CentOS server with RAID5. Every time RAID5 re-syncs my server stop working. The hosting company stopped the httpd service so that RAID5 can re-sync itself, a process which can take as long as ...
12
votes
2answers
29k views

How to change the hostname of a linux machine using terminal?

I logged in for the first time, opened terminal, and typed in ‘hostname’. It returned ‘localhost.localdomain.com’. Then I logged as the root user in terminal using the command, ‘su –‘, provided the ...
1
vote
2answers
1k views

install rtorrent failed using yum install rtorrent in CentOS

I want to install rtorrent as a client (NOT SeedBox). I tried the following command: yum install rtorrent I get following message: Loaded plugins: fastestmirror Loading mirror speeds from cached ...
0
votes
1answer
843 views

RHEL/CentOS: Installing a new version of Java, why not just change the path?

I am installing a new version of Java on a CentOS/RHEL Linux distro for a single developer to develop java. The way I want to install on this development system is to just put the new java version ...
2
votes
1answer
888 views

CentOS 5.6 x86 64 Not seeing all my memory

So I installed CentOS 5.6 on a box at my house and it is not recognizing all my memory. I have 2gb in the machine but when you run a 'free -m' or a 'top' or a 'cat /proc/meminfo' it only shows that ...
1
vote
3answers
3k views

How to kill a printing job on centOS

How does one kill a printing job on centOS?
0
votes
1answer
2k views

Centos 'Login incorrect' problem

When I type my username and password into the login field, I receive the following error: Login incorrect How can I solve this problem? I am using CentOS.
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 ...
5
votes
1answer
6k views

What is a Transaction Check Error ? (yum update)

I tried today to replace packages from atomiccorp's repositories with newer packages from the epel/remi repositories and received Transaction Check Errors. I cannot proceed with my update. Install ...
3
votes
1answer
513 views

good unix troubleshooting book [closed]

I've been trying to learn *nix and I think I'm doing pretty good as far as basic commands, and I think I understand a lot of the "monitoring" type commands etc... in short, I think I'm doing okay with ...
-1
votes
2answers
264 views

CentOS command issue

This is what I am trying to run in VMware using CentOS 5 /pwnat: invalid option -- p usage: ./pwnat <-s | -c> <args> -c client mode (default) <args>: [local ip] ...
3
votes
1answer
388 views

1000 iptables entries on CentOS?

I just got a new dedicated server with CentOS and I'm trying to debug some network problems. In doing so, I found over one thousand iptables entries. Is this the default on a CentOS system? Is there ...
1
vote
1answer
1k views

Reading audio stream data from internet radio and pushing it to temporary file

I'm in the process of setting up an audio processor on my remotely hosted CentOS box. The audio processor itself is command line based, and after speaking with the author he explained to me that it ...
2
votes
2answers
1k 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 ...
6
votes
2answers
2k views

Why is there a discrepancy in disk usage reported by df and du? [duplicate]

I have a Linux(CentOS) server, the OS+packages used around 5GB. Then, I transferred 97GB data from a Windows server to two folders on this Linux server, after calculated the disk usage, I see the ...
1
vote
1answer
1k views

Clone OS to a smaller drive

I would like to copy/clone/move my CentOS (which is on a 20GB hard drive) to a smaller hard drive (5GB)... Can someone tell me how to do this?
10
votes
3answers
854 views

Why are files in my home dir being created as world-writable despite a more-restrictive umask?

I've realized that the permissions for new files and directories behave a bit strangely. First of all, umask seems to return the right answer: $ umask 0002 This means full access for my user and ...
2
votes
1answer
4k views

How to install java on CentOS VPS through ssh

I wrote a little Java servlet and, in order to run it, acquired a VPS which runs Centos 5. Now, in order to run it, I guess the first thing to do is to install the latest JRE. I have ssh access and ...
2
votes
3answers
2k views

Centos or Scientific Linux

When I need to create a new server I've always chosen Centos mainly for it's compatibility with Red Hat which i consider the standard de-facto for the general purpose linux server. Now the problem is ...