32
Linux CentOS 6.0 () November 4, 2011 s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd. http://www.cmslearning.co.th 1 Linux CentOS 6.0 กก Linux Linux ก" Open Source *+,+-./01."/23"4"ก 4056/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"OMP/ Andrew S. Tanenbaum -.." Kernel F+GกHOM" Linus Trovalds P/14Vก Trovalds W.X4OHP.05.-.01."*,4W"4P5F01." .*+,*3"05.F+GกHW.4"/0Y22G 0Y2GF+GกHVก"/IZW5F"/"/IZ 4056F+GกH2+FO*Z[\+V GNU GPL *+,"OMP/ Richard Stallman Andrew S. Tanenbaum, author of the MINIX operating system Richard Stallman Richard Stallman, founder of the GNU project Linus Torvalds, author of the Linux kernel *+,": http://en.wikipedia.org/wiki/Linux

Linux_CentOS6.0_Installation

Embed Size (px)

DESCRIPTION

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

Citation preview

Page 1: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

1

����������� 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กH�IJ�"�"2"ก�.���� MINIX HM,��������� UNIX *+,��������,��I+H+IJ�"OM��P/ Andrew S. Tanenbaum -�.��."�

Kernel F+�GกH�OM���"��� Linus Trovalds P/1�4�V�ก Trovalds W.��X��4�O��H����P�.05.-�.01.�"�*,4W�"4��P5F01.�"�

�������.���*+,*3"05.����F+�GกH�W.���4"���/�0��Y22G��

0��Y2G��F+�GกH�V�ก�"/I�Z�W�5F"/�"/I�Z� ��4�056�����F+�GกH�2��+F�O��*Z�[\�+V�� GNU GPL *+,��"�OM��P/

Richard Stallman

Andrew S. Tanenbaum, author of the MINIX operating system

Richard Stallman

Richard Stallman, founder of the GNU project

Linus Torvalds, author of the Linux kernel

*+,�": http://en.wikipedia.org/wiki/Linux

Page 2: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

2

0��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�� �1��

1. 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�� �Y22G���/��p"/0�.ก"��4��G�

O�����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����4���

1,���� Ubuntu Desktop VF� Ubuntu Server

Page 3: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

3

ก���;<=>?@�;����� CentOS Linux �"�"�j*3"ก"�"4��P5F�4������4���1,�F�"�GW.*+,�4k�WH�� http://mirrors.kernel.org/centos/ 5���*+,�4k�WH��

http://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"ก�.���� RedHat

Enterprise Linux (RHEL) P/*+, CentOS Linux W.�3"��"H����P�.O�� RedHat �"*3"ก"����WIF�05��P/ก"�IJ�"/�

��.�IJ�"����H�\��V4�� Open Source *+,j��F�O��*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�WH��

www.centos.org

Page 4: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

4

�4k�WH�� www.centos.org

A�B�CDB����E��DF�G����ก��<ก������� Linux

ก���ก"����������F+�Gก��-�.��"��.�����+/�O.���F����W��+�

1. H�B�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-learning

2. ��F@�E�DFK�� IP Address

�3"5���"/F���+/O��W�I+V���� ก��+�������Pr������ก"�0�PFก����*�����k�-�.��"� �.���+1GO�� IP Address 2���

*3"ก"����G0�����,���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.�"��/��

Page 5: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

5

ก"���กV�����V��ก"���������� Linux Server

L<;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��P4�� 5���01.P��Vก�� Partition

Magic V���5F�ก"������4��P4�� -�.������"�"�j�F��ก4�Z+ก"�V���I���*+,r"����ก�W.4�"2�01.�กk�����4��P4��ก+,

������Hk���VF�01.�กk�����F+�GกH�ก+,������Hk���

Page 6: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

6

ก"�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ก�� Virtualization

Page 7: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

7

ก"������4�Z+�+�-�.������"�"�j�F��กW.4�"2����������� ����ก"��40F�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,� ก"�

�����4�Z+�+�����2�*3"ก"�5,�I���*+,��4�5�M,�O��r"����ก��"��������� P/W��W�*3"F"/����4��P4��/F+�GกH� กF�"4���

5"ก����� ����ก"�p"/0�P��Vก�� Virtualization I� 2�W�����-Fก��*��������� ����ก"�*+,01.�"��/�� ก"������

�"�V�44�Z+�+��5�"��3"5��5.�� LAB 0��j"��ก"�gMกh" �j"��tuก����5Fก�������I�4����� �ก��+/� �กgMกh"

5���-�.��02*,4W�*+,�.��ก"�*���01.�"�F+�GกH�

ก"������ Linux -�"�*"�P��Vก�� Virtualization 0����� Windows

ก"������ Windows -�"�*"�P��Vก�� Virtualization 0����� Linux

Page 8: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

8

�4�/�"�P��Vก�� VirtualBOX

�4�/�"�P��Vก�� VMWare

Note.

�"�"�j��"��"/F���+/ก"������VF�01.�"�P��Vก�� VMWare VF� VirtualBox W.*+,�4k�WH��

Page 9: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

9

www.arnut.com

3. ก�������@D<OกP=EG�B�IH���<����

ก"������4�Z+�+�����ก"����������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���4�Z+�+�-�.������.���+ก"�2���I���*+,r"����ก�01.�"��"��4"��.��ก"� �"*� V���I���*+,

5.�� /home W4.�3"5���กk��4k�WH��-�.01.�"�/F�ก�.", 5.�� /usr �3"5��01.�����VIkก�ก2��"�i

Page 10: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

10

5.�� /var �3"5���กk�Fk�กW\F�, 5.�� /tmp �3"5���กk�W\F�1,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�R< Image File (*.iso)

1. ��XP��Vก�� Nero �I�,��O+/�V-�� CD

Page 11: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

11

��XP��Vก�� Nero

2. �F�ก�F��ก*+, Disc Image or Saved Project

�F��ก Disc Image or Saved Project

3. �F�ก�F��ก����p*W\F�*+, File of type ���� Image Files (*.mrg, *.iso, *.cue)

Page 12: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

12

�F��ก����p*W\F����� Image Files

4. �F�ก�F��ก Image File *+,�.��ก"� 0�*+,�+��F��ก���� CentOS-6.0-i386-bin-DVD.iso ���k2VF.4�F�ก�G��

Open

�F��ก Image File

5. �F�ก�G�� Next �I�,�*3"ก"��O+/�V-��H++

Page 13: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

13

�F�ก�G�� Next �I�,�*3"ก"��O+/�V-��H++

6. �F�ก�G�� Close ���,������Gก"��O+/�V-��

K�<��<ก������� CentOS Linux

1. ก�����,�05.*3"ก"�"4��P5F�4�����F+�GกH��4���1,�F�"�GW.*+,�4k�WH�� www.centos.org VF.4*3"ก"��O+/�V-���4�����

CentOS Linux

2. *3"ก"������" BIOS O������,���H���\�4���05.��s�2"ก CD-ROM 5��� DVD-ROM VF.4*3"ก"���s�����,��05��

3. 0��V-�� CD/DVD �4�����

4. �F��ก*+, Install or upgrade an existing system

Page 14: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

14

�F��ก Install or upgrade an existing system

5. �F�ก�F��ก*+, Skip

Page 15: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

15

6. V��O.��4"��.�������ก"������05.�F�ก�F��ก*+,�G�� NEXT>

7. �F�ก�F��กp"h"���� English (English) ���k2VF.4�F�ก�F��ก�G�� Next

Page 16: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

16

8. �F�ก�F��ก1�����I��I����� U.S.English ���k2VF.4�F�ก�F��ก*+,�G�� Next

9. �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 Devices

Page 17: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

17

10. �F�ก�F��ก��ก�*+,�.��ก"������ F+�GกH� ���k2VF.4�F�ก*+,�G�� Next

11. ก3"5���"*"������O�"/

Hostname: ก3"5�1�,�����,�� 0�*+,�+�ก3"5����� server01.cmslearning.co.th

Page 18: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

18

12. �F�ก*+, Configure Network �I�,�ก3"5��"/F���+/W�I+V����

13. �F�ก�F��ก*+, System eth0 VF.4�F�ก*+, �G�� Edit �I�,�ก3"5��"/F���+/ IP Address O�� LAN Card 0�V�ก

Page 19: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

19

14. ก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.1

Page 20: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

20

Page 21: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

21

15. ก3"5��"/F���+/W�I+V����0�*+, 2 (j."�+)

Page 22: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

22

16. 5F�2"ก3"5��"/F���+/W�I+V�������k2VF.405.�F�ก*+,�G�� Close VF��F�ก�G�� Next

17. �F�ก�F��กm"��4F"���� Bangkok ���k2VF.4�F�ก*+,�G�� Next

Page 23: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

23

18. ก3"5���5�-�"�-�.�VF���� (root) ���k2VF.4�F�ก*+,�G�� Next

19. �F�ก�F��กI���*+,��ก�*+,�.��ก"���������� ���k2VF.4�F�ก*+,�G�� Next

Page 24: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

24

20. �F�ก�F��ก���1,�*+,�.��ก"� ���k2VF.4�F�ก*+,�G�� Next

�F�ก�F��ก*+, [ /] Basic Server

[ / ] Customize now

���1,� �3"�Z��"/ Desktop �F��ก�����V�� X Windows

Minimal Desktop �F��ก�����V�� X Windows V��23"ก Minimal �F��ก�����V���ก�� Basic Server �F��ก�����V���H���\�4��� Database Server ก��+����ก"�*3""�."����H���\�4��� Web Server ก��+�.��ก"�*3"�4k��H���\�4��� Virtual Host ก��+�.��ก"�*3"Pr�������5F"/P������ Software Development Application ก��+��.�0�ก"�IJ�"V�IF���1,�

Page 25: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

25

21. �F�ก�F��ก���1,���"�i *+,�.��ก"�01.�"� ���k2VF.4�F�ก*+,�G�� Next

Base System Servers

Web Services Databases

System Management Virtualization

Desktops Applications

Page 26: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

26

Developments Resilient Storage

High Availability Load Balancer

Optional Languages

Page 27: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

27

22. ���,�*3"ก"����������F+�GกH� (1."5�����k4OM���/��ก�23"�4�VIkก.ก2*+,�F��ก)

Page 28: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

28

23. �F�ก�G�� Reboot

ก�� Login EK������

1. V�����O��*3"ก"���s��O."����

Page 29: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

29

2. *3"ก"�Fk�ก����O."���� P/01.1�,�V����"��4�" root VF������5�-�"�*+,01.��������

3. V��5�."��"�5F�2"กFk�ก����3"��k2

Page 30: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

30

ก"� 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����)

Page 31: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

31

5�."��"� X Windows O�� CentOS 6

Page 32: Linux_CentOS6.0_Installation

����������� Linux CentOS 6.0 (����������) November 4, 2011

s Copyright(c) 2011 by CMS Learning Technology Center Co.,Ltd.

http://www.cmslearning.co.th

32

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. [email protected]