Turn Ubuntu 13.10 into a powerful file server

This tutorial is going to show you how to turn your Ubuntu 13.10 into a powerful file server using Samba. Its not a hard work to create a file server using Ubuntu. With few steps we can have a powerful file server at home at no cost. First, you must have the following items in order to have a file server:

  • A PC or a Virtual Machine
  • Ubuntu 13.10 or any other Ubuntu version.
  • Internet connection to download some packages from the internet

Ok lets get started. I assume we already have a working Ubuntu 13.10 desktop or server edition on a PC or Virtual Machine. Now we need to install Samba first. Use this command to install Samba on Ubuntu 13.10

sudo apt-get install samba smbfs

Ubuntu will then download required packages to install samba. When finished, we need to configure smb.conf

sudo nano /etc/samba/smb.conf

Uncomment the following section to enable the user authentication on Samba

security = user

Next, is to enable the Home directory for all Samba users. Uncomment the following section:

[homes]
comment = Home Directories
read only = No
create mask = 0775
directory mask = 0775
browseable = No

Close the smb.conf and restart samba

sudo service smbd restart

Now we need to add users to Samba

sudo smbpasswd -a dhani

dhani is my username. Change it accordingly. Now you can access your file server from any Linux or Windows machine. On Windows, simply open Windows explorer and type \\192.168.2.103 Change the IP address match with your Ubuntu IP address.

ubuntu-samba

Ariel

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.