Below, we’ll explain step by step how to install and configure the FreeBSD operating system on your Dedicated Server. Follow these instructions carefully to set up the operating system successfully and make the most of it.
This guide is based on FreeBSD 13.0. The steps may differ slightly when installing older or newer versions.
The entire FreeBSD 13.x branch (including 13.0) has reached End of Life and no longer receives security updates. For production environments, we recommend choosing a currently supported version from our ISO catalog, such as FreeBSD 14.0.
Before installing and configuring an operating system, you first need to mount the appropriate ISO image. You can do this from the Installation tab in the ZapX panel, using either an ISO from our catalog or your own ISO via URL.
If you’re not familiar with mounting an ISO file, we recommend following our initial setup or custom ISO guide.
Once the ISO has loaded successfully, the server will enter the setup process.
EnterChoose your preferred keyboard layout and select “Continue”.
Enter your desired hostname.
You can select optional system packages to install. When you’re done, confirm by selecting OK.
In this step, you can create partitions. In this example, we’re using RAID 0. For more information about RAID, see Configuring RAID.
If no changes are needed, you can continue by pressing Enter.
Since we’re using RAID 0, we won’t select any redundancy.
Select your volume with Space and confirm with Enter.
Confirm that all data will be erased.
Your server is now processing the setup. This may take a few minutes.
Enter your password and confirm with Enter.
Select “No” for the IPv4/IPv6 configuration; this will be done at the end.
Select “Yes” and set your time zone and date/time.
You can choose which services start automatically when the server boots.
If needed, you can adjust the security settings.
Setup is complete. Select “Exit” and confirm with Enter.
Unmount the ISO image in your iLO and select “Reboot”.
To activate the network device, log in to the system using your password.
Open the loader.conf file with an editor of your choice, for example, ee /boot/loader.conf, and add the following line:
if_oce_load="YES"
Exit the editor with CTRL+C, type exit, and then restart your Dedicated Server.
After the restart, we need to edit rc.conf, for example, with ee /etc/rc.conf, and add the following line:
ifconfig_oce0="DHCP"
The network adapter name in this example, oce0, may differ. Make sure to specify the correct network adapter. You can check this with the ifconfig command. The IP address will then be assigned automatically via DHCP.
It should look something like this:
Exit the editor with CTRL+C and type “exit”. Then run the /etc/netstart command once.
Your server should now have an active internet connection.