> For the complete documentation index, see [llms.txt](https://surftest.gitbook.io/axelar-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://surftest.gitbook.io/axelar-wiki/english/server-settings/installing-the-necessary-programs.md).

# Installing the necessary programs

Most likely you entered the server just via SSH connection. But if suddenly you entered the server through the console of your personal account, since you have a server in which the SSH program has not yet been installed, then follow the steps below:

```
sudo apt install openssh-server
sudo apt openssh-server -v

sudo systemctl start sshd
sudo systemctl enable sshd
sudo systemctl start sshd
```

Ready. Now let's get started with the installation.

First, update the packages:

```
sudo apt update && sudo apt upgrade -y
```

Install and activate Docker:

```
sudo apt install docker.io curl -y \
&& sudo systemctl start docker \
&& sudo systemctl enable docker
```

The mc visual file manager is also useful:

```
sudo apt install mc
```

It can be very convenient to divide the terminal screen into several separate windows that will work even if you close the SSH connection. This may be necessary if you need to run the execution of some program without a service file / docker.

```
sudo apt install tmux
tmux
```

{% hint style="info" %}
Now briefly about how to manage tmux:

***split horizontally:*** press ***Ctrl**+**b*** remove your fingers from the keyboard, then ***Shift**+**”***

***Split vertically:** press **Ctrl**+**b*** release and then ***Shift**+**%***

***transition between panels:** press **Ctrl**+**b** and **arrow in the desired direction.***

***close one of the panels:*** ***Ctrl**+**b** and **x***

If the server is closed, then the windows created in tmux do not disappear, and all active programs continue to work in them. That's why:

*`-`*&#x6C;ist all sessions\
*`tmux ls`*

*`-`*&#x6F;pen required session\
*`tmux attach -t <session_number>`*<br>
{% endhint %}
