Linux Server Administration from scratch Day one

Hey,what's up friends?
I hop you follow the last tutorial and got what I ask you for, VirtualBox and Debian Distribution.
Now,you need one more think,if you've your private server,you're out of this,if you don't pass with me to the next step,if you could pay for a static IP Address that's good,and if you don't it's great because you don't have to pay any thing,I'll show you something very practical for learning about Linux Server Administration.

First of all,install VirtualBox on your own machine,and as say before,is better to use a Linux as main system,and for sure install Debian(search for tutorial on the web for this if you don't know the right way to).

If you download the full version of Debian pass the second step:
- Enter you CD-Rom and run your Debian virtual machine on VirtualBox,open up your Terminal and make update and upgrade to the system,
- When upgrade finished,install openssh-server and openssh-client by this command:
sudo apt-get install openssh-server openssh-client   
 Now,if you've a private webserver or a static IP address skip this step:
 Open your terminal,switch the user to the root user by taping the simple command "SU" and enter the password,enter this command now: 
vi /etc/network/interfaces
now find this ("# The Primary network interface")-it's in the end of the file-now delete all what next it and right this:
#The Primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.100
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255


don't wary,I'll explain it now:
- The first line is just a simple comment.
- The second is telling the system that it must allow eth0 network to working as main network
- The third one is choosing the we choosing a static IP so our device will got the same IP address every time its power on,so the router will save it for all time.
- The fourth line is about choosing an IP,I choose 192.168.1.100 you could change the last number to any one you like(it's better to choose a number under 100),but keep the 1.
- The gateway line is about router IP address so did not change it.
- The sixth one is for netmask of the network,and did not change it.
- The seventh and the last lines is about from where the IPs start and where will end.

I think that it's enough for today,I hope you understand this course and I hope you'll enjoy me in the next ones because they'll be very impressive,see you soon.
I make it simple,you bring it simple

Comments