INSTALLATION

Download & Install

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

2.         Install CentOS6 . . .

描述: 描述: 描述: 描述: C:\Users\Hong-Yi\Desktop\centos6.files\image001.jpg

Click ‘Configure Network’ at left bottom

描述: 描述: 描述: 描述: C:\Users\Hong-Yi\Desktop\centos6.files\image003.jpg

Select your network device and click ‘Edit’

描述: 描述: 描述: 描述: C:\Users\Hong-Yi\Desktop\centos6.files\image005.jpg

Check ‘Connect automatically’

描述: 描述: 描述: 描述: C:\Users\Hong-Yi\Desktop\centos6.files\image007.png

Install GUI (x-windows): Select ‘Minimal’ from top panel and select ‘Customize now’ at the bottom, and then click ‘Next’

 

Install Text-based Interface: Select ‘Minimal’ from top panel and click ‘Next’

 

描述: 描述: 描述: 描述: C:\Users\Hong-Yi\Desktop\centos6.files\image009.jpg

Install GUI (x-windows): Select ‘Desktops’ from the left panel and then select ‘Desktop’, ‘Fonts’, and ‘X Window System’ from the right panel (The left figure is for your reference)

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

Repositories

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

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

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