Tuesday, January 13, 2015

Ubuntu: วิธีติดตั้ง packages จาก ubuntu CD หรือ iso ไฟล์

Installing packages from ubuntu CD


จะติดตั้ง packages (lamp, ssh, ftp, dhcp, samba) ต่างๆจาก CD ได้อย่างไรโดยไม่มี internet connection ?

สามารถทำตามวิธีในลิ้งค์นี้
https://help.ubuntu.com/community/InstallingSoftware#Installing_packages_without_an_Internet_connection
----
SOLVED ----
รายการของแหล่งเก็บแพคเก็จต่างๆ(list of sources) สำหรับโปรแกรมช่วยติดตั้ง (apt) ที่จะใช้อ้างถึงอยู่ใน บรรทัดแรกคือ cd, ให้ uncomment โดยลบเครื่องหมาย # (hash) ข้างหน้า. โดยอาจใช้โปรแกรม nano แก้ไข (edit) เช่น:
$ sudo nano /etc/api/sources.list

Enter the password (ถ้าปรากฏ prompt)
และให้, คอมเมนท์ออก(comment away) สำหรับ  internet sources อื่่นๆ  โดยเพิ่มเครื่องหมาย # (hash) นำหน้า หลังจากนั้นให้ save the file by pressing  ctrl+o, และดำเนินการติดตั้งตามปกติต่อไป.

No comments:

Post a Comment