How to setup File Server on Linux
If you own a Linux system then you can create a more reliable File Server. In Linux the process is different. Here you have more chances of security and permission manipulation. Linux is a kind of best operating system for server type work. It comes with samba which is a tool to create files on Linux. It is possible to configure Linux server on Windows network also. Linux plays a vital role in cost reductions. Because of its open source ability, Linux servers are much cheaper and they do not need superb hardware support also.
Creating File Server on Ubuntu
I will recommend you to use Ubuntu. Because, this is one of the most easy to use Linux Distro. There are ample of gui based interface which removes the issue of configuring everything on terminal mode. Ubuntu is free for download. All you will need is to add Samba in it.
To install samba type : sudo apt-get install samba in the terminal.
The config file of Samba is located here - /etc/samba/smb.con. This file has default configuration settings. You have to edit the file to set the server as per your need.
Go to /etc/samba/smb.conf and add the following values /etc/samba/smb.conf :
workgroup = yourworkgroupname
security = user.
Now below in the end you have to add the following code. This is necessary to define the directory you want to share on Linux network.
comment = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
- comment: this part consists of a short description or what you say sharing info.
- path: this part consist the sharing path. That is the place which you want to share.
- browsable: If you set this enable, then the users can view the share directory in an Explorer. If not then it will not be visible.
- guest ok: By settings the value to ok, the client computer can access the shared data without any providing any kind of password.
- read only: This is kind of file and folder permission. If you set this on read only then the user cannot modify the data in shared directory.
- create mask: it is helpful for determining the permissions of new files when they are created on the shared directory.
Once you are done with above configuration, you are done with shared directory creation. Launch the terminal and pass the following command :
sudo mkdir -p /srv/samba/share
sudo chown nobody.nogroup /srv/samba/share/
After proper execution of command you have to restart the server. Pass the following command in terminal :
sudo restart smbd
sudo restart nmbd
For more details you can use Ubuntu Server Guide
How to setup File Server on Mac operating system
It is much more easier to create a file server on Mac operating system. Just by simple settings you enable it. You just need to configure one pc as server. It is not only possible to configure File Server on network but also online. Mac operating system has inbuilt FTP server. You just need to first turn it on.
Click on Apple Menu > System Preferences > Sharing > Services > FTP Access > Start
The server will start working. Once you are done with that you can click on Firewall to ensure the network security. To manage Firewall settings click on FTP and then click Firewall on top. Ensure that Tick box is selected.