INSTALLATION

Download & Install

1.         Download CentOS5-x86_64-bin-DVD.iso (64 bits) from NCHC or YZU or ISU

2.         Install CentOS5

3.         Reboot your system

4.         login as “root”

(go to “Applications” and then “Accessories” and select “Terminal”)

In the Terminal run the following command

Setup Autoupdate

echo "0 3 * * * root /usr/bin/yum -y update" >> /etc/crontab

3rd Repositories

1.         EPEL (Extra Packages for Enterprise Linux)

x86_64

rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

i386

rpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

2.         Adobe Flash Player (Entertainment)

x86_64

rpm –ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

i386

rpm –ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

Adobe Flash Player

yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl

3.         Yum Priorities (Some people think it is useful)

yum –y install yum-priorities

Setup priorities

vi /etc/yum.repos.d/CentOS-Base.repo

[base]

name=.....

mirrorlist=.....

$baseurl=.....

gpgcheck=.....

gpgkey=.....

priority=1

 

[addons],[updates],[extras]... priority=1

[centosplus],[contrib]... priority=2

Third party repos such as rpmforge... priority=N (where N is > 10)

 

Administrative Tools

1.         User friendly interface

yum –y install wget

wget -q https://dl.dropbox.com/u/11550603/download/gnome-terminal.sh -O gnome-terminal

chmod 755 gnome-terminal

./gnome-terminal

cp gnome-terminal /etc/skel/

echo "./gnome-terminal" >> /etc/skel/.bash_profile

2.         Add new user

adduser –c ‘[full name]’ [name]

passwd [name]

3.         Delete user

userdel *user*

4.         RPM Binary packages (manually)

rpm -ivh xxx.xxx.xxx.xxx/.../x86_64/epel-release-xxx.rpm

RPM Upgrade packages

rpm -Uvh xxx.xxx.xxx.xxx/.../x86_64/epel-release-xxx.rpm

PRM Remove packages

rpm –e epel-release

5.         SRC.RPM Source code package

yum –y install rpm-build

rpmbuild –-rebuild rasmol-2.7.5-7.fc18.src.rpm

cd rpmbuild

cd RPMS

cd x86_64

rpm –Uvh rasmol.2.7.5-7.fc18.x86_64.rpm