Assemble Hardware Requirement no.1: Assemble Hardware

Assemble your hardware..Harddrive an approx 250 GB, CD/DVD writer, MB board, processor and all stuff needs to build up a machine.

ubuntu icon

 

Requirement no. 2:
Install Linux ( I will go with Ubuntu)

Get ubuntu from Ubuntu.com and download server edition of Ubuntu, create a bootable cd and install it.

add-remove programs Requirement no. 3:
Uninstall some programs.

Remote some buildup programs like open office, pidgin, gimp, thunderbird, games, Graphics

Go to Application–> Application–> Add/Remove Programs

samba image

Requirement no. 4:
Setup Samba (File sharing).

Open synaptic Manager ( Application–> system)

Search for samba and mark it for installation.

After installation of Samba. Open smb file in terminal.

nano /etc/samba/smb.conf

Now time to configure some basic configuration in smb.conf file.

Replace name and server name.

workgroup = “Name”

netbios name = “Server name”

invalid users = root

security = user

wins support = no

encrypt passwords = true

passdb backend = smbpasswd

passwd program = /usr/bin/passwd %u

passwd chat =*EntersnewsUNIXspassword:* %nn *RetypesnewsUNIXspassword:* %nn .

#Share Definitions

[homes]

comment = Home Directories

browseable = yes

writable = yes

security mask = 0700

create mask = 0700

And then restart the samba server.

/etc/init.d/smb restart

Set the password for samba

#smbpasswd -a username

ftp image

Requirement no. 5: Install FTP Server (vsftpd)

Again open Synaptic from Application–>system.

search vsftpd and click to install it.

Some basic configuration to edit in ftp server, do follow

#nano /etc/vsftpd/vsftpd.conf

User ftp

Group nogroup

UserAlias anonymous ftp

MaxClients 10

AccessGrantMsg “Anonymous access granted for user %u connecting.”

MaxClientsPerHost 1

#DenyAll

TransferRate RETR 50

DenyAll

Open ssh server Requirement no. 6:
Install openSSH (for Shell Access)

Your Server is up and ready.

Access your server via putty and enjoy.

Cheeeerssss :)