General Installation Guide of CentOS 5.3 (x86_64) for eClass Server

raspgiantsneckServers

Dec 9, 2013 (3 years and 6 months ago)

112 views


P.
1

Updated on
5 Aug 09



General Installation Guide of
CentOS

5
.
3

(x86
_64
) for eClass Server


1
.
Download

and create CD from
CentOS
ISO
Image

Goto t
he following URL to
d
ownload
either
CD ISO

or
DVD ISO


DVD
Image

http://ftp.cuhk.edu.hk/pub/Linux/centos/5.3/isos/x86_64/CentOS
-
5.3
-
x86_64
-
bin
-
DVD.
iso


CD

Image

(
Seven

CD
file
MUST

be download)

http://ftp.hostrino.com/pub/centos/5.3/isos/x86_64/CentOS
-
5.3
-
x86_64
-
bin
-
1of7.iso

http://ftp.hostrino.com/pub/centos/5.3/isos/x86_64/CentOS
-
5.3
-
x86_64
-
bin
-
2
of7.iso

http://ftp.hostrino.com/pub/centos/5.3/isos/x86_64/CentOS
-
5.3
-
x86_64
-
bin
-
3
of7.iso

http://ftp.hostrino.com/pub/centos/5.3/isos/x86_64/CentOS
-
5.3
-
x86_64
-
bin
-
4
of7.iso

http://ftp.hostrino.com/pub/centos/5.
3/isos/x86_64/CentOS
-
5.3
-
x86_64
-
bin
-
5
of7.iso

http://ftp.hostrino.com/pub/centos/5.3/isos/x86_64/CentOS
-
5.3
-
x86_64
-
bin
-
6
of7.iso

http://ftp.hostrino.com/pub/centos/5.3/isos/x86_64/CentOS
-
5.3
-
x86_64
-
bin
-
7
of7.iso



If the above links is returns e
r
ror, please
Try others CentOS

ISO mirror site via this link

http://www.centos.org/modules/tinycontent/index.php?id=32


Burn th
e ISO image to CD / DVD using image

burning software (such as ImgBurn
http://www.imgb
urn.com/
)



2
. Prepare to install your Linux

Insert
CentOS

Disk 1
and boot your server from
CD
/DVD
-
ROM.

Please make sure
your computer BIOS set
f
irst boot devices as “CD
-
ROM”


3
. Start to choose your options

When you see “
boot
”, press “
Enter
”, click “
Skip
”, wait until the
CentOS

welcome
graphical interface appear, click “
Next
”.


(If “
No devices found to install
CentOS
” dialog appear,
w
hich means

1.
CentOS

required additional RAID
/SCSI

C
ontroller

Driver
(
s
)

for mounting local logical
storage devices
,

which

C
entOS

does not recognized

OR

2.Your RAID
/SCSI

Controller was

no longer supported by
CentOS

due to

disc
ontinues
of

vender
’s

driver
support


P
lease consult your
RAID/SCSI controller

vender’s website for
CentOS

supported
driver

and
/or

materials
)


P.
2

Updated on
5 Aug 09


(The Installa
tion Process will fall back to text mode if no suitable
VGA
display

driver
found on
CentOS

CD)


4
. Language Selection

Select “
English


(NOT Traditional Chinese)
, click “
Next
”.


5
. Keyboard Configuration

Accept default setting, click “
Next



6
. Disk partiti
oning setup

6
.1
Select

create custom layout


and click

Next


6.2

I
f hard disk already contains partition which used previously (by Windows or Linux).
Click on device name (e.g. /dev/sda) and Click
REMOVE

to remove all partition
first.


6
.
3

Please setup u
p the following
FOUR

partitions and corresponding size


Click
Add
-
>
Set Mount Point
-
> Set Size
-
> Format as <FSType>
-
> OK


(Assume the size of your harddisk greater than 40G):



Partition
(mount point)

FS
Type



Size

(i)

/





ext3




Around
30
G

(ii)

/boot




e
xt3




200
M




(iii)

/home




ext3




Remaining Harddisk Space

(iv)

/swap




swap



Your Physical Memory * 1.5

(e.g.
2048
MB * 1.5 =
3072MB
)

6.4
Click “
Next



7
. Configure Network Devices


(Please
r
efer to your school’s network configuration to assign proper IP addre
ss for
Ethernet In
t
erface)

7
.1
Uncheck

the box of “
Active on boot

for disable

eth0 DHCP

function

7
.2 Click “
Edit
” button, a dialog box will pop up

7
.3
Check

the box


EnableIPv4 support


7
.4
C
heck

the box of “
Manual Configuration


7
.5 Enter the IP Address:

<<e.g.
192.168.0.206
>>

7
.6 Enter the Netmask: <e.g.
255.255.255.0
>>

and click

OK


7
.7 Enter the Gateway: <<e.g.
192.168.0.254
>>

7
.8 Enter the hostname manually: <<e.g.
eclass

>>

7
.9 Enter the Gateway: <<e.g.
192.168.0.254
>>

7
.10 Enter the Primary DNS: <<
e.g.
210.0.128.250
>>

7
.11 Enter the Secondary / Tertiary
DNS

if available

7
.1
2

Click “
Next



8
. Time Zone Configuration


P.
3

Updated on
5 Aug 09


Select “
Asia/Hong Kong
” from the menu, click “
Next



9
. Set Root Password

9
.1 Type for the “Root Password:

9
.2 Re
-
type root password

9
.3 Click “
Next



1
0
. Package Installation Defaults

1
0
.1 Select “
Customize
now


and click

OK


1
0
.2

Tick

all the following packages for your installation

(Desktop package is
optional)


Desktops

X Windows System (optional)

GNOME Desktop Environment (optional
)


Servers

Server Configuration Tools

Web Server

Mail Server

Windows File Server

FTP Server

MySQL Database

Network Servers


Development

Development Tools (THIS PACKAGE MUST BE SELECTED
. OS reinstallation
required if we found this package is missing after i
nstallation
)


System

Administration Tools

System Tools


1
0
.3 Click “
Next
” and “
Next
” to confirm installation


1
1
. Installing packages

At this step, you are required to wait and insert CentOS
Disk

until the installation
complete and reboot after installatio
n process.


1
2
.

Firewall Configuration

1
2
.1 Choose “
No firewall

, click

Forward


1
2
.2 Choose
Disable
on SELinux option

1
2
.3 Click “
Forward




P.
4

Updated on
5 Aug 09


* eClass server is expected to be protected by the software or hardware firewall on
your network
, but not iptables
.


1
3
.
Date and Time

Configuration

1
3
.1
S
etting

date and time
, click “
Forward



1
4
. Create System Users

Create User Account
(*eclass account must create)

(i)


Enter

<<e.g.
eclass

>>


for the User name

(ii)

Enter

<<e.g.
e
C
lass

>>


for the Full name

(iii)

Enter

<<e.g
.
cwbtls28
>>


for the Password

(iv)

Enter

<<e.g.
cwbtls28
>>


for confirm Password


Finish setup, click

Next



1
5
.
Sound Card

Configuration

1
5
.1 Accept default setting, click “
Forward



1
6
. Installation Complete

Congratulations! Your CentOS installation is com
pleted. Once you have make sure the
eClass server SSH services (port 22)

IS ACCESSABLE
from external network.
Please contact our CS hotline 2136 3170

for remote eClass installation arrangement
.


1
7
.
Change
Linux
Networking Settings

(Optional)

1
7
.1 Use root

account to login Linux console

1
7
.2 Type “
setup
” to enter Text Mode Setup Utility and Select “
Network
configuration”

1
7
.3 Type
-
in the required network information

1
7
.4 Use
Tab

to Select “Quit” button and quit Text Mode Setup Utility

1
7
.5 To activate new n
etwork configuration, please reboot Linux
OR
Type “
service
network restart


1
7
.6 Use
Linux command

ifconfig

/ “
route

-
n

/

cat /etc/resolve.conf


to confirm
Linux network information
(IP, subnet mask / default gateway / DNS)
was entered
correctly


1
8

H
ow to Check Y
o
ur OS installed correctly?


1
8
.1

Is the server services allow external IP access?


Goto
http://ping.eu/

, input server IP, select

Port Check


and test port. Port 22 and port 80
must be OPEN