CentOS stands for Community ENTerprise Operating System, the most popular Linux distribution for web servers with almost 30% of all servers using it. Third-party software is not included in the base.

learn more… | top users | synonyms

14
votes
3answers
40k views

How to upgrade CentOS 5.6 to 6.0?

I am using CentOS 5.6 on my desktop and would like to upgrade to CentOS 6.0. I tried changing the yum repos to point to CentOS 6 but no luck. How can I do the upgrade?
3
votes
3answers
5k views

Which linux command to use to know how much RAM consumed by each process

I have tried top and PS command but i am not able to find the RAM used by each process. top command says that 240MB RAM used but the Memory shows 0% for all the processes, same with ps. i want to ...
1
vote
2answers
658 views

How many files should be listed as open under lsof?

I am not an advanced Linux user. I have a VPS with 768MB of RAM running CentOS. I executed the lsof command as root and I see that there is a list of 3000 files. Usually, how many files should be ...
0
votes
1answer
1k views

Can I simply copy jre folder to another location?

I downloaded the bin file, and installed it but I haven't realized that I made the folder in the current directory. I would like to install in /usr/java. Can I now just copy paste it there. Or I ...
2
votes
1answer
862 views

TightVNC server issues

I'm trying to get a friend's server started for them. It's running on the same hardware platform as one that I personally use, so I figured it would be easy. They're running CentOS, and I'm trying to ...
1
vote
1answer
1k views

How to fix CentOS 5.5 update dependency?

It always has this problem. --> Finished Dependency Resolution perl-AnyEvent-5.240-1.el5.rf.noarch from rpmforge has depsolving problems --> Missing Dependency: perl(Net::SSLeay) >= 1.33 ...
14
votes
4answers
4k views

Linux software for periodical work break [closed]

I am using Cent OS 5. I am looking for an app which will alert me after some time to take break. So I can use computer as healthy computer usages ?
0
votes
1answer
966 views

How to remove SSH port forwarding

The following command has been executed on our server, Nexus, to forward remote desktop connections to remote machine Lagos-B: screen -S rdp ssh -L [*]:886:10.1.100.91:886 root@lagos-b -N I need to ...
3
votes
3answers
12k views

How to diagnosis and resolve: /usr/lib64/libz.so.1: no version information available

I had a hell of a time installing lxml for Python 2.7 on CentOS 5.6. For some background, Python 2.7 is an alternative installation of Python on CentOS 5.6 which comes with Python 2.4 installed. it ...
0
votes
1answer
49 views

Usb mouse response slowly on first time boot-up

I am using Cent OS . When I start Cent OS first time in the day. The usb mouse works very slowly nearly with nonresponse. But when I restart my system it works fine. It is happening every day. ...
2
votes
3answers
8k views

Connect to CentOS httpd server running on VMware Player?

I have a virtual LAMP machine set up with 32-bit CentOS 5.5 running on VMWare Player. It's being hosted on a Win 7 64-bit machine running a bridged network connection. Everything seems OK on the guest ...
0
votes
1answer
1k views

how to create a service for node.js in centOS

I am trying to turn my node.js server into a service. I have tried a few different ways, but have not had any success yet. Is there anyone who is able to help me out with this? Thanks!
1
vote
1answer
599 views

cgroups in CentOS

I am using a KVM to manage my VMs. I would like to limit the CPU usage of a particular VM (set a cap on the VM). I was using xen all along, and was able to do this using credit scheduler. I am new to ...
3
votes
1answer
271 views

Install rpm packages using file globbing with errors

I found a rpm feature. If you rpm install * and one of the packages fails to install then none of the remaining packages will be installed. Does anyone know how to use rpm to install packages with ...
1
vote
3answers
4k views

Loading Jquery plugin on Linux

I'm running CentOS 5.5 64bit - Trying to load a jquery plugin from a PHP file. The line I am using is... <script type="text/javascript" src="/tools/jquery.js"></script> ...This does ...
0
votes
1answer
898 views

Xen not running hvms (but CPU supports vmx)

I am trying to create an HVM DomU on a Centos5 system. When I run the command virt-install -n build1a -r 2048 --vcpus=4 --os-type=linux --hvm --disk path=/dev/guests/build1a --network=bridge:eth0 --...
3
votes
2answers
3k views

Available Disk Space always 0%

I am running centos 5. So far, it gives no problem but just yesterday, when it reported "no free space" for file writing, I try to remove some file as usual. Unfortunately this time no matter how ...
0
votes
2answers
4k views

How can i install the right version of autossh on CentOS?

I need to know what version of centos installed and need to install autossh in centos.
0
votes
1answer
551 views

CentOS chmod overiding set-group-ID?

I'm used to setting up SGID on a directory chmod -R g+s example and then chmdo -R 750 example And have the directory and all sub-directories preserve the set-group-ID. On CentOS SGID gets ...
1
vote
1answer
60 views

How to dump data to DVD when the disk space reach 80% on RAID 1, and clean the dumped space from disk after burn

How to monitor in unix (FreeBSD) /linux (CentOS 5.6) the disk space if its greater or equal to 80%? If its equal or greater then 80%. How can i tell dump the data from a specific /misc/ folder to ...
3
votes
2answers
168 views

I have a load of ports i dont know what they do are open on my server

i ran this command netstat -apne --inet and apart from smtp, https, http, i had these ports open tcp 0 0 xx.xx.xx.xx:48641 yyy.yyy.yyy.yyy:80 TIME_WAIT 0 ...
2
votes
1answer
56 views

Is there any way to find how RAM my VPS uses on average?

I have a VPS system with 768MB RAM. Is there any way to find out what the average amount of RAM I normally use is which processes normally use high RAM and CPU so that I can see if i need to ...
3
votes
3answers
755 views

Control gzip compression rates while archiving files with tar?

I have a script which periodically backs up a directory using the command "tar -czvf [name] [directory]" but my problem is that the script has recently been putting a lot of stress on the server (...
1
vote
1answer
1k views

ulimit soft limit for file descriptors - for a non-root user on CentOS 5.6

I am needing to increase the soft limit for "file descriptors", and make it effective for a non-root user (lets say user1). Ran these commands, while logged in as user1: >ulimit -a core ...
16
votes
8answers
81k views

How to install pip and easy_install on CentOS

I tried to install pip and easy_install on my CentOS but could not find them. How can I install them? Also, I have two versions of Python, 2.4 and 2.7. How will pip make sure to link newly installed ...
0
votes
1answer
907 views

Scheduled process killing and restart

I have to write a script for a CentOS server which will kill and restart a process every three days. After killing the process it needs to execute another script and start the killed process. ...
0
votes
1answer
837 views

ecryptfs in centos

I am trying to install ecryptfs on Cent0s 5.5. Thee process is: yum install ecryptfs-utils It seems to run fine. However when I do modprobe ecryptfs It returns FATAL: Module ecryptfs not ...
0
votes
1answer
1k views

Install Codendi on CentOS

I want to manage my project using project management software. After reading about Codendi, I try to install Codendi 4.2.3.10 on CentOS 5.6 using VirtualBox 4.0.2. Here's the situation: I'm totally ...
1
vote
0answers
272 views

CentOs 5 - rsh - poll:protocol failure in circuit set

There are some python scripts in my workspace which test a couple of features, and one of this scripts, in a small period of time, calls a lot of rsh commands. When trying to run this one, I'm ...
5
votes
2answers
14k views

“bad interpreter: Permission denied” How can I prevent this error?

I want to run program directly such as ./program without define the interpreter in shell first. so, how can i want to prevent this error? bad interpreter: Permission denied My operating system ...
2
votes
5answers
2k views

why do I need the “sudo” in this particular command?

sudo yum install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel for installing required packages for Thrift on CentOS 5.. is it ...
-2
votes
1answer
3k views

How can I install Internet Explorer in Linux? [duplicate]

Possible Duplicate: how to install internet explorer in linux How to install Internet Explorer in CentOS? What are the supporting files to be installed for that?
0
votes
1answer
474 views

Ohphone - where to download for CentOS/Fedora distributions?

I'm using a project which mentioned I need to used ohphone. However I can't find any Fedora/CentOS versions of ohphone that work with OpenH323. Does anyone know where I could find that?
4
votes
3answers
26k views

How do I create a service using chkconfig in CentOS?

I want to be able to create a service so that the bash script will run every time the server boots up. I am running CentOS 5. I have been reading about chkconfig and creating a file in /etc/init.d ...
5
votes
2answers
4k views

how to find which process had created any file in Linux

Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?
0
votes
1answer
348 views

Centos has logs with two “hours”, UTC and GMT, why?

my logs contain currently two timezones, do you have an idea from where it comes and how to fix this? It's the first time I see this on a system. The system is running inside a Virtuozzo container ...
3
votes
1answer
25k views

How to uninstall Nginx (installed from source) on CentOS?

I compiled Nginx now I want to remove or uninstall it. How can I do that? I usually don't install software by compiling it from source.
2
votes
5answers
10k views

Uninstall / remove RPM

I've installed CentOS 5 on an old IBM ThinkPad. Everything went fine until I had to make the wireless network connection work. After searching Google I realise that I need to install RPM. ...
1
vote
2answers
415 views

How to make my PHP script use the second hard-disk?

I have two SATA hard-disk drives attached to my server as shown in the following : [root@cl-185 /]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 222G 166G 45G ...
0
votes
1answer
456 views

How to install H.239? From the H323plus or openh323gk or where?

I have downloaded this, but i dont see in the ./configure output anything related to h.239. Any idea? downloaded ex: http://waix.dl.sourceforge.net/project/openh323gk/Sources/2.3.3/ config.status: ...
2
votes
3answers
1k views

Execute a command after sudo

The Background I am working in a CentOS environment with numerous CentOS machines. Currently there are multiple developers that each have their own login/home directory and then for various admin ...
2
votes
3answers
7k views

Cant get squid proxy to work

i need squid proxy on my centos server. But i just can't get it to work. I did yum install squid. Here is my squid.conf file (i removed all comments): acl all src 0.0.0.0/0.0.0.0 acl manager proto ...
0
votes
2answers
5k views

vmware player won't run on CentOS due to missing /dev/vmmon, what could be the problem?

So I've tried installing vmware player 3.1.4 and 3.1.3 and both times had the same problem, when I try to load a VM I get the error "Could not open /dev/vmmon". When I ls /dev/ I can see there is no "...
0
votes
0answers
654 views

Linux Boot Console (fbcon) Main Monitor Only

I have a dual monitor setup to my Linux box and am using fbcon to rotate the console to portrait for each display. I'd like to only have the console show up on the primary display though and leave the ...
0
votes
2answers
1k views

Converting Word document to TIFF?

I have a CentOS 5.6 box and was wondering if there are any tools for Linux that can convert a Microsoft Word document to a TIFF file?
0
votes
1answer
838 views

Which RAID for CentOS and Which NAS for CentOS?

I am trying to order a DELL server rack mounted PowerEdge R310 Chassis, Up to 4 Hot Plug Hard Drives and LCD. Question: RAID1 if i use, can i lose a disk and get back data? What happen if i have ...
1
vote
1answer
122 views

how to use aditional ip given with vps

Got a vps today running centos 5. The company gave me 2 ip addy's. I pinged both from my current location and it seems the ping to the 'aditional ip' is much lower. I'm in shanghai and the vps is in ...
1
vote
1answer
4k views

CentOS: installing a PHP module without updating PHP

I am running PHP 5.3.5. Now I need to install the php-mbstring module. When I run: yum install php-mbstring I am asked to update PHP: Installing: php-mbstring ...
0
votes
1answer
638 views

Removing/Disabling Firewall on Linux CentOs seem to happen temporarily

I tried following the instructions in this link to disable and remove iptables firewall using commands: # service iptables save # service iptables stop # chkconfig iptables off # iptables -F # ...
0
votes
2answers
1k views

problem running utorrent server on cent os 5.5

i am trying to run utorrent server on remote machine via ssh µTorrent server version :alpha (3.0 build 25053) it throws error at startup ./utorrent-server-v3_0/utserver: error while loading shared ...