If you are bored with Linux and want to dive in to the Unix BSD world, FreeBSD is the OS you should start with. On this guide I’m going to explain you how to install FreeBSD on your KVM, VPS server. If you got a dedicated server don’t worry you can avoid the first few steps of this guide which is about configuring the drivers of KVM VPS, and start from there.
If you purchased a KVM VPS from a hosting company, mostly likely it will be handled through SolusVM control panel. So here I’m assuming that you got SolusVM login’s and lets start
Set the boot sequence and drivers on SolusVM ( skip this if you aren’t on KVM VPS )
Log in to the SolusVM and you will see the option to mount a CD-ROM to your VPS, On this we are going to mount the FreeBSD ROM
Here, I have mounted the FreeBSD 9.0 Netinstall ROM, Depending on your provider you might have the FreeBSD 9.1 which is the newest. But installation method for FreeBSD is the same. So choose the ROM and click Mount.
Then we need to set boot sequence of the VPS, On default, Hard Disk drive is set as first boot device but we need to change it to CD ROM then Hard disk to continue with the install
Also as you can see on the screenshot above, set the disk driver to IDE ( default ) instead of virtio, or depending on the freebsd version, the install might fail when you get in to the partitioning step.
That’s it on SolusVM. Now you need to log in to the server via VNC client. I use “gtk VNC Viewer” on my Ubuntu PC ( search application center for gtk if you want to install it on Ubuntu ). You can use tightvnc client if you are on windows. Login information to VNC will be given to you by your provider when you setup the server.
Now you need to issue a reboot on your VPS and log in to VNC
Log in via VNC to continue with FreeBSD installation
This FreeBSD boot screen will be presented to you on your VNC viewer after you reboot the server on previous step. Press 1 to continue with the boot, or after 5 seconds it will autoboot
Then it will ask what to do choose the “Install” option and hit Enter button
Remember moving through these options is done by arrow keys on your keyboard. Selecting is done by space bar and choosing it is done by Enter key.
On next step it will ask that if you want to set non-default mapping . simply choose No. Then it will ask for the hostname and enter the hostname that you want to use here.
On next step it will ask if you want to install additional documentation, games etc. On default games option is selected and you can save up some space by deselecting it by using the space bar. Then click Enter to go next step.
My CD-ROM is the FreeBSD netinstall version. Probably yours will be the same, Thats why its asking to download installation files from internet. Just choose OK.
And then it will ask to configure the network card and you can click enter.
Then it will present you the option to setup IPv4 and choose yes. IPv4 setup is easy, on next step when it asks to setup using DHCP choose yes.
Next it will ask for IPv6 setup. If you don’t have IPv6 addresses on your VPS or if you don’t want to setup IPv6 you can select No. IF you got IPv6 choose yes and proceed.
Then it will ask to choose the mirror. Choose suitable one and proceed.
After choosing the mirror, you will have to choose the partitioning method. Choose guided partitioning because it easy for a new bie.
On next step choose “Use entire partition” because this is the only OS that we are installing on the server.
As you can see from above screenshot, it will display the partition table and you can choose “Finish” . Then choose the option “Commit” and the installer will start downloading the files from freebsd servers.
Simply wait until this finishes, it will take time depending how fast your server’s internet connection is. After it finishes it will ask you to set root password like this
Simply set your root password and on next steps it will ask you to setup time etc. these are straightforward so im not going to explain about that here
Then it will ask to make any final changes by using shell and lets choose NO
Congratulations its done. On next step it will ask to reboot and do it. But remember the first boot device is still set as the CD rom. Go back to SolusVM and choose Hard drive as first boot device, otherwise the installed freeBSD wont load.
Last 5 posts by Ruchira
- Slotomania Free Slot Games Review - February 24th, 2015
- The Role of Social Media and SEO - October 25th, 2013
- Google announces uProxy to overcome internet censorship - October 22nd, 2013
- Command line bandwidth monitors for Linux - October 21st, 2013
- Problem Kids: When You Know How To Spy On iPhone Remotely, You Worry Less And Focus Better! - August 19th, 2013