Most methods including the tutorials on official website did not work for me. Anyway this is how I could do it on my server and hope this will be helpful for someone who is going to simulate larger networking labs.
After configuring RAID Arrays for the server you can begin the installation process. If you don't know how to configure RAIDs please read Making Logical Disks from Physical Hard Disks (Configuring RAID Controller)
My Server Info:
Model : Dell PowerEdge 2970
CPUs : 2 x Dual-Core AMD Opteron™ 2222SE
RAM: 32 GB
Hard Disks: (4x73GB) + (4x600GB) configured as 1.2 TB + 145.5 GB logical hard disks by RAID
Installing Ubuntu 14.04
This exact image is no longer available to download from the official Ubuntu website. Instead they have 14.04.5 which is an updated version. I'm not sure it will work or not, but for me it didn't work. So from somewhere online, you will be able to find the 14.04.
You can check the integrity of the image by verifying the following MD5 hash.
01545fa976c8367b4f0d59169ac4866c
Create a bootable image with Rufus (download Rufus)
It will ask for this, select ISO image mode and hit ok.
After the bootable USB is ready, plug it to the server and boot it up.
Select Install Ubuntu Server.
From here it will be an easy to understand GUI.
It is better if the server is connected to a DHCP server and the server must have the reach-ability to internet.
(click on the images to view in full size)
Use "Guided - use entire disk and setup LVM" in partitions. it will save you some time..
For software selection, choose "OpenSSH Server". I chose "Virtual Machine Host" additionally..
Then it will ask to install Grub boot loader and will ask to reboot.. Continue with the procedure and wait till it comes up with login prompt..
Configuring Ubuntu for UNL and Installing UNL
Login from your username
Enter following commands to get privilaged access
sudo su
Enter your user password
Enter following commands to change root password
sudo passwd root
Enter following commands to edit sshd_config file to allow access to use root user ssh
nano /etc/ssh/sshd_config
Change this line:
PermitRootLogin without-password
to
PermitRootLogin yes
and save and exit..
now restart the SSH server:
sudo service ssh restart
Enter following command to install UNetLab..
curl -s http://www.unetlab.com/install.sh | bash
Now enter the following command to to edit the default grub.
nano /etc/default/grub
Change the following lines..
GRUB_DEFAULT=0
GRUB_TIMEOUT=0
to
GRUB_DEFAULT=saved
GRUB_TIMEOUT=2
and save and exit..
Now enter the following commands to make the "saved" kernel you placed in the /etc/default/grub to UNetLab one and update the grub..
grub-set-default "Advanced options for Ubuntu>Ubuntu, with Linux 3.16.7-ckt8-unetlab"
update-grub
Now it will ask for a reboot.. After the reboot, login as the root..
Now answer the questions for the poping up dialog boxes. It is now normal UNL configuration which is same as the installation on VMware Workstation. Please refer this if you are not familiar with it.
After answering the final dialog box, it will restart and boot up with the UNL kernel and if so everything will work fine..
GRUB_DEFAULT=0
GRUB_TIMEOUT=0
to
GRUB_DEFAULT=saved
GRUB_TIMEOUT=2
and save and exit..
Now enter the following commands to make the "saved" kernel you placed in the /etc/default/grub to UNetLab one and update the grub..
grub-set-default "Advanced options for Ubuntu>Ubuntu, with Linux 3.16.7-ckt8-unetlab"
update-grub
Now it will ask for a reboot.. After the reboot, login as the root..
Now answer the questions for the poping up dialog boxes. It is now normal UNL configuration which is same as the installation on VMware Workstation. Please refer this if you are not familiar with it.
After answering the final dialog box, it will restart and boot up with the UNL kernel and if so everything will work fine..
Enthusiastic words written in this blog helped me to enhance my skills as well as helped me to know how I can help myself on my own. I am really glad to come at this platform.
ReplyDeleteWindows Server CAL
Now day, everything is going to find a new but well settled and successful stream for their career. When I came to this blog, I really impressed by all the knowledge points mentioned here. Thank you for this assistance. server ขนาด เล็ก
ReplyDeleteall tһe time i useɗ to reaⅾ smallеr articles whіch also cⅼear their motive,
ReplyDeleteand that is also happening wіth this piece of
writing whiϲh I am reading at this time.
navigаte to these guys : Top Encrʏption Sօftware Choices & Here Are Eight Ways To
How To Encryρt A Password For Freе Faster
I'm realⅼy impressed with youг wrіting skills and also witһ the layout ߋn your weblog.
ReplyDeleteIs this a paid theme or did you customize it yourself? Anyᴡay keep up the nice quality writing, it's rare to see a nice blog like this one nowadays.
Get More Infoгmation : Top Choices Of Еncryption Software & Failures
Makе You How Ꭲо Encrypt A Password For Free Ᏼetter Only If
You Undеrstand These Eight Thіngs
Grеat sitе. A lot of helpful information here. I am sending it to
ReplyDeletea few buddies ans also shaгing in delicious. And certainly, thank you to your sweat!
my blog : How To Paѕѕword Protect Folder In 15 Minutes And Still Look Your Best