Linux_CentOS6.0_Installation
Upcoming SlideShare
Loading in...5
×
 

Linux_CentOS6.0_Installation

on

  • 10,127 views

คู่มือติดตั้งระบบ CentOS Linux 6.0 (ฉบับสมบูรณ์) 32 หน้า

คู่มือติดตั้งระบบ CentOS Linux 6.0 (ฉบับสมบูรณ์) 32 หน้า
http://www.cmslearning.co.th

Statistics

Views

Total Views
10,127
Views on SlideShare
9,443
Embed Views
684

Actions

Likes
6
Downloads
1,359
Comments
6

6 Embeds 684

http://softganz.com 541
http://bunyiam.com 52
http://www.softganz.com 46
http://www.bunyiam.com 41
http://webcache.googleusercontent.com 3
http://localhost 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Linux_CentOS6.0_Installation Linux_CentOS6.0_Installation Document Transcript

  • Linux CentOS 6.0 ( ) November 4, 2011 Linux CentOS 6.0 ก ก Linux Linux ก" Open Source *+, +-. / 01. " /23" 4 "ก 4 056 / 3" "01.*3"Intranet/Internet Server 01. " 0 ก "* Web Server, Mail Server, Web-based email , Database Server F+ GกHIJ " "2"ก . MINIX HM, UNIX *+, , I+H+IJ "OM P / Andrew S. Tanenbaum -. ."Kernel F+ GกHOM " Linus Trovalds P /14 V ก Trovalds W . X 4 O H P . 05.-.01. " *,4W "4 P5F 01. " . *+,*3"05. F+ GกHW . 4" / 0 Y22G 0 Y2G F+ GกHV ก "/I ZW 5F"/ "/I Z 4 056 F+ GกH2 +FO *Z[ +V GNU GPL *+, " OM P /Richard Stallman Andrew S. Tanenbaum, author of the MINIX operating system Richard Stallman Linus Torvalds, author of the Linux kernel Richard Stallman, founder of the GNU project*+, ": http://en.wikipedia.org/wiki/Linuxs Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 1
  • Linux CentOS 6.0 ( ) November 4, 20110 Y22G Linux +05. F ก01. " 5F"/ 41, 4/ก ก" *+,2 F ก 40 "gMกh"01. " . . /ก 4" I .5F"/i ." * ก " V5F j" O. F I, * k P / F+ GกH*+W . , 4" / 0 Y22G 11. RadHat Linux Enterprise F+ GกH*+,W . 4" / "ก*+, G Y22G - 4 W *3"0 1 ก" " (Commercial) . 1.1. Fedora Linux (http://www.fedoraproject.org) IJ "P / "g/m" 2"ก RedHat (Open Source) 1.2 CentOS Linux (http://www.centos.org) IJ " "2"ก . RedHat Enterprise (Open Source)2. SuSE Linux Enterprise (http://www.novell.com/linux/) F+ GกH*+, / 0 Vj /GP 22G Y /p"/0 .ก" 4 GO h* Novell 2.1 Open SuSE (http://www.opensuse.org) F+ GกH*+,IJ " "2"ก SuSE Linux (Open Source)3. Mandriva (http://www.mandriva.com) F+,/ 1, "2"ก Mandrake 5 ." " F."/ RedHat (Open Source)4. Slackware (http://www.slackware.com) F+ GกH*+, + 4" VOk Vก 45 M, . 01. " -" *" Command line(Open Source)5. Debian (http://www.debian.org) F+ GกH*+, / 01. 3"5 *3" H 4 5.1 Ubuntu (http://www.ubuntu.com) G F+ GกH +ก 45 M, *+ก3"F W . , 4" / 0 W*/0 O + , 2"ก ก p" m5F"/ ก G / IJ " "2"ก . Debian P /*+, G +05. F ก "4 P5F 41, Ubuntu Desktop VF Ubuntu Servers Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 2
  • Linux CentOS 6.0 ( ) November 4, 2011ก ;<=>?@ ; CentOS Linux " " j*3"ก" "4 P5F 4 4 1, F" G W .*+, 4k WH http://mirrors.kernel.org/centos/ 5 *+, 4k WHhttp://www.centos.org P / Fก F ก*+, Download 4k WH http://mirrors.kernel.org/centos/ 4k WH http://www.centos.org ก CentOS Linux CentOS / "2"ก Community ENTerprise Operating System F+ GกH*+,IJ " "2"ก . RedHatEnterprise Linux (RHEL) P /*+, CentOS Linux W . 3" "H P . O RedHat "*3"ก" WIF05 P /ก" IJ "/ . IJ " H V4 Open Source *+,j FO *Z[V GNU General Public License 0 Y22G CentOS Linux jก 3" "01.0 ก" *3" Web Hosting ก /" ก4." O4" , 2"ก ก" *+, + . V 2"ก RedHat ( Y22G . IJ "0 1 ก" .") ก" VIkก ก2/ /p"/0 " " j01.W * RPM, TAR 5 01. . 3" , YUM 0 ก" *H V4 V P " " j " "/F + / VF "4 P5F 4 W . *+, 4k WHwww.centos.orgs Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 3
  • Linux CentOS 6.0 ( ) November 4, 2011 4k WH www.centos.orgAB CDB E DF G ก <ก Linux ก ก" F+ Gก -. " . +/ O. F W +1. HB E B G;E = (Hostname I< ;> ;A=E DFก; Computer Name) * +ก" 1, , 4 1, ก" 5Fก*+, . ก" 01. " "* 1 ก + . ก" 01.*3" , * " k 01. " 0 ก 05. intranet ก + . ก" 01.*3" , ก" 4k WH 05. www ก +*3" , ก" H 4 05. ns1, ns2 ก + , ก" Fกk mail, webmail ก +*3" I k กH+05. proxy ก +*3" , ก" g / +/ .05. e-learning2. F@ E DF K IP Address 3"5 "/F +/ O W I+V ก + Pr ก" 0 PFก * k -. " . +1G O IP Address 2*3"ก" 0 G , H 4 *+, 4 /" "/F / 5 "/ +FOO I+V "* 1 IP Address : 203.159.231.35 Subnet mask : 255.255.255.192 Gateway : 203.159.231.1 Name Server : 203.159.231.35, 203.159.231.36 < DNS O g / ก" *+,01. " /s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 4
  • Linux CentOS 6.0 ( ) November 4, 2011 ก" กV V ก" Linux ServerL<;C E@ ก;MDก Linux 0 ก" Linux 01. " "2 /*+2G , O -.2 *3" 5FกP /ก" " "j 01. " W .5F"/V 4*" 4/ก I . G "4i W . + 1. ก Linux LFกก Windows ก" Fกh +0 r" ก 5 M, ก. 2 *3"ก" ก" V/กก 54" Linux ก Windows P / Windows W .*+,W 5Fก (C:) VF Linux W4.*+,W 3"5 W *+,*3" ก" F+ GกH . V /" . / I" 1, Linux Native 3"5 W4. กk O. F VF Linux Swap 3"5 4s II" 1, 0 ก V I" 1, " " j01. Fdisk V ก ก" 4 P 4 5 01.P Vก Partition Magic V 5F ก" 4 P 4 -. " " j F ก4Z+ก" V I *+,r" กW .4"2 01. กk 4 P 4 ก+, Hk VF 01. กk F+ GกHก+, Hks Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 5
  • Linux CentOS 6.0 ( ) November 4, 2011 ก" V I" 1, V/กก 54" Windows ก Linux V r" กV 50:50 (Windows = 50%, Linux = 50%) ก" V I" 1, V/กก 54" Windows ก Linux V r" กV 70:30 (Windows = 70%, Linux = 30%) 2. ก Linux N <C > Lก Virtualizations Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 6
  • Linux CentOS 6.0 ( ) November 4, 2011 ก" 4Z+ +-. " " j F กW .4"2 ก" 40 F W ก 5F 2"ก ก" k2กk*3"ก" P Vก Virtualization "* 1 VMWare, VirtualBox , Xen 5 Microsoft Virtual PC p"/5F k2VF.4กk*3"ก" Windows Server 5 Linux Server -" *" P Vก Virtualization +ก 5 M, ก" 4Z+ + 2 *3"ก" 5, I *+, 4 5 M, O r" ก " P /W W *3"F"/ 4 P 4 /F+ GกH กF"4 5"ก ก" p"/0 P Vก Virtualization I 2 W -Fก * ก" *+,01. " / ก" " V 44Z+ + 5 " 3"5 5. LAB 0 j" ก" gMกh" j" tuก 5Fก I4 ก +/ กgMกh" 5 -. 02*,4W *+, . ก" * 01. " F+ GกH ก" Linux -" *" P Vก Virtualization 0 Windows ก" Windows -" *" P Vก Virtualization 0 Linuxs Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 7
  • Linux CentOS 6.0 ( ) November 4, 2011 4 /" P Vก VirtualBOX 4 /" P Vก VMWareNote. " " j " "/F +/ ก" VF 01. " P Vก VMWare VF VirtualBox W .*+, 4k WHs Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 8
  • Linux CentOS 6.0 ( ) November 4, 2011www.arnut.com 3. ก @D<OกP=EGB IH < ก" 4Z+ + ก" F+ GกH I+/ +/4 W + , O." " ก+,/4O. 5 " 3 "5 01. " 2 0 ก" " " jV I *+,r" กW . 2 Fกh 3.1 ก L Q = Aก=E R< 2 G = HB< 3.1.1 I" 1, V กV Linux Swap (Swap) P /V 2 *"O RAM *+,01. " / 4 /" 1 ก + + RAM / 512 MB กkก3"5 512 x 2 = 1024 MB 3.1.2 I" 1, *+, V Linux Native (Ext3) 3"5 กk O. FP /01I *+, ก*+, 5F / ก" V r" ก 2 I" 1, 3.2 ก L Q = Aก=> FL G = HB<L LFก A ก" V 4Z+ +-. . +ก" 2 I *+,r" ก01. " " 4" . ก" "* V I *+, 5. /home W4. 3"5 กk 4k WH -.01. " /Fก .", 5. /usr 3"5 01. VIkก ก2 " is Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 9
  • Linux CentOS 6.0 ( ) November 4, 2011 5. /var 3"5 กk Fk กWF, 5. /tmp 3"5 กk WF1,4 "4, 5. /cache 3"5 กk *Mก 5 Gก" " i O P Vก I k กH+, H 4 , 5. / 3"5 s*I" 1, , 5. swap 3"5 *3" 4s II" 1, . ก" V r" กP /I" 1, V V/กก IH Nero EKDF<LN< ; CDBE < Image File (*.iso) R1. X P Vก Nero I, O+/ V- CDs Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 10
  • Linux CentOS 6.0 ( ) November 4, 2011 X P Vก Nero2. Fก F ก*+, Disc Image or Saved Project F ก Disc Image or Saved Project3. Fก F ก p*WF*+, File of type Image Files (*.mrg, *.iso, *.cue)s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 11
  • Linux CentOS 6.0 ( ) November 4, 2011 Fก p*WF Image Files4. Fก F ก Image File *+, . ก" 0 *+, + F ก CentOS-6.0-i386-bin-DVD.iso k2VF.4 Fก G€Open F ก Image File5. Fก G€ Next I, *3"ก" O+/ V- H+ +s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 12
  • Linux CentOS 6.0 ( ) November 4, 2011 Fก G€ Next I, *3"ก" O+/ V- H+ +6. Fก G€ Close , G ก" O+/ V-K< <ก CentOS Linux1. ก , 05.*3"ก" "4 P5F 4 F+ GกH 4 1, F" G W .*+, 4k WH www.centos.org VF.4*3"ก" O+/ V- 4CentOS Linux2. *3"ก" " BIOS O , H 4 05. s 2"ก CD-ROM 5 DVD-ROM VF.4*3"ก" s , 053. 0 V- CD/DVD 44. F ก*+, Install or upgrade an existing systems Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 13
  • Linux CentOS 6.0 ( ) November 4, 2011 F ก Install or upgrade an existing system5. Fก F ก*+, Skips Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 14
  • Linux CentOS 6.0 ( ) November 4, 20116. V O. 4" . ก" 05. Fก F ก*+, G€ NEXT>7. Fก F กp"h" English (English) k2VF.4 Fก F ก G€ Nexts Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 15
  • Linux CentOS 6.0 ( ) November 4, 20118. Fก F ก1 ƒ I I U.S.English k2VF.4 Fก F ก*+, G€ Next9. F ก1 O Hard Disk *+,01. " / 0 *+, +05. Fก F ก Basic Storage Devices k2VF.4 Fก G€ Nextก + HDD V SANs 05. Fก F ก*+, Specialized Storage Devicess Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 16
  • Linux CentOS 6.0 ( ) November 4, 201110. Fก F ก ก*+, . ก" F+ GกH k2VF.4 Fก*+, G€ Next11. ก3"5 "*" O"/Hostname: ก3"5 1, , 0 *+, ก3"5 + server01.cmslearning.co.ths Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 17
  • Linux CentOS 6.0 ( ) November 4, 201112. Fก*+, Configure Network I, ก3"5 "/F +/ W I+V13. Fก F ก*+, System eth0 VF.4 Fก*+, G€ Edit I, ก3"5 "/F / + IP Address O LAN Card 0 Vกs Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 18
  • Linux CentOS 6.0 ( ) November 4, 201114. ก3"5 "/F +/ LAN Card 0 V ก (eth0) Fก*+,V*k IPv4 Settings k2VF.4ก G€ Apply… *+, Method F ก Manual Fก G€ Add VF.4ก3"5 "/F +/ W I+ Address: 192.168.3.5 5 "/ FOI+V Netmask: 24 (24 bit = 255.255.255.0) 5 "/ FOH k "ก Gateway: 192.168.3.1 ก3"5 5 "/ FOO " *+, ก * k 1 192.168.3.1s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 19
  • Linux CentOS 6.0 ( ) November 4, 2011s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 20
  • Linux CentOS 6.0 ( ) November 4, 201115. ก3"5 "/F / W I+V + 0 *+, 2 (j." +)s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 21
  • Linux CentOS 6.0 ( ) November 4, 201116. 5F 2"ก3"5 "/F +/ W I+V k2VF.405. Fก*+, G€ Close VF Fก G€ Next17. Fก F กm" 4F" Bangkok k2VF.4 Fก*+, G€ Nexts Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 22
  • Linux CentOS 6.0 ( ) November 4, 201118. ก3"5 5 -" -. VF (root) k2VF.4 Fก*+, G€ Next19. Fก F กI *+, ก*+, . ก" k2VF.4 Fก*+, G€ Nexts Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 23
  • Linux CentOS 6.0 ( ) November 4, 201120. Fก F ก 1, *+, . ก" k2VF.4 Fก*+, G€ Next Fก F ก*+, [ /] Basic Server [ / ] Customize now 1, 3" Z "/Desktop F ก V X WindowsMinimal Desktop F ก V X Windows V 23"กMinimal F ก V กBasic Server F ก V H 4Database Server ก + ก" *3" " ." H 4Web Server ก + . ก" *3" 4k H 4Virtual Host ก + . ก" *3"Pr 5F"/PSoftware Development Application ก + . 0 ก" IJ "V IF 1,s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 24
  • Linux CentOS 6.0 ( ) November 4, 201121. Fก F ก 1, " i *+, . ก" 01. " k2VF.4 Fก*+, G€ Next Base System Servers Web Services Databases System Management Virtualization Desktops Applicationss Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 25
  • Linux CentOS 6.0 ( ) November 4, 2011 Developments Resilient Storage High Availability Load Balancer Optional Languagess Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 26
  • Linux CentOS 6.0 ( ) November 4, 201122. , *3"ก" F+ GกH (1."5 k4OM /ก 23" 4 VIkก.ก2*+, F ก)s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 27
  • Linux CentOS 6.0 ( ) November 4, 201123. Fก G€ Rebootก Login EK1. V O *3"ก" s O."s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 28
  • Linux CentOS 6.0 ( ) November 4, 20112. *3"ก" Fk ก O." P /01.1, V " 4" root VF ƒ 5 -" *+,01.3. V 5 ." " 5F 2"กFk ก 3" k2s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 29
  • Linux CentOS 6.0 ( ) November 4, 2011ก" Logout ก2"ก1. ก +*+, . ก" ก2"ก " " j01. 3" , logout 5 ก G€ Ctrl + D Fk ก " ก2"กก Shutdown 0 ก + . ก" X 5 *3"ก" + s"* " " j , P /01. " , 3 + # shutdown -r now (*3"ก" Restart ) # shutdown -h now (*3"ก" Shutdown ) # restart (*3"ก" Restart ) # halt (*3"ก" Shutdown ) # poweroff (*3"ก" X )s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 30
  • Linux CentOS 6.0 ( ) November 4, 20115 ." " X Windows O CentOS 6s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 31
  • Linux CentOS 6.0 ( ) November 4, 2011 Write by A.ARrnut Ruttanatirakul (@arnutr) http://www.arnut.com November 04, 2011 CMS Learning Technology Center Co.,Ltd. Z<F=[ก <E<] E; = L@ PDE DF;^ D A _ Tel. 02-5120352, 088-5791324 e-Mail. info@cmslearning.co.ths Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 32