องค์ประกอบของระบบปฏิบัติการลีนุกซ์ (Linux) ประกอบด้วยกี่ส่วน

�к���Ժѵԡ���չء��

���С�����¹���
1. ����ѵԤ������� (History)
2. ��ѡ����͡Ẻ
3. ���� (File System)
4. ����� (Command)
5. ����ѡ�Ҥ�����ʹ��� (Security)
6. �к�����ͧ��ԡ��

�ش���ʧ�����͹
1. ���㨻���ѵԤ������� (History)
2. ������ѡ����͡Ẻ
3. �������� (File System)
4. ����ö�����觢ͧ Linux ��
5. ���㨡���ѡ�Ҥ�����ʹ��� (Security)
6. �����к�����ͧ��ԡ��
7. ����ö�Դ��� ����Դ��ԡ�õ�ҧ � ��

�йӺ����¹
��� linux �ж١��������� Linus Benedict Torvalds �ҡ University of Helsinki ���Ѳ�����ǹ�ͧ Linux Kernel ��Ѩ�غѹ���չѡ�Ѳ�Ҩҡ�����š����������������������� ���¡�дѺ�繫Ϳ�������ԧ�ҳԪ����ª��ͷҧ��ä�Ңͧ�� ������ա�������������蹾Ѳ��ʹѺʹع����� Open Source Operating System ����Դ��� Download 仵Դ��� �����ҹ���� ����֧��û�Ѻ��ا��������Է���Ҿ ��л���ء����ҹ�� �������ѧ�š���

��þѲ�Ҥ�������ӧҹ�� Shell
��������觺� Bash Shell ������觧ҹ�к���Ժѵԡ�� �֧�դ��������������� ������������ ��������¹�ŧ�������� ���Ǣ�͹���繤���觷���ѡ����� Linux ����� ��੾�к� Android OS ���������� Google ������к���Ժѵԡ������Ѻ�����⿹ (Smart Phone) ����ǹ�觵�Ҵ�֧ 70% � Q4 �ͧ�� 2013 ��з�� iOS ����ǹ�� 21.7% �ҡ�ػ�ó�������觺� Bash Shell ���� Linux command line ����§�� Download Application �� Android Terminal Emulator

�����֧��ͧ���չء�� ��ͤ����ҧ��ǹ�ҡ˹ѧ��� "Running Linux" �ͧ Matt Welsh and Lar Kaufman ���ͧ�ҡ���к���Ժѵԡ�÷���� �س����ö�Тͨҡ��������չء�� ���ͨд�ǹ���Ŵ�ҡ�Թ����๵ ���ͺպ�����������Դ������ ���ͧ�ҡ�ռ��������ҡ ������ռ����չء�������������ö��ҹ�麹��ǻ����żš�ҧ��ҡ���µ�����Թ��, �������, �ԨԵ����ſ�, ��������ի�, 仨��֧ ʻ��줢ͧ�ѹ �͡�ҡ����ѧ�ռ��Ѳ�����������ء���͡�ҡѹ�ҡ��� �ջ���Է���Ҿ����դس�Ҿ�٧ �չء�����к���Ժѵԡ�� 32 �Ե����ٻẺ ��� ����ö�д֧��Ҿ�ѧ�ͧ����ͧ�����������͡�������ҧ������ѧ �չء��١�Ѳ�� �ҡ���Ѳ�ҹѺ���·����š �� Linus ���繤��ҧ��ȷҧ㹡�þѲ�Ҵ��µ���ͧ �դس�ѡɳТͧ�к� UNIX ����ٻẺ ������к���ҡ����� ���§ҹ���ҧ ���ԧ �չء�����к��Թ������Ẻ��ҿ�Ԥ������¡�ѹ��� X Windows ����� �ҵðҹ�ͧ�к��ٹԡ������� �������ö�� window manager �����ª�Դ ���������ͧ��� �͡�ҡ����ѧʹѺʹع��ⵤ��Ẻ TCP/IP ,SLIP, PPP, UUCP ������� �س����ö�Ң����������������� ���͡�����ҡ���� (��سҴ٢�ҧ��ҧ) ��м�餹�ҡ��¤��ʹѺʹع�س��ҹ�Թ����๵ ���ͤس�Ҩ���ҡ��ʹѺʹع�ҡ����ѷ����֡�� ���ͨҡ����ѷ���Ѵ��˹����к��չء����� ���˵ؼ����»�С�÷������ö͸Ժ������ҷ�����餹�֧�ͺ�չء�� ������ǹ������� ��Ҩ������С�þѲ�����ҧ�Ǵ���Ǣͧ�չء�� ���ͧ�ҡ�س����ö��繡������¹ �ŧ��������� ��С�þѲ�����������ء��������͡�����ҧ�Ǵ���� �������¾������к����ᨡ���¿��Ẻ������˹�ҡ�͹��� �����ҹ����;���पѹ���չء�� ��ôҼ����ҹ���չء��������ҡ���� �����Ҩ����дѺ�������Ρ���� ��觨зӡ���֡������ǡѺ��÷ӧҹ�ͧ�к���Ժѵԡ����дѺ�֡ 仨��֧�͹�����������ͼ�������� �س����ö���չء��ӻ���ª�����������ҧ �����Ҩ�������ӡ���֡���к��ٹԡ�� ���ͤس����ö���֡�ҵ�����ҧ�����¹��������������� �ҡ��ͧ��è����;���पѹ����� ���ͺ��Թ���� �չء�����մ������������ (DOSEMU) ����Թ�������������� (WINE) ��� ����Ѻ�������������ͧ��ǹ���ѧ����㹢�鹷��ͺ ����ѧ�ѹ�;���पѹ�ͧ��ʡѺ�Թ����������ҡ �����Ѳ�����������ͧ�����ѧ�ӡ�þѲ�ҵ���������� ��е�����������Ҩе�ͧ�ѹ�;���पѹ�ͧ��ʡѺ�Թ����������ҡ����ش��ҷ��з��� ����ش�ҧ����ѷ Caldera ��ӡ�ë����Ԣ�Է�� WABI 2.2 �������������������Ѻ�ѹ�;���पѹ�ͧ�Թ���� ������������൪ѹ�ͧ�ѹ�����㹼�Ե�ѳ�� OpenLinux �ͧ�� 11.1 ����ѵԤ������� (History) �к���Ժѵԡ���������١�Ѳ�Ң��㹻� 1969 �º���ѷ�ͷ��͹��� (AT&T ���� American Telephone & Telegraph) ������Ѻ����ͧ�ԹԤ��������� ���á������ж١�����ͧҹ�Ԩ���������͡���֡�������Է�������ҹ�� �������١������㹷ҧ��áԨ����繷�������������Ҩ��֧�Ѩ�غѹ ���ͧ�ҡ�ٹԡ�����к���Ժѵԡ������Ѻ��������¤�(Multi-User) ���ʹѺʹع��÷ӧҹẺ���§ҹ (Multi-task) ����Դ�͡�ʼ��������ö�ѹ�ҹ���ҡ����˹�觧ҹ��������ǡѹ ������ͧ�ҡ���к���Ժѵԡ�÷��١�Ѳ�Ң�鹴������ҫ� ������������� �ѧ��鹨֧�դس���ѵԷ���蹡����к���Ժѵԡ����� � ��� �������ִ�Դ����Ѻ�������� (Hardware independent) �ѧ��鹨֧����ö��ҹ�ٹԡ����Ѻ����ͧ������������ͺ�ءẺ�ء��������������ä��������� �ԹԤ���������仨��֧���������������� ��й͡�ҡ����ѧ�ա�����������������ö�ҧ��ҹ�������������ҡѺ�к����͢����ա����
���º���ѷ���ѹ��ʹ��ٹԡ�� AT&T �֧���͡�͹حҵ���Ѻ����ѷ����Ե�ԹԤ����������������ͧ������൪ѹ������� �繼�����ٹԡ�����Ѻ��û�Ѻ��ا�����ж١������Ѻ����ѷ��� � �ա���º���ѷ ��觡����ա�þѲ���ٹԡ�������ѹ���� � �͡���ҡ��� ������ҧ�� �ٹԡ�������ѹ AIX �ҡ����ѷ�ͺ����� Solaris �ҡ����ѷ�ѹ���ë����� NextStep �ҡ����ѷ Next ���� Motif �ҡ����ѷ�ͺ����� �ԨԵ���դ�Ժ����� �������ŷ���礡��� (Hewlett-Packard) ��������ѹ�Ѳ�� Motif ����� ���������㹻Ѩ�غѹ����ա������餹�ҡ�����š�������ѹ�Ѳ���ٹԡ�������ѹ����Ѻ���ä��������������¡��� �Źѡ�������չء�� (Linux) �͡�� ����Դ�ҡ����š����¹������繡ѹ���Թ�����絷���ͧ��èоѲ���ٹԡ������Ѻ����ͧ���ä��������� ����ջ���Է���Ҿ��ҡѺ����ͧ��Ҵ�˭� ��觨��繡��Ŵ�鹷ع��Ф������¡��ҡ�����ٹԡ������Ѻ����ͧ��Ҵ�˭�
�ٹԡ���ѧ���к���Ժѵԡ�÷��������ͧ��� (tools) ����������ӹ�¤����дǡ (utilities) ������� (shell) �����¹ѡ��¹���������ö�Ѳ�����������ء�캹�ٹԡ�������ҧ�ջ���Է���Ҿ �͡�ҡ��� �ç���ҧ�к�����ѧ����͹�Ѻ�к���Ժѵԡ�ô�� �������Ҩᵡ��ҧ�ѹ仺�ҧ
��ʹ��¢ͧ�ٹԡ���� �������ǹ�˭�е�ͧ���Ӥ���觵�ҧ � �ͧ�ٹԡ�� ��觤�͹��ҧ�ҡ��͡�è��� ��㹻Ѩ�غѹ����Ե����ͧ������к���Ժѵԡ���ٹԡ�� ����Ѳ�������������ѡɳ��� GUI (Graphic User Interface) �֧�����������ҹ�ٹԡ����¢�� �͡�ҡ����÷���ٹԡ��١�Ѳ�������������ѹ�ҡ���º���ѷ ������������ѹ�Ҩ�բ��ᵡ��ҧ�ѹ��ҧ��硹��� �֧������ռ���ͧ����ٹԡ������դ������ҵðҹ���ǡѹ
�����ͧ�ҡ�ٹԡ�����к���Ժѵԡ�÷������ö��ҹ��Ѻ����ͧ�������������»���������Ẻ �ѧ��鹨֧���к���Ժѵԡ�÷��������ҡ��к����͢��¢�Ҵ�˭����ա�����������ͧ���������� ���л�������Ҵ��¡ѹ��ѡɳТͧ���͢����Թ������
�ش�蹢ͧ LINUX
1. ������������
2. ���к���Ժѵԡ��Ẻ�Դ
3. ���᾵���šѺ Unix
4. �ӧҹ�麹 PC �����
5. �ӧҹ�����Ѻ DOS ��� Windows ��
6. ����������Ѻ�к���Ժѵԡ�������
7. �դ�������ö��ҹ network �����ٻẺ
8. �ջ���Է���Ҿ�٧㹡���� Hardware
9. Kernel �ջ���Է���Ҿ�٧
10. �ա���� Dynamic linked shared libraries
11. ��ê��������������Դ�ѭ��
11.2 ��ѡ����͡Ẻ 1. Direct blocks
2. Indirect blocks
3. Double indirect blocks
4. Triple indirect blocks
องค์ประกอบของระบบปฏิบัติการลีนุกซ์ (Linux) ประกอบด้วยกี่ส่วน
11.3 ���� (File System) http://www.cs.wisc.edu/~bart/537/lecturenotes/s24.html
The file descriptor information has to be stored on disk, so it will stay around even when the OS does not.
- In Unix, all the descriptors are stored in a fixed size array on disk. The descriptors also contain protection and accounting information.
- A special area of disk is used for this (disk contains two parts: the fixed-size descriptor array, and the remainder, which is allocated for data and indirect blocks).
- The size of the descriptor array is determined when the disk is initialized, and cannot be changed. In Unix, the descriptor is called an i-node, and its index in the array is called its i-number. Internally, the OS uses the i-number to refer to the file.
- When a file is open, its descriptor is kept in main memory. When the file is closed, the descriptor is stored back to disk.
องค์ประกอบของระบบปฏิบัติการลีนุกซ์ (Linux) ประกอบด้วยกี่ส่วน

องค์ประกอบของระบบปฏิบัติการลีนุกซ์ (Linux) ประกอบด้วยกี่ส่วน

องค์ประกอบของระบบปฏิบัติการลีนุกซ์ (Linux) ประกอบด้วยกี่ส่วน

ext2 : the standard in Linux
ext3 : further development of ext2 (currently beta status), will be able to do journaling
องค์ประกอบของระบบปฏิบัติการลีนุกซ์ (Linux) ประกอบด้วยกี่ส่วน

General overview of the Linux file system
http://www.faqs.org/docs/linux_intro/sect_03_01.html
ls -l �ʴ��ӹǹ folder �������ͧ
ls -i �ʴ� inode �ͧ�������
df -h �ʴ���鹷������ partition
องค์ประกอบของระบบปฏิบัติการลีนุกซ์ (Linux) ประกอบด้วยกี่ส่วน

�Ҿ�ʴ��к�����ͧ ext2 ��к���Ժѵԡ�� linux
1. Direct blocks
2. Indirect blocks
3. Double indirect blocks
4. Triple indirect blocks
องค์ประกอบของระบบปฏิบัติการลีนุกซ์ (Linux) ประกอบด้วยกี่ส่วน
11.5 ����ѡ�Ҥ�����ʹ��� (Security) 1. Firewall
Firewall ��� ����������ЫͿ��������ͧ��õ�ҧ���������ͻ�ͧ�ѹ���͢��¤������������㹢ͧ���ҡ�ѹ���·���Ҩҡ���͢��¤�����������¹͡ �� ���ء�ء ���� Hacker Firewall ��͹حҵ���੾�Т����ŷ���դس�ѡɳеç�Ѻ���͹䢷���˹�����ҹ����͡�к����͢���������ҹ�� ���ҧ�á�� Firewall ����������ö��ͧ�ѹ�ѹ���·���Ҩҡ�Թ��������ء�ٻẺ ����ʡ���˹��㹹�� �ѧ��鹨֧�������ö�Ѻ�ͧ����Ҥ�����ʹ������ͤ����Ѻ�ͧ�����Ũ���������������ૹ��֧�����Ҩ��ա���� Firewall ���ǡ���
����ͧ��ԡ���ѡ�Ҥ�����ʹ��¢ͧ������ �����·�����´�ҹ �� ��ͧ��ࡨ ��ҵ�Ǩ ��Ǩ�ͺ����� bandwidth �����红����ŷ�� local host ��ҹ���� ������ local host ��� � ���¡����¤������� �����ѡ��âͧ firewall ����Ӥѭ�մѧ���
1. ����ԡ��੾�з���ͧ����Դ
2. ����ԡ���ú�ҧ
3. �����Ҫԡ����С���� ����ö����੾�з���������
4. ��˹�������ʹ������ҧ�� ������к�ԡ��
Firewall ��Сͺ����
1. Package filters ��˹�ҷ��ͧ router ��˹�ҷ���ͧ IP(Internet Protocol) TCP(Transmission Control Protocol) ��� UDP(User Datagram Protocol) ��Ң����ŷ�����������仵���� ���������͢��������
2. Proxy server ���������ͧ��¹͡������������ѡ����ͧ�������͢��� ���зء�Ԩ������ͧ��ҹ����ŧ IP �ͧ Proxy server
A firewall is a set of related programs, located at a network gateway server, that protects the resources of a private network from users from other networks. (The term also implies the security policy that is used with the programs.) An enterprise with an intranet that allows its workers access to the wider Internet installs a firewall to prevent outsiders from accessing its own private data resources and for controlling what outside resources its own users have access to.
Basically, a firewall, working closely with a router program, filter all network packet to determine whether to forward them toward their destination. A firewall also includes or works with a proxy server that makes network requests on behalf of workstation users. A firewall is often installed in a specially designated computer separate from the rest of the network so that no incoming request can get directly at private network resources.
There are a number of firewall screening methods. A simple one is to screen requests to make sure they come from acceptable (previously identified) domain name and Internet Protocol addresses. For mobile users, firewalls allow remote access in to the private network by the use of secure logon procedures and authentication certificates.
2. IDS (Intrusion Detection Systems)
IDS ����к���Ǩ�ͺ��úء�ء�������к� ��Ǩ�ͺ�ѡ�ҧ�����˹�� firewall �����ѧ firewall ���͵�Ǩ�ͺ��úء�ء ��е�Ǩ�ͺ�š���� firewall ��ҡ�ͧ���ҡ������§� ������ҧ��úء�ء�� DoS, Port scan ���� Code red �繵� ����Ѻ������������������֡�Ҥ�� BlackIce ����� download ������ҡ�ѡ
3. Crack
��� �������¹��÷ӧҹ�ͧ����� ���Դ仨ҡ��������ҧ��������ҧ��� �� ������ҧ�����������ʼ�ҹ ������ͧ�������ʼ�ҹ���� �� cracker ����������¡��¡��ԡ��õ�Ǩ�ͺ���ʼ�ҹ��� ����Ѻ��������١������ �� WinHex ��� SoftICE �繵�
4. Hack
��� ���������к������ӡ�� hack ������Է��� ������������ͧ��ԡ�÷�����к��ѡ�Ҥ�����ʹ��� ����������Ӥѭ�ͧ hacker ����������������Ҩ��зӡ��� � ��駷���繻���ª�� ������ �Ѻ�к� ��������Ѻ hacker ���Ф� ������ҧ URL ����� hack IIS �� Win 2000 ���
http://localhost/scripts/..%255c../winnt/system32/cmd.exe?/c dir c:\
�š�� hack ���駹���͡���ʴ���ª������� drive C �ͧ web server ����������� xperl.sh �ҡ������������š�� hack �ҷ��ͺ� Redhat 6.2 ��觼š�� run xperl.sh �з���� user ������ ������ root �ѹ��

������ʹ��º����͢��� (

�ҡ doothai.com)
����״�ѹ˹�觢ͧĴ�˹�� 㹢�з���餹���ѧ ��Ѻ�����������׹������ҧʺ�� �ҡ��㹡�ا෾� ���ҹ���ҧ��ҹ͹���¨�ԧ ������Ѻ�硪����ʹ �ҡ�Ѻ�������˹�Ҩͤ��������� �������ҡѺ�Թ������ ������ҧ�����״ ������§�ʧ�ҡ�͹����� ���Ҵ��������������������� �ͧ�硪�� ���«ء������� ������ͧ��ѧ˹�Ҩͤ��������� �硹��¡��ѧ��������͡�Թ �����ѧ ����ͧ����������ͧ ����ѷ�ṹ�����˹�� ���١�ҧ��ûԴ� �硹��¡��ѧ���������� �������ü�͹����ö¹�� ���ͷ��з���������ö�ͧ����� ���仨ҡ�к� ö����ҧ�����ҡ��� 6 ��͹ �����ⴹ�ִ ������Ȩҡ��ǵ��ա���� ��á�зӢͧ˹ٹ��¤���� �������� �ѡ�ФԴ��� ��Т�ҹ�������� Hacker ���ԧ���� ���Ե�ͧ Hacker ��������ҧ��
�ѹ����ԧ���� �������㨢ͧ������� ����յ�� Hacker ��� �����¨ж١��ͧ����ùѡ ���ԧ���������ͧ Hacker �ͧ��� ��Ѻ�������Ѻ ��á�з�Ẻ���˹٤���� Hacker �������Ẻ������ Cracker ���� Hacker ��������� ����һ���ª�� ��������ʹ��͹�ͧ����� 㹢�з�� Cracker ��� �����ª��ҡ�����ҭ��Ҵ �ͧ���ͧ ����������� �����觷�赹�ͧ��ͧ��� Hacker ��ͧ��÷����觷���繡�� �Ŵ���ǹ ��оѹ��ҡ�� ���ͤ���������Тͧ���ͧ ��м����� �ҡ��觷��ǡ�ҤԴ������١��ͧ �������
Hacker ���������ͧ�ͧ ��ѧ����ӹҨ ���������ö�Ǻ��� Cyberspace �� �ǡ�Ҫͺ���Ф��� �����Դ �Ըա������� ���лŴ�ѹ��ҡ�÷������ ���١�Ѵ�ǡ������ �� �ǡ��������� ������Ѿ��仵�ҧ����� ���͵�ҧ�ѧ��Ѵ ᾧ�Թ� ���ͧ�ҡ �ǡ�١�Ҵ (monopoly) ���ҧͧ�������Ѿ�� ���� ����ѷ�͡�� �ٴ���ʹ�ҡ��ЪҪ� �Դ�����Թ��� �ǡ�ҨФԴ���Ըշ��������Ѿ��ҧ�ſ�� �蹡���� access code �������Ǻ����������� ��õ�� oscillator ��ҡѺ������Ѿ���������ҧ�ѭ�ҳ Hacker �Թ�ը��¤�����Ѿ���ͧ��� ������ҤҶ١ ������Թ������¤�ҷҧ�� ���оǡ�� �Դ����Ҥ�����صԸ��� ����ҡ�ǡ�ҷ������ �ǡ�Ҩ�������ͷ��������� ���Ԥ�������� ���� Hacker ������ �ǡ Hacker �֧���ѧ������͹��ҧ������� �ҧ�������� �����������ͧ����ǡѺ Hacker ���ѡ�� ���´������繾ǡ Digital Hippy ��ҧ �� �ǡ Cyberpunk ��ҧ ������ԧ Hacker ᵡ��ҧ�ҡ������ҹ�� ������ԧ
Hacker �繤�����դ����ص���� ����� �繾�鹰ҹ �͡�ҡ��� ���ѧ�繤���� �ѡ�ѹ�� �ѧ��¨�����ع�ç ��Ф���������� Hacker �ͺ������ҷ�� �ǡ�Ҫͺ �������ҫ�觤�������ö㹡�äǺ��� ��駵�����ͧ ��� Cyberspace ��������� �Ҿ��������� Cyberspace �� ����������� �Ѱ����Թⴹ���� �����١�����ͧ ��������ѹ�͡ �ҡ������� Homepage �ͧ�Ѱ����Թⴹ������� �բ����ŷ��١��ͧ Hacker ��͵�ҹ�������Դ�Է������ª� ���������� computer �ͧ�Ѱ��� �Թⴹ���� ����ŧ�ɷ���Թⴹ���·����١�����ͧ��� Hacker �ӵ������͹ Robinhood �� �����͹�Թ�ͧ ����ѷ����ѹ ������ѧ�ͧ�ع��
Hacker ������� ��������Ǣͧ�ǡ�� �й������Ҿ����褹�������͡���� �������ǡѹ���͡��ѹ���������ҤԴ��� ������� ��з����١��ͧ �ѧ�����Ҩ֧��������� Hacker ����к��ͧͧ��� ������Ҹ�ó����ҧʶҺѹ�֡�ҹѡ 㹢�з�� ͧ����Ѱ��� ͧ��÷��� ���� ����ѷ��Ҵ�˭� ��ǹ����������¢ͧ��ô� Hacker
����ʹء ����觷�� Hacker ��ͧ��ù͡�˹�� �ҡ��÷�����͵�ҹ ��ü١�Ѵ ���ͤ���������Ǣͧ�������觤�� Hacker �Ҩ����Դ��Թ �ҡ��÷��������ö�� �Ţ�ѵ��ôԵ ��駷���Ҩ�����¹��ѹ������ Hacker �繼�������㨼����� �Ҩ֧����Ҩ�� �Ţ�ѵ��ôԵ������ª�� ����§��ʹء�������ö�� ���� �ʹ����������ѹ��
5. Law ��� License
��û���ٻ������෤��������ʹ�� (Information Technology Law) �ա����ºѧ�Ѻ�� 6 ��Ѻ
1. �����¸�á�������硷�͹ԡ�� (Electronic Transaction Law)
2. �����������ͪ��ͷҧ����硷�͹ԡ�� (Electronic Signatures Law)
3. �������Ҫ������ҧ���������� (Computer Crime Law)
4. �����¡���͹�Թ�ҧ����硷�͹ԡ�� (Electronic Fund Transfer Law)
5. �����¡�ä�����ͧ��������ǹ�ؤ�� (Data Protection Law)
6. �������ӴѺ�ͧ�ͧ�ѭ�����ٳ�ҵ�� 78 ����ǡѺ��èѴ�ç���ҧ��鹰ҹ���ʹ�������Ƕ֧ �����������ѹ (Universal Access Law)
11.6 �к�����ͧ��ԡ�� 1. Web server
��� ��ԡ�� HTTP(HyperText Transfer Protocol) ���������������ö��ҹ������ ����Ҿ ������§ �ҡ����ͧ��ԡ�� ��ҹ Browser �蹺�ԡ�� http://www.thaiall.com ���� http://localhost �繵�
����ͧ��ԡ�� ������Ѻ����ͧ�ͨҡ web browser �����ŷ�������Ҩ�����ྨ �Ҿ �������§ �繵� ����Ѻ�����������Ѻ�������� �������Դ��ԡ�� web ��� Apache web server ���� Microsoft web server
DNS server �������
Domain Name System server ������ͧ��ԡ���ŧ��������������Ţ IP ��觡���ŧ���͹���Ҩ�Դ�����ͧ local �ͧ �ҡ cache �����ͧ local ���ͨҡ����ͧ��ԡ�âͧ�������ԡ��
2. FTP server
FTP(File Transfer Protocol)
��� ����ͧ��ԡ�á���Ѻ-�觢����� ����Դ�������������Ҫԡ����� ��ҧ����ͧ�Ҩ������������������ ����������Ҫԡ anonymous ����繷�����ѹ�����š��������ʼ��������Ѻ����������ʧ���͡���
FTP �����ⵤ������Ѻ�����͹������ ������ͧ����Դ��ԡ�� FTP ���Դ TCP port 21 ��� ����������ͧ͢ FTP �� 2 mode
1. FTP standard mode ��� ����������ͷ�� server �������͡Ѻ client ��ҹ port 20 �� Out going port ��ǹ port ��� client �������赡ŧ�ѹ ���� client �� firewall �������ԡ�� ftp ��еԴ��������
2. FTP passive mode ��� ����������ͷ�� client �繼������������ѧ server �����������Ţ port ���������е�ŧ㹡���觢�����
3. Mail server
��� ����ͧ��ԡ���Ѻ-�觨���������Ѻ��Ҫԡ ��ԡ�÷����������� �觨����� �Ѻ������ �� attach file ���͡���� address book �繵� ������ҧ mail server ����繷�����ѡ����� �� hotmail.com ���� thaimail.com �繵�
SMTP server �������
Simple mail transfer protocol server �������ͧ��ԡ���� e-mail ��ѧ����ͧ��ԡ����� � ����Ѻ SMTP ��ǹ�˭����������餹�ͧ͡��� ���� IP �������ͧ͡�����ҹ SMTP �����Ҩ�դ���š㺹�����ͺ�� ������ԡ�� SMTP �ӧҹ˹ѡ���Ѻ����¹͡������Դ����ª��� � �ҡ����ͧ�ͧ��ҹ��ԡ�� SMTP �褹�͡ �ʴ����������˹� RELAY ��� ���Ъ���š�Ҩ������ͧ��ͤ��� "OPEN RELAY" ���Ǿ��������ͧ�ͧ��ҹ������ͧ˹�觷�������� RELAY ������ ��з���ѹ���¤�� �Ҩ�ժ���š�ҧ��������� MOBI+ ��˹��������ͧ SMTP �ͧ��ҹ bomb mail ��ѧ mail box �ͧ������� ��������Ţ����ͧ������� ���� ����ͧ SMTP �ͧ��ҹ����ͧ
POP server �������
Post office protocol server ��ͺ�ԡ���Ѻ-����Ũҡ mail server �Ѻ����ͧ�ͧ��Ҫԡ ��ԡ�ù�� ���������ö��ҹ mail ������Ͷ�� ���� PDA ���ҷ�ҹ�� mail �ͧ thaimail.com ���� web-based mail ����Դ��ҹ e-mail ��ҡ web ��ҹ�� ���Դ���� outlook ���� pda �����
4. Database server
��� ����ͧ��ԡ�â����� ����Դ����������������� ź ������� ����Ѻ�������ԡ���к��ҹ�����ŷ������� ���� MYSQL ���� Microsoft Access �繵� �¼�����ͧ��¹�������觻����ż� ��Ѻ��ا������ ���͹Ӣ��������ǹ��赹�ͧ���Է��� �������ͧ���
5. Proxy ���� NAT server
���͡��� ���������(Proxy server)
��� ����ͧ�������ç��ҧ�����ҧ����ͧ�١�Ѻ�Թ������ ��������ͧ�١����͢��·����������Դ��͡Ѻ�Թ�������µç ���������ͧ�١���¡�٢����� ���觤Ӣ��������ͧ Proxy server ��Ф��Ң����Ź��� ����ͧ Proxy server ������������ �ҡ�ա���觡�Ѻ��������ͧ�١ ������͡��Ҩҡ���觢����Ũ�ԧ ���Т����Ź�鹶١���˹��¤����Ӣͧ����ͧ Proxy server ���� �֧�繡��Ŵ���Тͧ�к����͢��� �����͡仹͡���͢����������� �������� Proxy server ��˹�ҷ���� Cache server ��˹�ҷ���红����ŷ����������ͧ�� �ҡ�ա����ͧ�͢����ŷ�������� proxy ����͡�����Թ������ ���ǹӡ�Ѻ����� cache ����ͼ�����ҹ��蹵�ͧ��� ��йӨҡ cache �����ѹ�� ����Ѻ Proxy server ��������� Linux �� Squid �ѡ����ԡ�÷�� port 3128 �繵�
Proxy server ��� ����ͧ��ԡ�÷���˹�ҷ���ŧ address �ͧ����ͧ�鹷ҧ������� package ����ѧ local host �����ŧ address ���·ҧ ������� package ����ѧ localhost ���ѡɳз��Ѵਹ�ͧ proxy server ��͡�÷� caching ����� local host ��Ҷ֧������ ��� � �ѹ���µç�ҡ����ͧ��ԡ�� � local network ����ͧ�͡仹͡���͢�����������
NAT (Network Address Translation)
��� �س���ѵ�˹�觢ͧ���ᨡ IP ���͡�÷� IP Sharing ��������͢��¢�Ҵ�˭���� Local IP ���� Fake IP ����� Real IP ����ҧ��ǹ ���������ͧ��ԡ�úҧ�������˹�ҷ���˹� Local IP �������ͧ�١ ���������ͧ�١��ͧ����͡���ҹ�����Ũҡ�Թ������ ����� Real IP �͡� �ҡ�ѡɳдѧ���ҧ �Ҩ���������ͧ����� NAT server ��˹�ҷ���� Firewall ����ͧ����ͧ�١ ���Ш�������÷�Һ Local IP �ͧ����ͧ�ͧ����� ���ͧ�ҡ����͡�����Թ�����絨��� IP �ͧ NAT server ���� �֧��������������������ͧ�١���µç ����� NAT server �Ҩ�����繵�ͧ��س���ѵ� Cache server ���� ��������ͧ����� Proxy server ������ѡ��Ҿ��� ����������ǡ�������ͧ����˹�ҷ���� NAT ��§���ҧ���� ����Ѻ���������˹�ҷ���� NAT server �� WinGate, WinRoute, WinProxy ���� ICS(Internet Connection Sharing) �繵�
6. DHCP server
DHCP(Dynamic Host Configuration Protocol)
��� ��ⵤ�ŷ����㹡�á�˹� IP Address �ѵ��ѵ�������ͧ�١���º��к� ���Դ��� TCP/IP ����Ѻ DHCP server ��˹�ҷ��ᨡ IP ����͢����������� �繡��Ŵ������ӫ�͹ ���������ͧ�١����� boot ��Т� IP address, Subnet mark, �����Ţ DNS ��� Default gateway
��鹵͹����������ͧ͢����ͧ�١�Ѻ DHCP server
1. ����ͧ�١��������ͧ DHCP server ����͢��� ���� DHCP discover ������ͧ�� IP address
2. DHCP server �Ф��� IP �����ҧ����㹰ҹ������ ������ DHCP offer ��ѧ��������ͧ�١
3. ���������ͧ�١���Ѻ IP ������ѭ�ҳ�ͺ��Ѻ DHCP Request �������ͧ����Һ
4. DHCP server ���ѭ�ҳ DHCP Ack ��Ѻ��������ͧ�١ ����������������ҹ��
11.7 ��Ժѵԡ�ý֡��������к���Ժѵԡ�� Redhat Linux - �֡�Դ����к���Ժѵԡ�� linux �������ԡ��Ẻ��ҧ �
- �֡��ҹ����觵��仹��
�ҡ˹ѧ��� Korn shell �� john valley ���� ��Թ��� ����Ե� 2538
ar at atq atrm awk banner basenamebatch bdiff bfs cal calendar cancel cat chgrp chmod chown clear cmp col comm compress cp cpio crontab crypt csh csplit ct ctags cu cutdate dc dd deroff df diff dircmp dirname disable du echo ed edit egrep enable env ex expr exstr face factor false fgrep file find finger fmli fmt fmtmsg fold ftp gcore gencat getopt getoptcvt gettxt grep group hashcheck hashmake head iconv id ipcrm ipcs ismpx join jterm jwin kill ksh last layers line listusers ln login logname lp lpstat ls mail mailalias mailx makekey mesg mkdir mkmsgs more mv nawk newform newgrp news nice nl nohup notify od pack page pcat passwd paste pg pr printf priocntl ps pwd rcp relogin rlogin rm rmdir rsh ruptime rwho sag sar script sdiff sed sh shl sleep sort spell spellin split srchtxt strchg strconf strings stty su sum sync tabs tail talk tar tee telnet test tftp timex touch tputtr true truss tty uname uncompress uniq units unpack vacation vi wc who whois write xargs zcat
- �鹤��Ң���������ǡѺ �к���Ժѵԡ�� Linux �ҡ�Թ������ ���Ƿ���§ҹ ����觵��᷹���ʹ�˹�Ҫ��
��������ͧ���ͺ Virtualbox Blog : ���ͺ virtualbox + mint13 + debian + teamviewer + winxp + win7 + lan + wi-fi������� ��ͧ����� linux � virtualbox ������ͧ�Թ����� xp ��� win7
������������������� ���ѭ��ᵡ��ҧ�ѹ�
�óշ�� 3 ����ͧ��� �����Ը���䢵�ҧ�ѹ� �ѧ��� A. �˵ط���Դ �ó� LAB Winxp
1. ��ͧ������ mint13 � virtualbox �Ѻ����ͧ���ͧ lab �� lan �� winxp
2. ��ѧ�� bridge network �����ҧ virtualbox + network conection
���� ip ���� �繡����� ip �ͧ virtualbox ��� network connection
3. ���仡�˹�� virtualbox network : mint13 ����� bridge ������ҧ���
4. ��ѧ start mint13 ����� #apt-get install telnetd
5. ���ͺ telnet ���� mint13 � windows ��Шҡ��ҧ����ͧ ��辺�ѭ��

B. �˵ط���Դ �ó� Office Win7
1. ��ͧ������ mint13 � virtualbox �Ѻ����ͧ���ͧ office �� lan �� win7
2. ��ѧ�� bridge network �����ҧ virtualbox + network conection
���� ip 2 ���� ��� network connection �Ѻ bridge network ��ҧ�ѹ
3. ���仡�˹�� virtualbox network : mint13 ����� bridge ������ҧ���
4. ��ѧ start mint13 ����� #apt-get install telnetd
5. ���ͺ telnet ��� ip �ͧ virtual network ��辺�ѭ��

C.1 �˵ط���Դ �ó� Wi-fi Winxp
1. ��ͧ������ debian � virtualbox �Ѻ����ͧ notebook �� wi-fi �� winxp
2. ��ѧ�� bridge network �����ҧ virtualbox + network conection
���� ip 2 ���� ��� network connection �Ѻ bridge network ����ҧ�ѹ
��� winxp ����� ��˹� ip �ա��������ѵ��ѵ� �����к���ͧ��� ip ���ѹ �֧��ͧ�������
���������� ip �ͧ bridge network ����͡�˹� ip ����羺����к�����ͧ
��� debian ��� net ����� ���� bridge ������ҧ��������������Ѻ���͢����µç
3. ���仡�˹�� virtualbox network : debian ����� bridge ������ҧ���
4. ���ͺ telnet ��� ip �ͧ virtual network ��辺�ѭ�� ����Ҩҡ��ҧ����ͧ�����

C.2 ������ (�����������)
1. ��� debian � virtualbox Ẻ��ҹ nat network (����� bridge)
2. ��ѧ start debian ����� #apt-get install telnetd
3. ��� power-off debian ���������������͢����������稺� winxp
4. ��ѧ�� bridge network �����ҧ virtualbox + network conection
���� ip 2 ���� ��� network connection �Ѻ bridge network ����ҧ�ѹ
�� wi-fi �� winxp ������˹� ip �ա��������ѵ��ѵ� �����к���ͧ��� ip ���ѹ �֧��ͧ�������
���������� ip �ͧ bridge network ����͡�˹� ip ����羺����к�����ͧ
��� debian ��� net ����� ���� bridge ������ҧ��������������Ѻ���͢����µç
5. � windows �ͧ����ͧ����ö��� debian ��ҹ telnet ��
6. ��� run Ẻ���Դ��� teamviewer7 (���͡ install ���� run ��)�� windows
7. �������ͧ㴵�ͧ������ debian ��ҹ telnet ���͡ id �Ѻ password ��еԴ��� TV7 �����ͧ���
8. ��Ǩ�����Ţ ip ���� #ifconfig �� debian �ѧ���Ҿ
�� 192.168.2.3 ��� ip �ͧ bridge ����˹�Ẻ manual
��� 192.168.2.5 ��� ip �ͧ windows ���� host

Blog : �ٺع�� 4 �����¹ [10]

องค์ประกอบของระบบปฏิบัติการลีนุกซ์ (Linux) ประกอบด้วยกี่ส่วน

��к���Ժѵԡ�� (Operating System)� �ͧ ��.��.��ɴ� �ѹ��ԡ��� ������� 10-13 �к���Ժѵԡ���ٺع�� �������ҹ˹�� 238 ������� ����� �ٺع�� (Ubuntu) �Ѳ�ҵ���ʹ�ҡ ���¹ (Debian) ��觵�ҧ���չء�� (Linux) ����� Open source ����� GPL (General Public License) ��� �ѭ��͹حҵ㹡�ù���� ���ѭ�� GPL ��Ѻ�á��¹�� Richard Stallman ��ǹ Linux Kernal �ռ������������ Linus Torvalds (�Ź�� ������ŵ��) �ٺع�ٶ١�Ѳ���������ö��Ѻ PC, Notebook ���� Server ������ٺع���繤Өҡ���ҫ������⤫���Ϳ�ԡ��� ���¶֧ �����������ªҵԷء�� (Humanity to Others) ������˹�ҷ���Ѳ���ٺع�� ��� Mark Shuttleworth ��к���ѷ��⹹Ԥ�� ���������ٺع������ͧ�������Ѻ�ء��

����� 10 ����ѵ�
� ����ѵԢͧ�ٺع��
� �������������蹢ͧ�ٺع��
����� 11 �Դ���
� �Դ��������ͧ����
� �Դ������������ Ẻ�� Partition
� �Դ������� Install inside windows
����� 12 �����ҹ�ٺع��
� ˹�Ҩ���ѡ
� ��ǹ��Сͺ��ѡ
� ��èѴ����ʡ�ͻ
� �����ҹ������������
� ������������鹰ҹ
����� 13 ���������ء��
� Openoffice
� Firefox
� Pidgin ����Ѻ���᪷���ºѭ��
� ����������Ѻ�ػ�ó� �ҷ� mouse, printer, graphic card
� ����� Visual Effects �ͧ�ٺع��
http://www.thaiall.com/blog/burin/8311/
Ubuntu �¡��������� �ѧ���
1. Kubuntu ����к�����Ѻ��ҹ�� Desktop ����Ѻ�����
2. Xubuntu ���� Lubuntu ����к�����Ѻ����������� ���Ѿ�ҡù���
3. edubuntu ��� �к�����Ѻ�ѡ���¹ �ѡ�֡�� ���;���ͧ�Դ�Ţ�ӹdz�ٵ÷ҧ��� ���ԡ��
4. gobuntu ��� �к�����Ѻ���������Ǫҭ����ջ��ʺ��ó� �֧������������ �;���प��

�й���Ǣ�� Linux distro Linux Distribution (��ҹ��� �Թء���ʷ�Ժ�Ǫѹ) �������¡������ Linux Distro (��ҹ��� �Թء������) ��� �к���Ժѵԡ���Թء����١�͡Ẻ��л�Ѻ�� ���͡��ᨡ���� �¡�ù�����к���Ժѵԡ���Թء���һ�Ѻ����������Ϳ�������鹰ҹ��ҧ � ������� �� ������ǹ�Դ��ͼ����, ������Ѵ������, ���������Ѻ��˹ѧ-�ѧ�ŧ, ����������������� �繵� ��ػ��� �Թء���������к���Ժѵԡ���Թء��Ẻ������ٻ �������ҹ ����͵Դ�������᷺������ͧ��Ѻ�����͵Դ��駫Ϳ������������� ��ҹ��ѹ�� �� Arch Linux, Debian, Ubuntu, Linux Mint, openSUSE, Red Hat ��� Fedora �繵�
��ҹ���������� https://poundxi.com
����ͧ 4 �չء�������ش������Ѻ�����������
��ҹ�ҡ������� linux.com �ͧ JACK WALLEN ����� 6 ���Ҥ� 2017 ����ͧ 4 �չء�� ����� ����Ѻ�����������շ�Ѿ�ҡù��� �����������к���Ժѵԡ�� (Operating System) ����ͧ��÷�Ѿ�ҡù��� �Ъ��»�ء�վ��������������ͧ�������Ѻ����ҹ���ա �����к���Ժѵԡ����������ͧ���Ѿ�ҡ��ҡ ��� Linux Lite , Bodhi Linux , Puppy Linux , Lubuntu (Winner)
���������ء�캹�к���Ժѵԡ���ٺع�� 㹺���� 13 ���������ء�캹�к���Ժѵԡ���ٺع�� �ҡ˹ѧ��� �к���Ժѵԡ�� �ͧ ��.��.��ɴ� �ѹ��ԡ��� ����� �й����������ء����� 5 ��Ǣ�� ��� 1) ����� OpenOffice.org 2) ����� Firefox 3) ����� Pidgin 4) �����ҹ�к���Ժѵԡ���ٺع�������Ѻ�ػ�ó� 5) �����ҹ Visual Effects
1. ����� OpenOffice.org
��� �ش������ӹѡ�ҹ 㹪ش����Сͺ���� Writer, Calc ��� Impress 㹪ش LibreOffice ����������ǡѹ ��� Writer, Calc ��� Impress
2. ����� Firefox
��� ����� Web Browser �������ͧ�š�͹�Ź�
3. ����� Pidgin
��� ������Դ���������� �� Internet Messenger ����ͧ�Ѻ����������͡Ѻ���¤��� �ҷ� MSN, QQ, ICQ, Google Talk, AIM
4. �����ҹ�к���Ժѵԡ���ٺع�������Ѻ�ػ�ó�
��� ��û�Ѻ��������ػ�ó��ҧ � �ҷ� Mouse, Printer
5. �����ҹ Visual Effects
��� ෤�Ԥ������������ ���������ҹ Desktop ����ʧ ��кԴ�����˹�ҵ�ҧ���ҧ��§�� ���¡�õԴ��� Compiz manager ���ͷ� Desktop cube
��� - �ͺ ��ǹ˹�����º���§�ҡ˹ѧ��ͧ͢ ��.��.��ɴ� �ѹ��ԡ���
��� �ٺع�� (Ubuntu) �Ѳ�ҵ���ʹ�Ҩҡ����
�ͺ ����ʹ�Ҩҡ ���¹ (Debian) ��觵�ҧ���չء�� (Linux) ����� Open source ����� GPL (General Public License) ��� �ѭ��͹حҵ㹡�ù���� ���ѭ�� GPL ��Ѻ�á��¹�� Richard Stallman
��� ���繼����������Ѳ�� Linux Kernal
�ͺ ������������� Linus Torvalds (�Ź�� ������ŵ��)
��� ����� �ٺع�� �繤ӷ���Ҩҡ����
�ͺ �Ҩҡ���ҫ������⤫���Ϳ�ԡ��� ���¶֧ �����������ªҵԷء�� (Humanity to Others)