Difference between revisions of "Raspbian: install samba file sharing server"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "Instalasi sudo apt-get install samba cifs-utils Konfigurasi vi /etc/samba/smb.conf Tambahkan [public] path = /home/public available = yes browsable = yes public =...") |
Onnowpurbo (talk | contribs) |
||
Line 22: | Line 22: | ||
public = yes | public = yes | ||
writable = no | writable = no | ||
+ | |||
+ | Kemudian buat directory, ubah permission & owner yang dibutuhkan | ||
+ | |||
+ | mkdir /home/public | ||
+ | mkdir /home/data | ||
+ | chown -Rf nobody.nogroup /home/public | ||
+ | chown -Rf nobody.nogroup /home/data | ||
+ | chmod -Rf 777 /home/public | ||
+ | chmod -Rf 644 /home/data |
Revision as of 05:32, 9 October 2018
Instalasi
sudo apt-get install samba cifs-utils
Konfigurasi
vi /etc/samba/smb.conf
Tambahkan
[public] path = /home/public available = yes browsable = yes public = yes writable = yes [data] path = /home/data available = yes browsable = yes public = yes writable = no
Kemudian buat directory, ubah permission & owner yang dibutuhkan
mkdir /home/public mkdir /home/data chown -Rf nobody.nogroup /home/public chown -Rf nobody.nogroup /home/data chmod -Rf 777 /home/public chmod -Rf 644 /home/data