Install FreeBSDPublished on: 19.01.2021 17:00
The FreeBSD installer is in text mode, but it is very easy to make.
We just select "Install" on the first screen.
In the first step we go out the keyboard language. In our case we choose the German layout.
Next we will be guided by the hostname. In our case, we've heard the installation under VirtualBox.
Here we can now see the system rights that should be. We request "lib32" here if we want to lose a 32-bit program. We can know "ports" if we want to build it ourselves and "src" if we want to build the kernel ourselves.
Next, we can know how to partition the hard drive. We can partition it by hand or we can let the installer partition our hard drive automatically with UFS or ZFS. In our case we have UFS from as I have little experience with ZFS.
In this step we have to choose whether we want to take the entire hard drive or a specific partition to install.
Now we can see the partition scheme. If you have a UEFi system, choose GPT, run MBR.
The installer shows you a suggestion how it sees the hard drive partitioned. At this point you can still follow up with the editor
At this point we will change those responsible and start the installation process.
The basic system is installed with our selected packages.
We now choose our root password.
Next we select our network card, either WLAN or LAN.
Now the installer asks us if we want to use Ipv4 first and if we want to use DHCP. The same thing happens with Ipv6.
Stateless Address Autoconfiguration (SLAAC) is a method for stateless and automatic configuration of IPv6 addresses on a network interface. With “stateless” or “stateless” it is meant that the respective IPv6 address is not assigned and stored centrally. Accordingly, the host generates its own IPv6 address with the aid of additional information. SLAAC is the further development of procedures for classic IP auto-configuration under IP4. In contrast to IPv4, IPv6 routers play an active role in this. We choose.
We now see the configuration and confirm it.
In this step we can now set the time zone, we select Europe -> Germany.
Here we can see if the date is set correctly.
Here we can see whether the time is set correctly.
At this point we can choose which services are started when it starts. We select the following services:
- sshd: We can access our PC via SSH.
- nptdate: The system and network time are synchronized at start-up
- ntpd: The system and network time are synchronized
- dumpdev: Kernel Crash Dump is activated
We can now set a few security settings. Here we will set the following options:
- clear_tmp: The temp directory is deleted when the system starts.
- disable_sendmail: Sendmail is deactivated.
Now we are asked if we want to add more users.
When asked “Invite USER in other groups?” We will add our newly created user to the following groups: wheel operator dialer video
- wheel: allows root to be passed with the su command
- operator: required to use the su command and shut down the PC
- dialer: enables the use of the serial interfaces (with "cu" and "tip")
- video: enables access to the graphics card
Login class, leave it on "default" (we will change it later)
Home directory: Standard
We then choose a password and confirm the creation.
We can now complete the installation process.
At this point we could open a shell and edit it manually. But we don't want that.
We restart the PC and we have successfully installed FreeBSD.