Posts

Showing posts from October, 2011

How to install CVS on centOS / RHEL 5

Here I am trying to guide you, to install CVS within a few minutes without any hassle. here we go....... Install cvs yum install cvs Logged in as root Add group cvs # groupadd cvs Add user cvs #useradd -g cvs cvs Create repository cvs -d /path_to_repository init Change ownership of cvs repository to cvs chown cvs:cvs /Path_to_cvsroot cat /etc/services and check is there followings exist cvspserver 2401/tcp #CVS Pserver cvspserver 2401/udp #CVS PServer If not add them into /etc/services Edit /etc/xinetd.d/cvs service cvspserver { disable = no port = 2401 socket_type = stream protocol = tcp wait = no user = root passenv = PATH server = /usr/bin/cvs env = HOME=/path_to_repository server_args = -f --allow-ro...

Device or resource busy ,when trying to unmount usb device

When you trying to unmount you will get a warning as followed. umount -f /mnt/Mounted_directory/ umount2: Device or resource busy umount: /mnt/Mounted_directory: device is busy umount2: Device or resource busy umount: /mnt/Mounted_directory: device is busy use #fuser -km /mnt/Mounted_directory See the man fuser for more details

Metadata file does not match checksum with yum install

When trying to install packages using yum, sometimes you will get following error message. example: http://mirror.centos.org/centos/4/up...rimary.xml.gz: [Errno -1] Metadata file does not match checksum Trying other mirror Most probably it is because of ISPs cache try followings one by one to solve the issue. 1. yum clean all and yum clean metadata 2. yum -y remove yum-fastestmirror 3. export http_proxy=[my actual proxy server]