It's very simple to build a File Server on Linux for either Windows or Linux. All you need to do is install necessary package. In this post I will show you how to build a File Server on Linux using Samba.
Step 1: install Samba
sudo apt-get install samba |
Step 2: Edit installed file (
/etc/samba/smb.conf) and restart service
passdb backend = smbpasswd |
Step 3: add user into database
sudo smbpasswd -a itbox4vn |
Step 4: Configure shared Folder (
/etc/samba/smb.conf)
[Public Folder]
comment = Tai Lieu Chung
path = /home/itbox4vn/Shared
public = yes
writable = yes |
Step 5: Add permission for shared folder and restart service
chmod -R 777 /home/itbox4vn/Shared |
Have fun!