บทที่ 3. ติดตั้ง RahuNAS

สารบัญ

ตั้งค่าระบบปรับรุ่นโปรแกรม (APT)
ติดตั้ง Kernel Module
ติดตั้ง Packages

ตั้งค่าระบบปรับรุ่นโปรแกรม (APT)

ในการติดตั้ง RahuNAS จะต้องทำการดึงข้อมูล Packages จาก Debian Repository ที่ทาง RahuNAS Core Team ได้จัดทำไว้ คือ ftp://ftp.rahunas.org/rahunas โดยจะต้องเพิ่ม RahuNAS Repository เข้าไปยังรายการของ APT ก่อน

authen# echo "deb ftp://ftp.rahunas.org/rahunas/ unstable main contrib non-free" > /etc/apt/sources.list.d/rahunas.list
    

หลังจากเพิ่มเข้าไป ต้องทำการ Update list อีกครั้ง

authen# apt-get update

Hit ftp://ftp.rahunas.org unstable Release.gpg
Hit ftp://ftp.rahunas.org unstable Release                                     
Ign ftp://ftp.rahunas.org unstable/main Packages/DiffIndex                     
Ign ftp://ftp.rahunas.org unstable/main Packages                      
Hit ftp://ftp.rahunas.org unstable/main Packages
...
...
    

นำเข้า Public key ของ RahuNAS Repository

authen# apt-get --allow-unauthenticated install rahunas-archive-keyring

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  rahunas-archive-keyring
0 upgraded, 1 newly installed, 0 to remove and 59 not upgraded.
Need to get 3378B of archives.
After this operation, 49.2kB of additional disk space will be used.
Get:1 http://ftp.rahunas.org unstable/main rahunas-archive-keyring 0.0.20081215 [3378B]
Fetched 3378B in 0s (270kB/s)
Reading package fields... Done
Reading package status... Done
    

หากไม่เกิด Error ใด ๆ แสดงว่า ขณะนี้ระบบของเราเชื่อมต่อกับ RahuNAS Repository ได้แล้ว