วันศุกร์ที่ 8 มิถุนายน พ.ศ. 2550

Workshop Internet Server 1

โอ๊ะ โอว !! เปลี่ยนห้องเรียนกระทันหัน มึนเล็กน้อย

เราอยู่กลุ่ม 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)

  1. Insert DVD into the DVD Drive
  2. Start your computer
  3. Boot install procedure
  4. Media check
  5. Continue
  6. Choose an installation language
  7. Choose a keyboard
  8. Choose install type
  9. Choose partition strategy
  10. For automatic partitioning,select partition option
  11. Review Partitions Screen
  12. Configure boot loader
  13. Configure advanced boot loader
  14. Configure Networking
  15. Choose a firewall configuration
  16. Choose language Support
  17. Choose a time zone
  18. set root password(1q2w3e4r)
  19. Select Packages (User Interface : Gnome,KDE,GUI)
  20. Decide to install
  21. 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 คุณควรจะทำอะไรได้บ้าง

  1. ติดตั้ง Linux ได้
  2. ศึกษาการใช้งาน Command
  3. ฝึกใช้ Command ให้คล่อง ศึกษาหาข้อมูลเพิ่มเติม

ปล. อาจารย์ไม่ซีเรียส ยืดหยุ่น เอาอาหารมาหม่ำๆในห้องได้

ไม่มีความคิดเห็น: