Difference between revisions of "SAMBA: Menempelkan share directory remote ke folder lokal"

From OnnoWiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
  mount -t cifs //192.168.0.1/backup /mnt/backup -o password=
 
  mount -t cifs //192.168.0.1/backup /mnt/backup -o password=
 +
 +
contoh lain
 +
 +
sudo su
 +
 +
mkdir /mnt/public2
 +
mkdir /mnt/library2
 +
mkdir /mnt/backup2
 +
mkdir /mnt/media2
 +
mount -t cifs //192.168.0.2/public /mnt/public2 -o password=
 +
mount -t cifs //192.168.0.2/library /mnt/library2 -o password=
 +
mount -t cifs //192.168.0.2/backup /mnt/backup2 -o password=
 +
mount -t cifs //192.168.0.2/media /mnt/media2 -o password=
  
  

Revision as of 14:32, 12 December 2010

Buat folder tempat mount

mkdir /mnt/backup

mount folder backup di komputer 192.168.0.1 ke /mnt/backup

mount -t cifs //192.168.0.1/backup /mnt/backup -o password=

contoh lain

sudo su
mkdir /mnt/public2
mkdir /mnt/library2
mkdir /mnt/backup2
mkdir /mnt/media2
mount -t cifs //192.168.0.2/public /mnt/public2 -o password=
mount -t cifs //192.168.0.2/library /mnt/library2 -o password=
mount -t cifs //192.168.0.2/backup /mnt/backup2 -o password=
mount -t cifs //192.168.0.2/media /mnt/media2 -o password=


Pranala Menarik