Difference between revisions of "SMEOnffLine: Mengubah sources.list repository"

From OnnoWiki
Jump to navigation Jump to search
 
Line 2: Line 2:
  
 
  sudo cp /etc/apt/sources.list.contoh /etc/apt/sources.list
 
  sudo cp /etc/apt/sources.list.contoh /etc/apt/sources.list
  nano /etc/apt/sources.list
+
  sudo nano /etc/apt/sources.list
 +
sudo apt-get update
  
 
Ada beberapa contoh konfigurasi /etc/apt/sources.list yaitu
 
Ada beberapa contoh konfigurasi /etc/apt/sources.list yaitu

Latest revision as of 06:03, 6 January 2010

Copykan contoh konfigurasi & edit seperlunya, misalnya

sudo cp /etc/apt/sources.list.contoh /etc/apt/sources.list
sudo nano /etc/apt/sources.list
sudo apt-get update

Ada beberapa contoh konfigurasi /etc/apt/sources.list yaitu

/etc/apt/sources.list.untuk-web-ke-mesin-01

Repository Server untuk Ubuntu 9.10 berada di web server mesin 192.168.0.1

/etc/apt/sources.list.untuk-ftp-ke-mesin-01

Repository Server untuk Ubuntu 9.10 berada di FTP server mesin 192.168.0.1

/etc/apt/sources.list.untuk-ke-usb-harddisk

Repository Ubuntu 9.10 berada di USB harddisk /media/usbharddisk/repo-9.10/

/etc/apt/sources.list.untuk-var-data-repo

Repository Ubuntu 9.10 berada di folder /var/data/repo

Pranala Menarik