Boot up your computer from the CD, DVD or virtual machine you created. After a few seconds you’ll be presented with the FreeBSD splash screen [screenshot]. If you need to figure out how to obtain FreeBSD as well as how to navigate the menu I got you covered [click here]. Right let’s go. Select the first option the one that says “Boot Multiuser [Enter]”. And after a few seconds you’ll be greeted with the “FreeBSD Installer” [screenshot]. Now select “Install” to launch the actual installation process.
The first thing you will be asked is what keymap to use [screenshot]. Here you choose a keyboard layout that would match the actual keys present on your keyboard. If you have a danish keyboard with special danish characters like I do, you would choose something like this [screenshot]. Right choose you keyboard layout using the arrow keys to scroll up or down then hit “Select” on the entry you would like to use. Finally scroll up to where it says “Continue with xyz.iso.kbd keymap” [screenshot] depending on what keymap you chose and hit “Select”.
“Just to clarify”
The keymap option determines what keys are actually present on your keyboard like country specific characters. This is not the same thing as selecting a country. It’s quite possible to select a country for example USA and have a danish keyboard with danish keys.
Next up you need to set the hostname i.e. computer name [screenshot]. The name is not important as it can be changed later. Normally on a home / private network you would use something with .local as extension. Whereas on a public network you would use something like .com .net .org and so on.
Next select what Components to install [screenshot]. To save yourself a lot of trouble later I recommend installing the “System source tree” now during the installation. Now it possible to install the System source tree after the installation is done, but the procedure may be just a bar to high for for beginners. I will not elaborate on the “System source tree” you will have to trust me on this one.
So next up is Disk usage and partitioning. You can choose between 2 methods. Ok so bright readers may have noticed that there are actually 4 methods. But the ones I’m talking about are “Auto” and “Manual” the other 2 are really for experienced users. Now if you want to keep your sanity and avoid headaches in the future I would highly suggest you go with the “Auto” approach, however if you feel adventurous I have a guide on how to partition the harddrive using the “Manual” approach [here].
Right Partition Scheme. [screenshot]. I recommend “GPT” if the only thing on the disk is FreeBSD, if you on the other hand wish to dual boot you should go with “MBR”. This guide assumes “GPT” is chosen. Select finish at the next screen [screenshot]. And finally commit the changes [screenshot]. The disk’s will be initialized [screenshot], FreeBSD as well as the options chosen earlier will be fetched from the current distribution, in this case the media we booted from. [screenshot]. The reason it’s saying “Fetching” is because it is possible to fetch this over the internet. Everything is then extracted and installed [screenshot]. All of this may take a few minutes.
Right allmost done. FreeBSD is more or less installed and all we need is to change a few configuration options. The first one you encounter is the question to supply a “root” i.e. superuser password [screenshot]. Now assume I don’t need to tell anyone that passwords such as “1234”, “test”, your moms name and the like are utterly stupid passwords and should be awoided. A fresh installation of FreeBSD does not come with a password policy so it is actually possible to use a password such as “1234”.
Network configuration. Select the network interface you wish to use with FreeBSD [screenshot]. Please note that the name shown may vary depending on the brand of your network interface. Select either between IPv4 or IPv6 [screenshot]. Beginners and intermediate users should probably go with IPv4. Select wether you would like to use DHCP or a static IP address. If you choose DHCP FreeBSD will try to acquire a DHCP lease. If successfully FreeBSD will automatically fill out the settings on your network interface as well as the network configuration. This guide assumes static IP (Preferred) to be used.
Select “No” to DHCP [screenshot]. Now you need to enter your interface configuration [screenshot]. Please note the IP numbers shown here are examples only. Next select “No” when you are being asked for Ipv6 [screenshot]. For the next one the resolver options you can leave the search field empty if you like [screenshot].
Right allmost there. Right almost there. The next few steps are mostly about localization. Select a region [screenshot]. Narrow it down [screenshot]. Accept the “Abbreviation” [screenshot]. Now adjust Time and Date, starting with month and year [screenshot]. And adjust the time if necessary [screenshot].
Final configuration. These options will let you chose various services that you would like to start up when the system boots. Select SSH and leave everything else blank [screenshot]. You can always install or enable these options later. This will also give you more control over how these options are being installed and or run.
System hardening. As with the above only check what you really need [screenshot].
Note about Sendmail.
I always disable this one. It’s nothing personal like I hate Sendmail, it’s just I hate Sendmail. I use either Qmail or Postfix in that order. Be warned if you disable the Sendmail service your system will not be able to send mail until you either install some other MTA or enable the Sendmail service.
User accounts. [screenshot]. Don’t add any users just yet, there is a perfect reason for this, like only the standard shell, and sch shell is present on the system so you will not be able to add a user with like a bash shell. So the recommended approach is to wait with adding users until bash and or other shells are installed.
And finally [screenshot]. Choose to reboot and we are done. FreeBSD will now boot the screen will look exactly the same as the first “Splash Screen” [screenshot]. Except this time it will boot FreeBSD and not the installer image.
“So you thought you where finished… But it was all a lie”
Now that we have FreeBSD installed there is still a few things todo, I refer to these as “Post Install Actions” the guide for this is located in the menu, but you can also [click here] to proceed.