Share Drives and Folders in Ubuntu Server across the Network
You should already have Samba Windows File Sharing installed if you follow “How to Install Ubuntu Home Media Server“. If not use the following commands to install Samba Windows File Sharing:
sudo apt-get update
sudo apt-get install samba
To Restart Samba:
sudo service smbd restart
Create and share folders across your network:
Step 1: Create folder
cd /home/YourUserName
mkdir testfolder
Step 2: Change permission
chmod -R 777 /home/YourUserName/testfolder
Step 3: Share folder
- Click on Servers -> Samba Windows File Sharing -> Create a new file share
- Share name: Give your share folder a name
- Directory to Share: Select the directory that you want to share such as “/home/YourUserName/testfolder”
- Create with permission: type 777 for full access.
- Click “Create“
- Click on the Share Name you just created -> Click on “Security and Access Control” -> Select “Yes” for writable, Guest Access “Yes”.
Now you can access your folder through other computer in your window explorer.
Like This Post:
Leave a Reply