Thursday, September 19, 2013

Setting up a home file server

1. Download Ubuntu Server and copy to a usb stick using UNetbootin.

2. Boot your server from the usb stick.

3. The installation is pretty much straightforward. Just select "guided partitioning" and the disk/partition that you want to install to and the installer will do the rest.

4. When prompted for packages to install, select ssh-server and samba.

5. After booting into the new system we need to setup a few things.The 1st is to  set up a static IP so that you can connect to the server from elsewhere using ssh.

6. Next we need to setup samba so that we can share our files.

$ nano /etc/samba/smb.conf


Here we can change the workgroup name to match the workgroup name on the machines that will be connecting to the server (WORKGROUP is the Windows 7 default). We also need to specify the folders on the server that will be shared on the network. We do this by adding the following entry at the end of smb.conf:

[public]
comment = Just a comment
path = /path/to/share/point
read only = no
guest only = yes
guest ok = yes

Add one entry per share point and change the path accordingly.

7. Additionally we can install transmission so that our file server can grab torrents.

No comments:

Post a Comment