เราอยู่กลุ่ม 1 เตรียมเรียน Java มาอย่างดี ดันสลับกับกลุ่ม 2 เรียน Internet Server สลับกันซะงั้นแล้วกลุ่ม 2 ไม่มี Notebook เรียนไงหว่า ช่างมันเต๊อะ เข้าเรื่องดีกว่า
อาจารย์แนะนำ เว็บคอร์ส ที่ http://mike.cpe.ku.ac.th/214574
จากนั้นแนะนำ syllabus ดูได้ที่ http://mike.cpe.ku.ac.th/214574/index2.html
เข้าเนื้อหา อาจารย์แนะนำ Linux CentOS
http://mike.cpe.ku.ac.th/214574/pdf/Linux%20Installation.pdf
CentOS
- CentOS distribution มาจาก Red Hat Enterprise Linux ซึ่งเป็น Commercial Support
System Requirement
- Support คล้ายกับ RHEL
- Intel x86 etc.
- RAM 256 Minimum
- DVD or CD drive , PXE Installation from HD
- HD Personal Desktop 2.3G ,Workstation 3G ,Server 1G, Everyting 7G , Minimum 620m
Predefined Installation Class
- Personal Desktop
- Workstation
- Server
- Custom
Installation Method
- CD-Rom
- Hard Drive
- NFS(Network File System)
- FTP
- HTTP
Installation Step(21 step)
- Insert DVD into the DVD Drive
- Start your computer
- Boot install procedure
- Media check
- Continue
- Choose an installation language
- Choose a keyboard
- Choose install type
- Choose partition strategy
- For automatic partitioning,select partition option
- Review Partitions Screen
- Configure boot loader
- Configure advanced boot loader
- Configure Networking
- Choose a firewall configuration
- Choose language Support
- Choose a time zone
- set root password(1q2w3e4r)
- Select Packages (User Interface : Gnome,KDE,GUI)
- Decide to install
- Begin install
Hand-on Installation Linux (Fedora)
ทดลองติดตั้ง Fedora
ศึกษา Linux Command Line
http://mike.cpe.ku.ac.th/214574/pdf/Basic%20Linux%20Command.pdf
Permission ของ File จะมี 10 ช่อง
ตัวแรกเป็น Type เช่น ไฟล์ธรรมดา(-) หรือ โฟล์เดอร์ (d)
จากนั้นแบ่งตัวอักขระเป็น 3 กลุ่มๆละ 3 ตัวแยกตามลำดับดังนี้
- Owner
- Group
- Everyon
แต่ละกลุ่มจะมี
- read 4
- write 2
- execute 1
เราสามารถแทนสิทธิต่างๆด้วยตัวเลขเช่น 755
Command มีค่อนข้างเยอะดูเพิ่มเติม
โจทย์อยากดูรายละเอียดไฟล์บรรทัด 101 ถึง 120 ทำไงโดยใช้คำสั่ง head กับ tail
head - 120 install.log install.log tail -n 20
โจทย์ ไฟล์ในระบบที่มี สตริง org อยู่มีทั้งหมดกี่ไฟล์ (คำสั่ง find)
อาทิตย์ที่ 1 คุณควรจะทำอะไรได้บ้าง
- ติดตั้ง Linux ได้
- ศึกษาการใช้งาน Command
- ฝึกใช้ Command ให้คล่อง ศึกษาหาข้อมูลเพิ่มเติม
ปล. อาจารย์ไม่ซีเรียส ยืดหยุ่น เอาอาหารมาหม่ำๆในห้องได้
ไม่มีความคิดเห็น:
แสดงความคิดเห็น