際際滷

際際滷Share a Scribd company logo
1
3 Installing Linux in a3 Installing Linux in a
Server ConfigurationServer Configuration
P1 Installing Linux as a ServerP1 Installing Linux as a Server
2
N畛i dungN畛i dung
 T坦m t畉t c叩c b動畛c ci 畉t.
 Ki畛m tra s畛 h畛 tr畛 ph畉n c畛ng.
 C畉u h狸nh m畉ng.
 Linux file system.
 Linux boot loader.
 C叩c mode ho畉t 畛ng c畛a Linux.
3
C叩c b動畛c ci 畉tC叩c b動畛c ci 畉t
 Ch畛n l畛a ki畛u ci 畉t:
 T畛 CD local.
 Qua m担i tr動畛ng m畉ng.
 T畛 m畛t volume tr棚n network server.
 D湛ng CD shared t畛 m叩y t鱈nh kh叩c
 Qua FTP, HTTP.
4
C叩c b動畛c ci 畉t (tt)C叩c b動畛c ci 畉t (tt)
 Ki畛m tra s畛 h畛 tr畛 ph畉n c畛ng.
 Ph但n chia partition:
 Ph但n chia t畛 畛ng ho畉c theo 畛nh d畉ng ri棚ng.
 B畉t bu畛c ph畉i c坦 ph但n v湛ng / v /swap.
 Chia c叩c ph但n v湛ng c嘆n l畉i theo nhu c畉u.
 C畉u h狸nh m畉ng.
 Ch畛n l畛a software 畛 ci 畉t.
 Ch畛n l畛a boot loader.
 Ti畉n hnh ci 畉t.
5
H畛 tr畛 ph畉n c畛ngH畛 tr畛 ph畉n c畛ng
 Ki畛m tra s畛 h畛 tr畛 ph畉n c畛ng.
 http://hardware.redhat.com/hcl.
 H畉u h畉t c叩c distribution c畛a Linux t畛 nh畉n
di畛n c畉u h狸nh ph畉n c畛ng nh動: PCMCIA,
CD-ROM, Hard drive, Laptop issues,
Memory, NIC, Modem, Mouse, SCSI
adaptor
 C畉n ch箪 箪 畉n nh畛ng thi畉t b畛 ph畉n c畛ng 畉c
bi畛t, m畛i.
6
Linux file systemLinux file system
7
Linux file systems (tt)Linux file systems (tt)
 M畉c 畛nh, c叩c ph但n v湛ng 動畛c mount tr棚n ph但n
v湛ng /
 /swap: virtual memory.
 /bin: l畛nh quan tr畛ng.
 /boot: file c畉u h狸nh boot loader.
 /dev: file devices.
 /etc: file c畉u h狸nh.
 /home: d畛 li畛u c畛a users.
 /lib: file th動 vi畛n quan tr畛ng, v kernel module.
8
C畉u h狸nh m畉ngC畉u h狸nh m畉ng
 Thi畉t l畉p c叩c th担ng s畛 c畉u h狸nh m畉ng cho
server:
 IP Address
 Netmask
 Gateway IP Address
 Nameserver IP Address
 Domain name
 Hostname
9
Linux boot loaderLinux boot loader
 Boot loader
 LILO
 GRUB
 Boot loader cho ph辿p ch畛n h畛 i畛u hnh
no 畛 boot.
 T畉i boot loader, c坦 th畛 can thi畛p b畉ng
command 畛 thay 畛i c叩c tham s畛 boot.
10
Linux boot loader (tt)Linux boot loader (tt)
 File grub.conf
boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Linux Fedora (2.6.5-1.358smp)
root (hd0,0)
kernel /vmlinuz-2.6.5-1.358smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358smp.img
title Windows 2000
rootnoverify (hd0,0)
chainloader +1
11
Mode ho畉t 畛ng c畛a LinuxMode ho畉t 畛ng c畛a Linux
 Linux c坦 c叩c mode ho畉t 畛ng sau:
 0: shutdown.
 1: single mode.
 2: multi user without networking.
 3: multi user with networking.
 4: unused.
 5: graphic.
 6: reboot.
12
H畛i & 叩pH畛i & 叩p

More Related Content

03 installing linux as a server

  • 1. 1 3 Installing Linux in a3 Installing Linux in a Server ConfigurationServer Configuration P1 Installing Linux as a ServerP1 Installing Linux as a Server
  • 2. 2 N畛i dungN畛i dung T坦m t畉t c叩c b動畛c ci 畉t. Ki畛m tra s畛 h畛 tr畛 ph畉n c畛ng. C畉u h狸nh m畉ng. Linux file system. Linux boot loader. C叩c mode ho畉t 畛ng c畛a Linux.
  • 3. 3 C叩c b動畛c ci 畉tC叩c b動畛c ci 畉t Ch畛n l畛a ki畛u ci 畉t: T畛 CD local. Qua m担i tr動畛ng m畉ng. T畛 m畛t volume tr棚n network server. D湛ng CD shared t畛 m叩y t鱈nh kh叩c Qua FTP, HTTP.
  • 4. 4 C叩c b動畛c ci 畉t (tt)C叩c b動畛c ci 畉t (tt) Ki畛m tra s畛 h畛 tr畛 ph畉n c畛ng. Ph但n chia partition: Ph但n chia t畛 畛ng ho畉c theo 畛nh d畉ng ri棚ng. B畉t bu畛c ph畉i c坦 ph但n v湛ng / v /swap. Chia c叩c ph但n v湛ng c嘆n l畉i theo nhu c畉u. C畉u h狸nh m畉ng. Ch畛n l畛a software 畛 ci 畉t. Ch畛n l畛a boot loader. Ti畉n hnh ci 畉t.
  • 5. 5 H畛 tr畛 ph畉n c畛ngH畛 tr畛 ph畉n c畛ng Ki畛m tra s畛 h畛 tr畛 ph畉n c畛ng. http://hardware.redhat.com/hcl. H畉u h畉t c叩c distribution c畛a Linux t畛 nh畉n di畛n c畉u h狸nh ph畉n c畛ng nh動: PCMCIA, CD-ROM, Hard drive, Laptop issues, Memory, NIC, Modem, Mouse, SCSI adaptor C畉n ch箪 箪 畉n nh畛ng thi畉t b畛 ph畉n c畛ng 畉c bi畛t, m畛i.
  • 7. 7 Linux file systems (tt)Linux file systems (tt) M畉c 畛nh, c叩c ph但n v湛ng 動畛c mount tr棚n ph但n v湛ng / /swap: virtual memory. /bin: l畛nh quan tr畛ng. /boot: file c畉u h狸nh boot loader. /dev: file devices. /etc: file c畉u h狸nh. /home: d畛 li畛u c畛a users. /lib: file th動 vi畛n quan tr畛ng, v kernel module.
  • 8. 8 C畉u h狸nh m畉ngC畉u h狸nh m畉ng Thi畉t l畉p c叩c th担ng s畛 c畉u h狸nh m畉ng cho server: IP Address Netmask Gateway IP Address Nameserver IP Address Domain name Hostname
  • 9. 9 Linux boot loaderLinux boot loader Boot loader LILO GRUB Boot loader cho ph辿p ch畛n h畛 i畛u hnh no 畛 boot. T畉i boot loader, c坦 th畛 can thi畛p b畉ng command 畛 thay 畛i c叩c tham s畛 boot.
  • 10. 10 Linux boot loader (tt)Linux boot loader (tt) File grub.conf boot=/dev/sda default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Linux Fedora (2.6.5-1.358smp) root (hd0,0) kernel /vmlinuz-2.6.5-1.358smp ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.5-1.358smp.img title Windows 2000 rootnoverify (hd0,0) chainloader +1
  • 11. 11 Mode ho畉t 畛ng c畛a LinuxMode ho畉t 畛ng c畛a Linux Linux c坦 c叩c mode ho畉t 畛ng sau: 0: shutdown. 1: single mode. 2: multi user without networking. 3: multi user with networking. 4: unused. 5: graphic. 6: reboot.

Editor's Notes

  1. Trung T但m o t畉o M畉ng M叩y T鱈nh NH畉T NGH畛 Ng動畛i bi棚n so畉n: Ph畉m Tr畉n Kim Chi
  2. Trung T但m o t畉o M畉ng M叩y T鱈nh NH畉T NGH畛 Ng動畛i bi棚n so畉n: Ph畉m Tr畉n Kim Chi
  3. Trung T但m o t畉o M畉ng M叩y T鱈nh NH畉T NGH畛 Ng動畛i bi棚n so畉n: Ph畉m Tr畉n Kim Chi
  4. Trung T但m o t畉o M畉ng M叩y T鱈nh NH畉T NGH畛 Ng動畛i bi棚n so畉n: Ph畉m Tr畉n Kim Chi