Difference between revisions of "Membuat Repository Ubuntu Lokal menggunakan NAS"

From OnnoWiki
Jump to navigation Jump to search
Line 20: Line 20:
 
Jika tidak ada username & password gunakan
 
Jika tidak ada username & password gunakan
  
 +
mkdir /mnt/nas
 
  mount -t cifs //10.150.5.240/share /mnt/nas/ -o password=
 
  mount -t cifs //10.150.5.240/share /mnt/nas/ -o password=
  
==Mount
+
==Mount Repo NAS ke /var/data/repository==
 +
 
 +
Tempelkan Tempat Repository di NAS
 +
 
 +
mkdir /mnt/nas/repository
 +
mount --bind /mnt/nas/repository/ /var/data/repository/
 +
 
  
  

Revision as of 06:00, 21 February 2012

Asumsi kita akan menempelkan sebuah NAS

  • IP Address NAS : 10.150.5.240
  • Folder Share : share
  • username : usernamenas
  • password ; passwordnas
  • Folder Repo : share/repository/
  • Repo 9.10 : share/repository/repo-9.10
  • Repo 10.04 : share/repository/repo-10.4
  • Repo 10.10 : share/repository/repo-10.10
  • Repo 11.04 : share/repository/repo-11.04
  • Repo 11.10 : share/repository/repo-11.10
  • Repo 12.04 : share/repository/repo-12.04

Mount Folder NAS ke PC

mkdir /mnt/nas
mount -t cifs //10.150.5.240/share /mnt/nas/ -o password=passwordnas -o username=usernamenas

Jika tidak ada username & password gunakan

mkdir /mnt/nas
mount -t cifs //10.150.5.240/share /mnt/nas/ -o password=

Mount Repo NAS ke /var/data/repository

Tempelkan Tempat Repository di NAS

mkdir /mnt/nas/repository
mount --bind /mnt/nas/repository/ /var/data/repository/



Pranala Menarik