How to Configure FTP Server in Ubuntu (Linux) 


How to build your own file server
How to build your own file server

Assemble Hardware
Assemble Hardware

Assemble a basic computer box from old parts
All you need are any old motherboards & chip then as Much RAM & as big of a hard drive as you can together




Install Linux
Install Linux 

Recommended Xubunt, Download from Xubuntu.org
Burn ISO to a CD & boot from It, Then install it on your Hard drive.
Follow the instructions.
Strip it Down
Strip it Down
Open Synaptic ( Application > System)
Remove openoffice.org-common,abiword,gaim,gimp,and thunderbird.
Click apply
Next search for updates, this is just generally a good idea!
Finally,disable the screen server ( Application > Setting).


Set up File Sharing
Set up File Sharing 



Open Synaptic again (Application > System).
search for sambha and mark if for installation
(you'll probably already have some of sambha installed ubuntu).

Open Terminal ( Application > Accessories > Terminal).
Become root (type "sudo su" without quotes then enter your password if required).
Change directory to/etc/sambha {type"cd/etc/sambha"}
Open smb.conf in nano {Type "nano smb.conf"}
Replace entire contents of smb.conf with following (replace "name"and "server Name" with your Xubuntu Installation.

Save and exit ( CTRL+X,then Y then ENTER)
Restart Sambha server(type"/etc/init.d/sambha restart")
Set a password (Type "smbpasswd -a Usename") then enter a password for user.
Add FTP Capability
Add FTP Capability
Open Terminal again ( Application > Accessories > Terminal)
Become root user (type "sudo su " and enter password)
Type "apt-get install proftpd"
When promoted, select Standalone server.
Configured the server (type"nano/etc/proftpd/proftpd.conf")
Replace the entire contents with the following:

Restart the server (type"/etc/init.d/proftpd restart")

Set Up Shell Access
Set Up Shell Access 

Open Synaptic again,
Install SSH Server: "openssh-server".
Install VNC Server."X11vnc".
Open Terminal and set the password:"vncpasswd-/.vnc/passwd".
Enter the port on which the server will run:"echo 5900>-/.vnc/port".
Create a custom login command:"sudo nano/usr/local/bin/sharex11vnc".
Paste this inside it,then save.
Fix the user rights:"sudo chmod 755/usr/local/bin/sharex11vnc."
Exit out of terminal and set the login script to autostart:
(Application > Setting >Autostarted Application > Add-then type in "sharex11vnc"into the fields nameand command).
"Sharex11vnc"into the fields name and command
Make your account autologin: Application > Setting >Login Window> Enable Automatic Logon(then select your users).
Now Your Own Server is Ready
Now Your Own Server is Ready


What Now?

Unplug the monitor,keyboard,cd drive & mouse
Plug the internet!
            Connect to your server via Putty or another similar program:
Type in the IP address of your server. 
(Remember to click "connection > SSH > Tunnel". 
The source port is 5900,the destination is localhost:5900
Now you can play around on your remote machine!
 Install great extras like torrentflux,apache,mysql and php!


If you find this article is useful don't forget to share on google plus & Facebook.