Thursday, April 26, 2012

Install Chromium/Google Chrome on Fedora 16


cd /etc/yum.repos.d/


wget http://repos.fedorapeople.org/repos/spot/chromium/fedora-chromium-stable.repo


yum install chromium






Saturday, April 7, 2012

Stop/Kill a process in linux

Find out the PID of the process by the command ps

then

kill -SIGKILL `pidof process-name`

Install VirtualBox Guest Additions on Linux



After you have installed your Linux Guest system, there are a few additional packages needed for the Guest Additions. These packages enables you to create kernel modules. For Debian and Debian based distro's like Ubuntu, you need the following packages:
dkms
build-essential
linux-headers-generic (Ubuntu)
linux-headers-{amd64 OR 686-pae OR 486} (Debian)

apt-get install dkms build-essential linux-headers-generic
Check the version you need with uname -r.

Mandriva users run the following:

urpmi dkms gcc make libgomp1 glibc-devel kernel-devel kernel-headers

Fedora users need the following packages:
dkms
binutils
gcc
make
patch
libgomp
glibc-headers
glibc-devel
kernel-headers
kernel-devel OR kernel-pae-devel

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
Or alternatively:

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-pae-devel


SuSE users need the kernel-source and kernel-syms.

You have to make sure that the kernel-headers and/or kernel-source are of the same version as your running kernel. It's best to do a full system update and reboot before trying to install the Guest Additions. Additionally, installing DKMS before the GA is also recommended so you don't need to manually install the GA again after a kernel update. Note: Not all distributions have DKMS in their repo. Either continue without, or install them manually from source.

Note: If you run a different kernel flavour, you need to install the packages corresponding to that flavour. You can always find out which kernel you are running by issuing uname -r.