Difference between revisions of "Raspbian: install samba file sharing server"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 27: | Line 27: | ||
mkdir /home/public | mkdir /home/public | ||
mkdir /home/data | mkdir /home/data | ||
− | chown -Rf nobody | + | chown -Rf nobody: /home/public |
− | chown -Rf nobody | + | chown -Rf nobody: /home/data |
chmod -Rf 777 /home/public | chmod -Rf 777 /home/public | ||
− | chmod -Rf | + | chmod -Rf 777 /home/data |
+ | |||
+ | |||
+ | Restart | ||
+ | |||
+ | /etc/init.d/smbd restart | ||
+ | service smbd start | ||
+ | |||
+ | |||
+ | |||
+ | ==Pranala Menarik== | ||
+ | |||
+ | * [[Internet Offline]] |
Latest revision as of 08:31, 11 December 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: /home/public chown -Rf nobody: /home/data chmod -Rf 777 /home/public chmod -Rf 777 /home/data
Restart
/etc/init.d/smbd restart service smbd start