Linux File server
Linux file server allows to share files from a centralized location in networked Computer. Linux file server uses “Samba” to share files with windows based computers which is an Open Source software. Let us understand about Linux File server using Samba on Ubuntu 16.04.
Install Samba in Ubuntu 16.04
Following are the steps to install Samba in Ubuntu 16.04.
- Open terminal and run below command for Samba installation
- To access from windows, it is needed to Create a Samba user account and set a password for it
Let us see how to configure a file using Samba.
- To configure samba file, run this command in terminal
Add this at end of the file:
path = /home/user_name/folder_name
valid users = user_name
read only = no
Save and exit.
- Run below the command to restart Samba, after file configuration
- Testparm is used to check the configuration file for internal correctness. If the testparm doesn’t specifies any problem, make sure smbd will successfully load the configuration file
- If the testparm is passed successfully, Samba is working
Granting permission to sharing file
In samba, we will be granting permission to the sharing file.
- Right-click sharing file->choose Properties->Grant Permission to the sharing file->Click Change Permission for enclosed files
- Change Permissions for enclosed files page will display and review properties once and then click change. Now permission is granted to sharing file
- For sharing this file, Choose Local Network share from Properties->Click share this folder->Click Modify share
File server using samba
Let us we see how samba server is accessed through windows.
Samba grant platform offers great flexibility to users for sharing.Like what you read? Rate us