> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/bare-metal/dedicated-servers/how-tos/install-reinstall-the-servers-operating-system.md).

# Install/reinstall the server's operating system

***

With the Java-based console, you can mount any ISO file from your local computer. You can then restart the server and, during the boot process, choose to boot from a virtual CD-ROM containing the ISO file. This allows you to reinstall the server’s operating system by yourself. This is also the way to install an operating system if you chose to install the system yourself when you ordered the server.

{% hint style="warning" %}
Currently, the Java-based console isn't working for X10-based servers. If you wish to reinstall the operating system on an X10-based server, contact Glesys support at <support@glesys.se>.
{% endhint %}

See the guide [Connect to the server using IPMI](/products/bare-metal/dedicated-servers/how-tos/connect-to-the-server-using-ipmi.md) on how to connect to the server's IPMI interface, and the section about the [Java-based console](/products/bare-metal/dedicated-servers/how-tos/connect-to-the-server-using-ipmi.md#java-based-console) on how to find and launch it.

In the console, click on **Virtual Media**, then on **Virtual Storage**.

<div align="left"><figure><img src="/files/lqlQL8TeLp9npEMDVNup" alt=""><figcaption></figcaption></figure></div>

In the dialog box, select **ISO File** from the dropdown menu **Logical Drive Type**. Then, click the **Open Image** button. Here, choose an ISO file from the local computer.

<div align="left"><figure><img src="/files/fvUnsZlfKbkMSZChNeUC" alt=""><figcaption></figcaption></figure></div>

In the image below, we have selected an ISO file for FreeBSD. Next, click **Plug in**.

<div align="left"><figure><img src="/files/CwjVdtMhDq82pjtuFRPO" alt=""><figcaption></figcaption></figure></div>

Under *Connection Status History*, you can see if the ISO file has been mounted correctly. If it has, click **OK**.

<div align="left"><figure><img src="/files/DIDXUEmJXmiox4qOrUHm" alt=""><figcaption></figcaption></figure></div>

You can now restart the server to boot from the ISO file.

It is always best to restart the server from the operating system, for example, using the `reboot` command in Linux. However, if something is wrong with the current operating system and this is not possible, you can instead restart the server by performing a *power reset*. This function can be found under **Power Control → Set Power Reset** in the Java console. It is also available under **Remote Control → Power Control** on the IPMI page. Here, you have several options to shut down, power on, and reset the server. If your server is turned off, select **Power Control → Set Power On** in the Java console to turn it on after having mounted the ISO file.

When the server starts, and the screen below appears, press <kbd>F11</kbd> to open the boot menu.

<div align="left"><figure><img src="/files/qWqJkz2drA6OTP6x8Iiv" alt=""><figcaption></figcaption></figure></div>

When the boot menu opens, select **UEFI: ATEN Virtual CDROM YS0J** using the arrow keys and then press **Enter** to confirm.

<div align="left"><figure><img src="/files/UPPb7TWMb2REoswF3o8u" alt=""><figcaption></figcaption></figure></div>

After a short while, the operating system’s installation program starts from the ISO file.&#x20;

## Installing the OS

{% tabs %}
{% tab title="Debian 13" %}
When the Debian installation program starts, select **Graphical install** and press <kbd>Enter</kbd>.

<figure><img src="/files/tX266HWDE1Ei4QPd1xqJ" alt=""><figcaption></figcaption></figure>

Select your preferred language and click **Continue**.

<figure><img src="/files/jDHu8HHj1xNMvTeurLuG" alt=""><figcaption></figcaption></figure>

Next, select your location. In our example, we'll first select **other** and click **Continue**, then **Europe** and click **Continue**, and finally **Sweden**.

<figure><img src="/files/U9sWLi3bxSSC9fL1MNbP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/WItNdVSixhA13Xo7sHj9" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Qv6nBxOyV3qpVJnlPSYv" alt=""><figcaption></figcaption></figure>

In the next step, you'll select your preferred locale. In this case, we'll select **en\_US.UTF-8**. Click **Continue**.

<figure><img src="/files/xP3ZKTwW3Mq93UUtkJwH" alt=""><figcaption></figcaption></figure>

For keyboard layout, select the same as your local keyboard when using the Java console. This choice will only affect the console keyboard. SSH connections won't be affected by this.

{% hint style="info" %}
Should you encounter a key that doesn't print the desired character later on, you can try selecting the closest keyboard layout in the Java console by navigating to **Options → Preference**, and selecting the **Input** tab. For example, most special characters on a Swedish keyboard work by selecting a German layout in the Java console (except that Z and Y are switched).
{% endhint %}

<figure><img src="/files/KaWTto56AuwYIMqpTVOM" alt=""><figcaption></figcaption></figure>

When it's time to configure the network, select the *first* network interface if your server has several. In this case, the first interface is *eno1np0*. Then, click **Continue**.

<figure><img src="/files/wOPxECopM7n6h97gYSKR" alt=""><figcaption></figcaption></figure>

You'll then see a dialog warning you that the autoconfiguration has failed. This is expected since there's no DHCP in this network. Click **Continue** to move on.

<figure><img src="/files/U1okIBQCLB25kbHAIaoI" alt=""><figcaption></figcaption></figure>

In the next step, select **Configure network manually**, and click **Continue**.

<figure><img src="/files/sJCNyEO5DIGZuVlRk0ff" alt=""><figcaption></figcaption></figure>

You then need to enter the IP address and netmask of your dedicated server. This information was provided to you when you received all the information about your server as a secret via an email message. You can also find your dedicated server's IP address and netmask in the control panel under **IP address** in the left-hand side menu.

Enter the IP address and netmask in the field, in the form `xxx.xxx.xxx.xxx/yy` where yy is the netmask in slash notation.

If you need help converting the netmask between different formats, see [Convert the netmask between different formats](/products/connectivity/ip-addresses/how-tos/find-gateway-and-netmask/convert-the-netmask-between-different-formats.md).

<figure><img src="/files/T1F5Wt3ntlz1XiA7G64D" alt=""><figcaption></figcaption></figure>

Next up is the gateway. This information was also provided in the email you received. Enter the gateway address and click **Continue**.

<figure><img src="/files/NZ0DwGyaCKiHMz91ZvVS" alt=""><figcaption></figcaption></figure>

We also need to provide the IP addresses for the nameservers. This was also provided in the email, and most likely called DNS. Separate the nameservers with a space.

<figure><img src="/files/OYxXelFDaBaFGwo0qAGx" alt=""><figcaption></figcaption></figure>

You also need to provide a hostname for the server, which can be any word or name. Here, we'll use the name of the dedicated server. The suggested hostname comes from the PTR record for the IP address (which can be changed), and works fine. Click **Continue** when you have chosen a hostname.

<figure><img src="/files/IPTTPOfobncbNkoHQAQm" alt=""><figcaption></figcaption></figure>

You'll also need to enter a domain name. The suggested domain name comes from the PTR record of the IP address (which can be changed). You can set the domain name to, for example, the domain name of your company. You can also make something up here, but remember that the domain name will be used as the default for services such as Postfix. It can, however, be changed later if needed. Click **Continue** when you have chosen a domain name.

<figure><img src="/files/SYFeIUGL9EIdtfYzgN9Q" alt=""><figcaption></figcaption></figure>

Next, choose a password for the root user. Type the password in both fields. Click **Continue** when you have chosen a password. If you are using special characters and are unsure if it's being interpreted correctly, you can tick the box **Show Password in Clear**.

<figure><img src="/files/msMzWcaSG3JwCTFc4qcZ" alt=""><figcaption></figcaption></figure>

You now need to create a regular user for the system. The first step is to provide the new user's full name. Then, click **Continue**.

<figure><img src="/files/1PqOnDepRYhOGuIMlGZr" alt=""><figcaption></figcaption></figure>

Next, choose a username for the new user.

<figure><img src="/files/qjAeaBh8CZOv0KJiBzSZ" alt=""><figcaption></figcaption></figure>

Next, choose a password for the new user.

<figure><img src="/files/DIwidTQlQeEXnctqR4wX" alt=""><figcaption></figcaption></figure>

Now you have to partition the disk. In this example, we'll use the entire disk, so we'll select **Guided - use entire disk** and click **Continue**.

<figure><img src="/files/4hD2tpHAUIe3DV6I8SMW" alt=""><figcaption></figcaption></figure>

Next, select the disk where you want to install Debian. Most probably, there's only one disk (the RAID array), unless you opted to install several disks when you ordered the dedicated server.

<figure><img src="/files/OWE6dNv8tK2p6S5e6zz9" alt=""><figcaption></figcaption></figure>

Next, select how you'd like your partition scheme. Here, in this example, we'll select **All files in one partition** and click **Continue**.

<figure><img src="/files/4Tzh0sZntAJ5Eia1ppeg" alt=""><figcaption></figcaption></figure>

Next, review the partitioning. If everything seems fine, select **Finish partition and write changes to disk**, and click **Continue**.

<figure><img src="/files/iaJRe1CO8rksmVfExiSM" alt=""><figcaption></figcaption></figure>

Before actually writing the changes to disk (and hence destroying all data currently on it), you have to select **Yes** and click **Continue**. This is the final warning before writing the changes.

<figure><img src="/files/ZKhOwSHwGS59wgqcNtlG" alt=""><figcaption></figcaption></figure>

In the next step, select **No** for the question about scanning extra installation media.

<figure><img src="/files/M7O3nPmUVkgP0PoAFx4V" alt=""><figcaption></figcaption></figure>

Then, you configure the closest package mirror to use. Since this dedicated server is placed in Falkenberg, we select **Sweden**.

<figure><img src="/files/clvsd3mCMxMS42Qfh0dy" alt=""><figcaption></figcaption></figure>

Glesys runs a Debian mirror, so we select that one in the next step.

<figure><img src="/files/91l9nUFBnqfh9IfmgDU3" alt=""><figcaption></figcaption></figure>

For HTTP proxy, leave the field empty and click **Continue**.

<figure><img src="/files/5Thx9zX6fF88WC3ejKYC" alt=""><figcaption></figcaption></figure>

For the popularity contest, select **No** and click **Continue**.

<figure><img src="/files/efLaoKayuwerAVObj3y9" alt=""><figcaption></figcaption></figure>

In the next step, you'll select what software you want on your server. Since this is a server, we'll select **SSH server** and **standard system utilities**, and deselect everything else. You'll need the SSH server to log in to the server over the internet. Click **Continue** when you are satisfied with your software choices.

<figure><img src="/files/uMIt7a6kMz2uImsKsFYh" alt=""><figcaption></figcaption></figure>

The installation is now complete. In the next step, click **Continue** to reboot the server into the newly installed Debian system.

<figure><img src="/files/CniPgUT5QiMs6hPQpHrv" alt=""><figcaption></figcaption></figure>

You can now log in to the server, using either the Java console or SSH. For example, to log in over SSH with the user you created during setup:

{% code title="Command" %}

```
ssh glesys@203.0.113.72
```

{% endcode %}
{% endtab %}

{% tab title="Ubuntu 26.04" %}
When the GRUB menu shows from the Ubuntu ISO, select **Try or Install Ubuntu Server** using the arrow keys. Confirm the choice by pressing <kbd>Enter</kbd>.

<figure><img src="/files/ts5cIsWWULM06K0piOMd" alt=""><figcaption></figcaption></figure>

It will then take a while for the installation program to load. The ISO file is being streamed from your local computer, hence the delay.

When the installation program starts, you'll select your preferred language. Here, we'll select **English** and press <kbd>Enter</kbd>.

<figure><img src="/files/GiTscYrXEKRZBYhZTllW" alt=""><figcaption></figcaption></figure>

Then, select your local keyboard layout. Remember that the keyboard support in the Java console is somewhat limited. Also, note that this only affects the console, not SSH sessions.

{% hint style="info" %}
Should you encounter a key that doesn't print the desired character later on, you can try selecting the closest keyboard layout in the Java console by navigating to **Options → Preference**, and selecting the **Input** tab. For example, most special characters on a Swedish keyboard work by selecting a German layout in the Java console (except that Z and Y are switched).
{% endhint %}

In our example, we have selected a **Swedish** keyboard with the variant **Swedish (no dead keys)**. Once you have selected a keyboard layout, use the arrow keys to move the cursor to **Done** and press <kbd>Enter</kbd>.

<figure><img src="/files/4vLiPSS9LdynZetT0zZy" alt=""><figcaption></figcaption></figure>

On the next screen, accept the default by pressing <kbd>Enter</kbd> (the default is marked with an **X** for **Ubuntu Server**).

<figure><img src="/files/dMYvo2GgmS2oytPMxFwh" alt=""><figcaption></figcaption></figure>

Next up is the *Network Configuration*. Here, use the arrow keys to move the cursor up to the first network interface, for example, *eno1np0*, and press <kbd>Enter</kbd>. A new menu opens. Here, select **Edit IPv4** and press <kbd>Enter</kbd>.

<figure><img src="/files/AutZJikmZu22lLmkivjo" alt=""><figcaption></figcaption></figure>

On the next screen, press <kbd>Enter</kbd> on the *IPv4 Method* and select **Manual**. Here, enter the subnet mask and IP address for the server, as well as the default gateway and nameservers. These values were provided in the email you received from Glesys. You can also find them under **Networking → IP addresses** in the control panel.

If you need help converting the netmask between different formats, see [Convert the netmask between different formats](/products/connectivity/ip-addresses/how-tos/find-gateway-and-netmask/convert-the-netmask-between-different-formats.md).

When all the information is filled in, use the arrow keys to move down to **Save** and press <kbd>Enter</kbd>.

<figure><img src="/files/HHsZUZ0HnmXfuI98grET" alt=""><figcaption></figcaption></figure>

Use the arrow keys to move the cursor down to **Done** and press <kbd>Enter</kbd>.

<figure><img src="/files/JPyOoZdnEtA4lFUbjGGQ" alt=""><figcaption></figcaption></figure>

We aren't using any proxy, so press <kbd>Enter</kbd> on the next screen.

<figure><img src="/files/aVNFKUoyFxKCVkCk23NN" alt=""><figcaption></figcaption></figure>

On the next screen, press <kbd>Enter</kbd> when the mirror location test is finished.

<figure><img src="/files/KkhI8WaBXFwohBeYz6Xq" alt=""><figcaption></figcaption></figure>

Next up is the storage configuration. Unless you want to use your own partitioning scheme, use the arrow keys to move down to **Done** and press <kbd>Enter</kbd>.

<figure><img src="/files/R4GDdv9V6iR1dYUBQoAw" alt=""><figcaption></figcaption></figure>

Next, you can make some changes to the layout to better utilize the disk (optional). For example, by default, Ubuntu only uses a certain percentage for the root partition. Here, we'll expand the root partition so we can take advantage of the entire disk.

Go down to **ubuntu-lv** and press <kbd>Enter</kbd>.

<figure><img src="/files/p4lacZYcPssLh9CFnv5i" alt=""><figcaption></figcaption></figure>

Enter the size you want for the root partition. Here, in our case, we'll use the maximum size of 443.57 GB. Move down to **Save** and press <kbd>Enter</kbd> once you have entered the desired size.

<figure><img src="/files/C9tJyGdJpEY3x3Ho7BA1" alt=""><figcaption></figcaption></figure>

Move down to **Done** using the arrow keys and press <kbd>Enter</kbd>.

<figure><img src="/files/7kg2i1JqEoEN6Ppm7ToU" alt=""><figcaption></figcaption></figure>

On the final confirmation, select **Continue** and press <kbd>Enter</kbd>.

<figure><img src="/files/ZN6wqCROKah5fjCOPnPC" alt=""><figcaption></figcaption></figure>

You need to create a user and pick a name for the server. Enter the full name of the user, a username, the server's name, and choose a password for the user. Then, select **Done** and press <kbd>Enter</kbd>.

<figure><img src="/files/lOk6nTkb0aM1ls075ugd" alt=""><figcaption></figcaption></figure>

Unless you need or want *Ubuntu Pro*, select **Continue** (and make sure **Skip for now** is selected).

<figure><img src="/files/ot5pJZ6IHpTVCSlQ0SY2" alt=""><figcaption></figcaption></figure>

Next, mark **Install OpenSSH server** using <kbd>Space</kbd>. This will install the SSH server so you can log in to the server over SSH. Then, select **Done** and press <kbd>Enter</kbd>.

<figure><img src="/files/US1bIeeLR2ZKc3Xwsjan" alt=""><figcaption></figcaption></figure>

Select any services you want to have installed on your server as snap packages using <kbd>Space</kbd>. Then, use <kbd>Tab</kbd> to select **Done** and press <kbd>Enter</kbd>.

<figure><img src="/files/GhaFoO6t5Viq8iaHYJnz" alt=""><figcaption></figcaption></figure>

The installation will start now, which will take a while. Once the installation is complete, select **Reboot now** and press <kbd>Enter</kbd>.

<figure><img src="/files/jqTO8Wi5PKiWqCh29WNQ" alt=""><figcaption></figcaption></figure>

When the installer asks you to remove the installation medium, press <kbd>Enter</kbd> to continue to reboot.

<figure><img src="/files/w0uLteurUOoIZCWfXdpz" alt=""><figcaption></figcaption></figure>

Once the server is rebooted, you should be able to log in to it over SSH. For example:

{% code title="Command" %}

```
ssh example@203.0.113.72
```

{% endcode %}
{% endtab %}

{% tab title="Windows Server 2025" %}
When you see the text *Press any key to boot from CD or DVD*, press <kbd>Enter</kbd> or any other key. Otherwise, the Windows installation process won't start.

<figure><img src="/files/ZZr0uw7kaKDTFkNKAB9c" alt=""><figcaption></figcaption></figure>

First of all, you need to select the language and date/currency format you want to use in Windows Server. In this case, we'll select English for the language and Swedish for the format. Then, click **Next**.&#x20;

<figure><img src="/files/sP04mcwk9lANV7GO4jMW" alt=""><figcaption></figcaption></figure>

Then, select the local keyboard layout you use, and click **Next**.

{% hint style="info" %}
Should you encounter a key that doesn't print the desired character later on, you can try selecting the closest keyboard layout in the Java console by navigating to **Options → Preference**, and selecting the **Input** tab. For example, most special characters on a Swedish keyboard work by selecting a German layout in the Java console (except that Z and Y are switched).
{% endhint %}

<figure><img src="/files/vhDKKhlSvwIih9PGJFcN" alt=""><figcaption></figcaption></figure>

In the next step, select **Install Windows Server**. You also have to tick the box for **I agree everything will be deleted including files, apps, and settings**. Then, click **Next**. Keep in mind that this will delete everything previously installed on the server.

<figure><img src="/files/mT82jlqwZ5Ptok6sy16j" alt=""><figcaption></figcaption></figure>

Select which Windows image you want to install. In this example, we choose Windows Server 2025 Standard with a desktop environment. Click **Next** when you've made your choice.

<figure><img src="/files/G5ZePnh1Wrtoamqfyrdx" alt=""><figcaption></figcaption></figure>

Click **Accept** to accept the license terms.

<figure><img src="/files/8S8adjnLAwgfwaCRPBOw" alt=""><figcaption></figcaption></figure>

If there are any pre-existing partitions, delete them by marking them and clicking **Delete Partition** (*unless* they contain data you want to save). After all partitions are removed, create a new partition for Windows Server by clicking **Create Partition**.

<figure><img src="/files/lTiqYvwRVYXPKmGTMVAY" alt=""><figcaption></figcaption></figure>

A suggestion to use all the unused space for the new partition is now shown. Accept this by clicking **Apply**.

<figure><img src="/files/JhkHH00djRwZKgUJTHpS" alt=""><figcaption></figcaption></figure>

The partition layout is now shown. If it looks alright, click **Next** to continue.

<figure><img src="/files/kvi6rQNCWPP1KEqBTO8V" alt=""><figcaption></figcaption></figure>

Windows Server is now ready to be installed, and you are presented with an overview of your choices. If everything looks good and you are certain you want to install Windows, click **Install**. This will start the installation procedure, which will take quite a while to finish because the ISO is being streamed from your local computer. Several hours are expected.

<figure><img src="/files/MqUh5bpKXPGPwUaM69Ms" alt=""><figcaption></figcaption></figure>

When the installation is finished, you need to go through some settings. First, you need to set a password for the Administrator account. Once you have chosen a password, click **Finish**.

<figure><img src="/files/XrqFVrGJ0ABZtGT8jcUJ" alt=""><figcaption></figcaption></figure>

Windows Server is now installed on the dedicated server. However, there are some more steps to take. For example, you need to set the IP address of the machine.

When you are presented with the login screen, click **Macro → Macro → Send Ctrl+Alt+Del** in the Java console to unlock the screen.

<figure><img src="/files/qZmBl0mZUkdxRAYJmo4i" alt=""><figcaption></figcaption></figure>

Log in with the password you set in the previous step. Then, press <kbd>Enter</kbd>.

<figure><img src="/files/W99Hzij8AEdeOJkGsm58" alt=""><figcaption></figcaption></figure>

Click **Required only** about the diagnostic data sent to Microsoft. This will minimize the amount of data sent to Microsoft. Click **Accept**.

<figure><img src="/files/iiFUUh6UXUk8QGvUB7wv" alt=""><figcaption></figcaption></figure>

Once the setup guide is completed, you'll see the Windows desktop and the Server Manager. You can close the Server Manager.

First, you need to set up the IP address and netmask for the internet connection to work. Right-click the globe in the taskbar and select **Network and Internet settings**.

<figure><img src="/files/SeMm3gc7fnNd9GTfQWyw" alt=""><figcaption></figcaption></figure>

Next, click **Ethernet**.

<figure><img src="/files/50hXm9WfaPfOZ439BbCc" alt=""><figcaption></figcaption></figure>

Click **Edit** next to *IP assignment*.

<figure><img src="/files/Mij1jHyVksoEyiP7bahX" alt=""><figcaption></figcaption></figure>

Click the dropdown menu and select **Manual**.

<figure><img src="/files/k2qRPgvk14yStFR9rHVu" alt=""><figcaption></figcaption></figure>

When the *Edit IP settings* dialog box opens, click **IPv4** to activate it. Then, fill in the IP address and netmask for the machine. Also, fill in the IP address of the gateway. This information was provided in the email (in the secret) you received regarding the server.

If you need help converting the netmask between different formats, see [Convert the netmask between different formats](/products/connectivity/ip-addresses/how-tos/find-gateway-and-netmask/convert-the-netmask-between-different-formats.md).

<figure><img src="/files/knfiNUUM8GxQxeolX84i" alt=""><figcaption></figcaption></figure>

Scroll down a bit in the dialog box and fill in the IP addresses for the DNS servers. Then, click **Save**.

<figure><img src="/files/6f5JysLKK433vMM2EVRA" alt=""><figcaption></figcaption></figure>

After a couple of seconds, the control panel for *Network & internet* will change to display *Connected*. You are then connected to the internet.

## Enable Remote Desktop (optional)

If you would like to connect to your dedicated server over Remote Desktop, instead of using the Java console, click the Start menu and search for **Remote Desktop**. Then, click **Remote desktop settings**.

<figure><img src="/files/zz8NmtO0fHEg6MBYAmkq" alt=""><figcaption></figcaption></figure>

Click the switch to change from **Off** to **On**. Then, click **Confirm** to enable Remote Desktop access.

<figure><img src="/files/SmWUiBtkNWB77Y4upUHL" alt=""><figcaption></figcaption></figure>

You can now access your dedicated server by using a Remote Desktop client to connect to the IP address of the machine and using the Administrator account.
{% endtab %}

{% tab title="FreeBSD 15 (ZFS on HW RAID)" %}
{% hint style="warning" %}
This installation will use ZFS on top of the dedicated server's hardware RAID. For ZFS on separate disks, see the **FreeBSD 15 (ZFS on JBOD)** tab.
{% endhint %}

When the FreeBSD installer boots, press <kbd>Enter</kbd> (or wait) to boot the installation program.

<figure><img src="/files/r0ZivFaWw2KaymijP7j0" alt=""><figcaption></figcaption></figure>

In the next dialog box, select **Install** and press <kbd>Enter</kbd>.

<figure><img src="/files/bnBOyyeyh7WVaodH2nTo" alt=""><figcaption></figcaption></figure>

Select your local keyboard layout. Move up and down with the arrow keys, and select the desired layout using <kbd>Enter</kbd>.

<figure><img src="/files/uuDzF05VmvRGc4HUJDEq" alt=""><figcaption></figcaption></figure>

In case you chose a local keyboard layout, instead of the default US one, you get to choose to test the layout by selecting **Test se.kbd keymap** (or the keymap you chose) and pressing <kbd>Enter</kbd>. (If you chose the default US keyboard, skip ahead to the hostname step.)

<figure><img src="/files/FJOR6SotoZWhTm79Ef3t" alt=""><figcaption></figcaption></figure>

While testing the keyboard's special characters, should you encounter a key that doesn't print the desired character, you can try selecting the closest layout in the Java console by navigating to **Options → Preference**, and selecting the **Input** tab. For example, most special characters on a Swedish keyboard work by selecting a German layout in the Java console (except that Z and Y are switched). When you are done testing, press <kbd>Enter</kbd>.

<figure><img src="/files/K2LRPwYYubcEUWX2QkPp" alt=""><figcaption></figcaption></figure>

You are then back to the keyboard layout. If you are satisfied with the layout, scroll to the top using the arrow keys and select **Continue with se.kbd keymap** (or the keymap you chose). Then, press <kbd>Enter</kbd>.

<figure><img src="/files/SZpaCGH0pCaGzNCCe2NH" alt=""><figcaption></figcaption></figure>

In the next step, you are asked to select a hostname for the machine. You can select any valid hostname you want, but here we'll choose the server's name, *ds11474*. Press <kbd>Enter</kbd> when you have chosen your hostname.

<figure><img src="/files/zEKg8TK37SFSPlhqGcVj" alt=""><figcaption></figcaption></figure>

Next, you need to decide if you want to use FreeBSD with the traditional distribution sets or the newer packages (where everything is a package, even the kernel and userland tools, just like most Linux distributions). In this example, we choose to go with the packages, since that will become the default in the future. Select **Packages (Tech Preview)** and press <kbd>Enter</kbd>.

<figure><img src="/files/6m6myvqI1qcull8LAQ2K" alt=""><figcaption></figcaption></figure>

To speed up the installation process and get newer and more packages, select **Network** in the next step and press <kbd>Enter</kbd>.

<figure><img src="/files/AhHpU8Thhm26HPglcE9a" alt=""><figcaption></figcaption></figure>

If your dedicated server has multiple network interfaces, select the first one using the arrow keys (in this case, *ixl0*). Then, press the <kbd>Tab</kbd> key to switch from **Auto** to **Manual**. Press <kbd>Enter</kbd> to proceed.

<figure><img src="/files/XPm9afILE6j8pdF80fY7" alt=""><figcaption></figcaption></figure>

Select **Yes** and press <kbd>Enter</kbd> on the next question to configure IPv4 for the interface.

<figure><img src="/files/xBmqI1cOf1V7SxgRujZw" alt=""><figcaption></figcaption></figure>

When asked if you would like to use DHCP, select **No** and press <kbd>Enter</kbd>.

<figure><img src="/files/pxN78PPmXFsqjn6SuEUR" alt=""><figcaption></figcaption></figure>

Now you'll need to configure the network for the dedicated server. When you received all the information for the server, you also received the IP address and netmask. You can also find your dedicated server's IP address and netmask in the control panel under **IP address** in the left-hand side menu.

Enter the **IP address**, the **netmask**, and the **default router** (gateway or GW).

If you need help converting the netmask between different formats, see [Convert the netmask between different formats](/products/connectivity/ip-addresses/how-tos/find-gateway-and-netmask/convert-the-netmask-between-different-formats.md).

When all the values are filled in, <kbd>Tab</kbd> to **OK** and press Enter.

<figure><img src="/files/L70JlmHXqnief6OqhGTS" alt=""><figcaption></figcaption></figure>

When asked to configure IPv6, select **No** and press <kbd>Enter</kbd>.

<figure><img src="/files/11r39TRZaSmqc0IBUthH" alt=""><figcaption></figcaption></figure>

Next, you'll need to enter the IP addresses for the DNS resolvers. This information is also included in the email (secret) that was sent to you about the server. Skip the **Search** domain, and use the arrow keys to go down to **IPv4 DNS #1** and **IPv4 DNS #2**.

<figure><img src="/files/X04Zmn20XmmHMcV3f3JX" alt=""><figcaption></figcaption></figure>

Next up is the partitioning of the disk. In this example, we'll go with the defaults. Select **Auto (ZFS)** and press <kbd>Enter</kbd>.

<figure><img src="/files/2Rv5zaT3YiODYkdVQ7s3" alt=""><figcaption></figcaption></figure>

In the next step, select **Install** and press <kbd>Enter</kbd>.

<figure><img src="/files/efrqnfqazttyBiV8vVcd" alt=""><figcaption></figcaption></figure>

Select the default option, **stripe**, and press Enter.

<figure><img src="/files/hPtEGZeuWRJBYSrAm5nc" alt=""><figcaption></figcaption></figure>

In the dialog box, press <kbd>Space</kbd> to select the LSI MegaRAID controller, and then press <kbd>Enter</kbd> to continue.

<figure><img src="/files/Hp8gzoZsTSPaQKoPDmtB" alt=""><figcaption></figcaption></figure>

If you are sure that you want to reinstall/install the server's operating system and wipe everything on the disks, select **YES** and press <kbd>Enter</kbd>.

<figure><img src="/files/h9nL9eolzRSSW6Fa4mhh" alt=""><figcaption></figcaption></figure>

In the next step, you need to select which set of packages you want to install. You use the arrow keys to move up and down, and <kbd>Space</kbd> to select and deselect a package. In our example, we have selected **base** and **devel**, and deselected **kernel-dbg** and **lib32**. When you are satisfied, press <kbd>Enter</kbd>.

<figure><img src="/files/cb7PefzxA41hd5IHzgRH" alt=""><figcaption></figcaption></figure>

Select a password for root and press <kbd>Enter</kbd>.

<figure><img src="/files/EM0XQ5uYF8E6WiqHx1uO" alt=""><figcaption></figcaption></figure>

Select your preferred timezone. Here, we'll select **Europe**, then **Sweden**.

<figure><img src="/files/DfUrYEkItjSja9XLXCVN" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/YLMiE1vuNKQYtpURrGAm" alt=""><figcaption></figcaption></figure>

Select **Yes** if the timezone abbreviation looks okay.

<figure><img src="/files/8jht1U0FwM27TWNQ9lsH" alt=""><figcaption></figcaption></figure>

If the date is okay, select **Skip** and press <kbd>Enter</kbd>.

<figure><img src="/files/nHUPa2ONrPBunBHtnDOw" alt=""><figcaption></figcaption></figure>

And the same for the time.

<figure><img src="/files/Bcn1HZGteLAQWFiODzsh" alt=""><figcaption></figcaption></figure>

Select the services you want started at boot. Use the arrow keys to move up and down, and <kbd>Space</kbd> to select and deselect. Here, we have selected **sshd**, **ntpd**, **ntpd\_sync\_on\_start**, and deselected **dumpdev**.

<figure><img src="/files/cHUpY6kvmhqNDK5nMVbi" alt=""><figcaption></figcaption></figure>

Next, select **OK** and press <kbd>Enter</kbd>, unless you want to tweak the hardening options.

<figure><img src="/files/JtKaiQmd6TvXjSj2WPxL" alt=""><figcaption></figcaption></figure>

Next, add a regular user to the system. Select **Yes** and press <kbd>Enter</kbd>.

<figure><img src="/files/NPd7Y5vGOeMrCWGnJrzY" alt=""><figcaption></figcaption></figure>

Fill out the information for your user, step by step. If this user should be able to `su` to root, invite the user to the *wheel* group. Most questions can be accepted with the default value by pressing <kbd>Enter</kbd>. Give the user a password so he/she can log in over SSH.

<figure><img src="/files/AxrCiPtiqg51uoZJ1pC1" alt=""><figcaption></figcaption></figure>

At the final step, select **Finish** and press <kbd>Enter</kbd>.

<figure><img src="/files/aGrufQDTs9LxsxrgRjqK" alt=""><figcaption></figcaption></figure>

When asked if you would like to open a shell to make manual modifications, select **No** and press <kbd>Enter</kbd>.

<figure><img src="/files/nu3kBkNQZvOG9dFGvXL5" alt=""><figcaption></figcaption></figure>

Next, select **Reboot** to reboot the server into the newly installed FreeBSD system.

<figure><img src="/files/KTk1bjqgGSDjDJtdLCyT" alt=""><figcaption></figcaption></figure>

FreeBSD is now installed, and the server will boot into it. Once the server is booted, you can log in as the user you created during setup. You can log in using SSH and the IP address for the machine, for example:

{% code title="Command" %}

```
ssh glesys@203.0.113.76
```

{% endcode %}

You can also log in via the Java console, using either the user you created or root.
{% endtab %}

{% tab title="FreeBSD 15 (ZFS on JBOD)" %}
{% hint style="warning" %}
This will install FreeBSD with ZFS on two separate drives in mirror mode. If you prefer to use the dedicated server's hardware RAID, see the **FreeBSD 15 (ZFS on HW RAID)** tab instead.

This guide will delete the RAID array in the dedicated server and instead set up the disks as JBOD, so each disk is accessible to ZFS. This operation will destroy all data on the RAID array.

The two disks will then be configured as a ZFS mirror.
{% endhint %}

When the FreeBSD installer starts, press <kbd>s</kbd> on your keyboard to start the FreeBSD DVD in single-user mode.

<figure><img src="/files/ofuiSvTKjXEHKYVIbEm5" alt=""><figcaption></figcaption></figure>

When FreeBSD is loaded and asks for the path to a shell, press <kbd>Enter</kbd> to accept the default.

<figure><img src="/files/3j72H5aZ0RROPusj9vEK" alt=""><figcaption></figcaption></figure>

When you see a command prompt, you can type `clear` and press <kbd>Enter</kbd> to clear the screen. It's easier to follow the steps with an empty screen.

Before deleting the current RAID volume, list the current configuration, volumes, and drives. The commands are:

{% code title="Multiple commands" %}

```
mfiutil show adapter
mfiutil show volumes
mfiutil show drives
```

{% endcode %}

Note the volume ID and the numbers in front of the drives. In the example below, the volume ID is *mfid0*, and the drive numbers are *3* and *6*.

<figure><img src="/files/yXv2sJCXuzsAaU9IOx5o" alt=""><figcaption></figcaption></figure>

Now that you know the volume ID of the RAID-1 array, delete it using `mfiutil delete <id>`, for example:

{% code title="Command" %}

```
mfiutil delete mfid0
```

{% endcode %}

If you can't see a command prompt after the kernel messages that appear, press <kbd>Enter</kbd>.

<figure><img src="/files/7gatnctA3vJO7aOY9mKn" alt=""><figcaption></figcaption></figure>

Next, configure the two drives as JBOD using the drive numbers from earlier.

{% code title="Command" %}

```
mfiutil create jbod 3 6
```

{% endcode %}

This will typically look like the screenshot below.

<figure><img src="/files/mWLiPwnZ9yiXDpySUv0F" alt=""><figcaption></figcaption></figure>

You should now have two volumes, one for each drive. Confirm this using the following command:

{% code title="Command" %}

```
mfiutil show volumes
```

{% endcode %}

This will show you two volumes, *mfid0* and *mfid1*.

<figure><img src="/files/9B4aA8NtiXLRmztfyXgt" alt=""><figcaption></figcaption></figure>

You can now start the actual installation. Reboot the server using the `reboot` command, and press <kbd>F11</kbd> when the server starts.

<figure><img src="/files/sACICsCAHe0b1l8dPxd9" alt=""><figcaption></figcaption></figure>

Select to boot from the virtual CDROM/DVD again.

<figure><img src="/files/e8JuWjztHOe7Dt3OmxAM" alt=""><figcaption></figcaption></figure>

When the FreeBSD installer starts, this time, press <kbd>Enter</kbd> to start the actual installer.

<figure><img src="/files/bMen9ZsJET0veXLEttTF" alt=""><figcaption></figcaption></figure>

In the next dialog box, select **Install** and press <kbd>Enter</kbd>.

<figure><img src="/files/bnBOyyeyh7WVaodH2nTo" alt=""><figcaption></figcaption></figure>

Select your local keyboard layout. Move up and down with the arrow keys, and select the desired layout using <kbd>Enter</kbd>.

<figure><img src="/files/uuDzF05VmvRGc4HUJDEq" alt=""><figcaption></figcaption></figure>

In case you chose a local keyboard layout, instead of the default US one, you get to choose to test the layout by selecting **Test se.kbd keymap** (or the keymap you chose) and pressing <kbd>Enter</kbd>. (If you chose the default US keyboard, skip ahead to the hostname step.)

<figure><img src="/files/FJOR6SotoZWhTm79Ef3t" alt=""><figcaption></figcaption></figure>

While testing the keyboard's special characters, should you encounter a key that doesn't print the desired character, you can try selecting the closest layout in the Java console by navigating to **Options → Preference**, and selecting the **Input** tab. For example, most special characters on a Swedish keyboard work by selecting a German layout in the Java console (except that Z and Y are switched). When you are done testing, press <kbd>Enter</kbd>.

<figure><img src="/files/K2LRPwYYubcEUWX2QkPp" alt=""><figcaption></figcaption></figure>

You are then back to the keyboard layout. If you are satisfied with the layout, scroll to the top using the arrow keys and select **Continue with se.kbd keymap** (or the keymap you chose). Then, press <kbd>Enter</kbd>.

<figure><img src="/files/SZpaCGH0pCaGzNCCe2NH" alt=""><figcaption></figcaption></figure>

In the next step, you are asked to select a hostname for the machine. You can select any valid hostname you want, but here we'll choose the server's name, *ds11474*. Press <kbd>Enter</kbd> when you have chosen your hostname.

<figure><img src="/files/zEKg8TK37SFSPlhqGcVj" alt=""><figcaption></figcaption></figure>

Next, you need to decide if you want to use FreeBSD with the traditional distribution sets or the newer packages (where everything is a package, even the kernel and userland tools, just like most Linux distributions). In this example, we choose to go with the packages, since that will become the default in the future. Select **Packages (Tech Preview)** and press <kbd>Enter</kbd>.

<figure><img src="/files/6m6myvqI1qcull8LAQ2K" alt=""><figcaption></figcaption></figure>

To speed up the installation process and get newer and more packages, select **Network** in the next step and press <kbd>Enter</kbd>.

<figure><img src="/files/AhHpU8Thhm26HPglcE9a" alt=""><figcaption></figcaption></figure>

If your dedicated server has multiple network interfaces, select the first one using the arrow keys (in this case, *ixl0*). Then, press the <kbd>Tab</kbd> key to switch from **Auto** to **Manual**. Press <kbd>Enter</kbd> to proceed.

<figure><img src="/files/XPm9afILE6j8pdF80fY7" alt=""><figcaption></figcaption></figure>

Select **Yes** and press <kbd>Enter</kbd> on the next question to configure IPv4 for the interface.

<figure><img src="/files/xBmqI1cOf1V7SxgRujZw" alt=""><figcaption></figcaption></figure>

When asked if you would like to use DHCP, select **No** and press <kbd>Enter</kbd>.

<figure><img src="/files/pxN78PPmXFsqjn6SuEUR" alt=""><figcaption></figcaption></figure>

Now you'll need to configure the network for the dedicated server. When you received all the information for the server, you also received the IP address and netmask. You can also find your dedicated server's IP address and netmask in the control panel under **IP address** in the left-hand side menu.

Enter the **IP address**, the **netmask**, and the **default router** (gateway or GW).

If you need help converting the netmask between different formats, see [Convert the netmask between different formats](/products/connectivity/ip-addresses/how-tos/find-gateway-and-netmask/convert-the-netmask-between-different-formats.md).

When all the values are filled in, <kbd>Tab</kbd> to **OK** and press Enter.

<figure><img src="/files/KW2pgC9imKiu6mpwd2Ij" alt=""><figcaption></figcaption></figure>

When asked to configure IPv6, select **No** and press <kbd>Enter</kbd>.

<figure><img src="/files/11r39TRZaSmqc0IBUthH" alt=""><figcaption></figcaption></figure>

Next, you'll need to enter the IP addresses for the DNS resolvers. This information is also included in the information that was sent about the server. Skip the **Search** domain, and use the arrow keys to go down to **IPv4 DNS #1** and **IPv4 DNS #2**.

<figure><img src="/files/X04Zmn20XmmHMcV3f3JX" alt=""><figcaption></figcaption></figure>

Next up is the partitioning of the disk. Select **Auto (ZFS)** and press <kbd>Enter</kbd>.

<figure><img src="/files/2Rv5zaT3YiODYkdVQ7s3" alt=""><figcaption></figcaption></figure>

Select **Pool Type/Disks** and press <kbd>Enter</kbd>.

<figure><img src="/files/7F5OuGKSYZgKkdQbtgdy" alt=""><figcaption></figcaption></figure>

Then, select **mirror** and press <kbd>Enter</kbd>.

<figure><img src="/files/4QfJenS63LcqxT4mvQlP" alt=""><figcaption></figcaption></figure>

Select both disks using <kbd>Space</kbd>. Then, press <kbd>Enter</kbd>.

<figure><img src="/files/ItXCdNOluxPq8X8k9h0F" alt=""><figcaption></figcaption></figure>

Make sure it says *"mirror: 2 disks"* next to *"Pool Type/Disks"*. Then, select **Install** and press <kbd>Enter</kbd>.

<figure><img src="/files/A2ccLfpOPNrb0StLrai0" alt=""><figcaption></figcaption></figure>

On the warning screen, select **YES** and press <kbd>Enter</kbd> if you are sure you want to wipe the disks and install FreeBSD.

<figure><img src="/files/WJSTPDuUgWJ1isHZTkBO" alt=""><figcaption></figcaption></figure>

In the next step, you need to select which set of packages you want to install. You use the arrow keys to move up and down, and <kbd>Space</kbd> to select and deselect a package. In our example, we have selected **base** and **devel**, and deselected **kernel-dbg** and **lib32**. When you are satisfied, press <kbd>Enter</kbd>.

<figure><img src="/files/cb7PefzxA41hd5IHzgRH" alt=""><figcaption></figcaption></figure>

Select a password for root and press <kbd>Enter</kbd>.

<figure><img src="/files/EM0XQ5uYF8E6WiqHx1uO" alt=""><figcaption></figcaption></figure>

Select your preferred timezone. Here, we'll select **Europe**, then **Sweden**.

<figure><img src="/files/DfUrYEkItjSja9XLXCVN" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/YLMiE1vuNKQYtpURrGAm" alt=""><figcaption></figcaption></figure>

Select **Yes** if the timezone abbreviation looks okay.

<figure><img src="/files/8jht1U0FwM27TWNQ9lsH" alt=""><figcaption></figcaption></figure>

If the date is okay, select **Skip** and press <kbd>Enter</kbd>.

<figure><img src="/files/nHUPa2ONrPBunBHtnDOw" alt=""><figcaption></figcaption></figure>

And the same for the time.

<figure><img src="/files/Bcn1HZGteLAQWFiODzsh" alt=""><figcaption></figcaption></figure>

Select the services you want started at boot. Use the arrow keys to move up and down, and <kbd>Space</kbd> to select and deselect. Here, we have selected **sshd**, **ntpd**, **ntpd\_sync\_on\_start**, and deselect **dumpdev**.

<figure><img src="/files/cHUpY6kvmhqNDK5nMVbi" alt=""><figcaption></figcaption></figure>

Next, select **OK** and press <kbd>Enter</kbd>, unless you want to tweak the hardening options.

<figure><img src="/files/JtKaiQmd6TvXjSj2WPxL" alt=""><figcaption></figcaption></figure>

Next, add a regular user to the system. Select **Yes** and press <kbd>Enter</kbd>.

<figure><img src="/files/NPd7Y5vGOeMrCWGnJrzY" alt=""><figcaption></figcaption></figure>

Fill out the information for your user, step by step. If this user should be able to `su` to root, invite the user to the *wheel* group. Most questions can be accepted with the default value by pressing <kbd>Enter</kbd>. Give the user a password so he/she can log in over SSH.

<figure><img src="/files/AxrCiPtiqg51uoZJ1pC1" alt=""><figcaption></figcaption></figure>

At the final step, select **Finish** and press <kbd>Enter</kbd>.

<figure><img src="/files/aGrufQDTs9LxsxrgRjqK" alt=""><figcaption></figcaption></figure>

When asked if you would like to open a shell to make manual modifications, select **No** and press <kbd>Enter</kbd>.

<figure><img src="/files/nu3kBkNQZvOG9dFGvXL5" alt=""><figcaption></figcaption></figure>

Next, select **Reboot** to reboot the server into the newly installed FreeBSD system.

<figure><img src="/files/KTk1bjqgGSDjDJtdLCyT" alt=""><figcaption></figcaption></figure>

FreeBSD is now installed, and the server will boot into it. Once the server is booted, you can log in as the user you created during setup. You can log in using SSH and the IP address for the machine, for example:

{% code title="Command" %}

```
ssh glesys@203.0.113.76
```

{% endcode %}

Once logged in, you can verify that the ZFS mirror pool is using both disks:

<pre data-title="Command and output (command is highlighted)"><code><strong>zpool status
</strong>  pool: zroot
 state: ONLINE
config:

        NAME         STATE     READ WRITE CKSUM
        zroot        ONLINE       0     0     0
          mirror-0   ONLINE       0     0     0
            mfid0p4  ONLINE       0     0     0
            mfid1p4  ONLINE       0     0     0

errors: No known data errors
</code></pre>

{% endtab %}
{% endtabs %}
