Raspbian: Instalasi SAMBA untuk file sharing

From OnnoWiki
Revision as of 08:41, 18 September 2014 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Instalasi

apt-get install samba cifs-utils

Menempelkan folder yang di sharing dari komputer lain. Pertama-tama buat folder tempat menempalnya, misalnya,

mkdir /var/data/media/temp
chmod -Rf 777 /var/data/media/temp
chown -Rf nobody.nogroup /var/data/media/temp

Mount

mount -t cifs //192.168.0.9/media /mnt/server9 -o username=xxxx -o password=123456789
mount -t cifs //192.168.0.9/media2 /mnt/server9-2 -o username=xxxx -o password=123456789