# Manually install OS and system on servers

If you are not using the WMS or WSA automated tools for installing a WEKA cluster, manually install a supported OS and the WEKA software on the bare metal server.

{% hint style="info" %}
For optimal server performance and configuration, it is recommended to use the `bios_tool` to set BIOS settings on your servers.

Refer to the Appendix: [bios-tool](https://docs.weka.io/appendices/bios-tool "mention") for detailed instructions on using `bios_tool` to ensure that your servers meet the recommended BIOS configurations. Using this tool can significantly streamline the setup process and save time.
{% endhint %}

**Procedure**

1. Follow the relevant Linux documentation to install the operating system, including the required packages.

**Required packages**

<table><thead><tr><th>RHEL and derivatives</th><th>Ubuntu</th></tr></thead><tbody><tr><td><pre><code>elfutils-libelf-devel
gcc
glibc-headers
glibc-devel
make
perl
rpcbind
xfsprogs
kernel-devel
sssd
</code></pre></td><td><pre><code>libelf-dev
linux-headers-$(uname -r)
gcc
make
perl
rpcbind
xfsprogs
sssd
</code></pre></td></tr></tbody></table>

<details>

<summary>Recommended packages for remote support and maintenance</summary>

**RHEL and derivatives**

```
@network-tools
@large-systems
@hardware-monitoring
bind-utils
elfutils
ipmitool
kexec-tools
nvme-cli
python3
yum-utils
sysstat
telnet
nmap
git
sshpass
lldpd
fio
numactl
numactl-devel
libaio-devel
hwloc
tmux
pdsh
pdsh-rcmd-ssh
pdsh-mod-dshgroup
tmate
iperf
htop
nload
screen
ice
```

**Ubuntu**

```
elfutils
fio
git
hwloc
iperf
ipmitool
kexec-tools
jq
ldap-client
libaio-dev
lldpd
nfs-client
nload
nmap
numactl
nvme-cli
pdsh
python3
sshpass
sysstat
tmate
```

</details>

2. Install the WEKA software.
   * Once the WEKA software tarball is downloaded from [get.weka.io](https://get.weka.io), run the untar command.
   * Run the installation command on each server, following the instructions in the **Install** tab of [get.weka.io](https://get.weka.io/ui/dashboard).
   * (Optional) Enable safe shutdown:

     To ensure data integrity during server reboots or shutdowns, you can enable the safe shutdown feature during installation. This is highly recommended for converged servers.

     For instructions, see [safe-server-shutdown](https://docs.weka.io/planning-and-installation/bare-metal/manually-install-os-and-weka-on-servers/safe-server-shutdown "mention").

Once completed, the WEKA software is installed on all the allocated servers and runs in stem mode (no cluster is attached).

{% hint style="info" %}
If a failure occurs during the WEKA software installation process, an error message prompts detailing the source of the failure. Review the details and try to resolve the failure. If required, contact the [Customer Success Team](https://docs.weka.io/support/getting-support-for-your-weka-system#contact-customer-success-team).
{% endhint %}

**Related topic**

[#operating-system](https://docs.weka.io/prerequisites-and-compatibility#operating-system "mention") (on the Prerequisites and compatibility topic)

## What to do next?

[setting-up-the-hosts](https://docs.weka.io/planning-and-installation/bare-metal/setting-up-the-hosts "mention")
