# Install Veeam Agent for Linux

## <mark style="color:green;">**Overview**</mark> <a href="#id-1.-introduction" id="id-1.-introduction"></a>

<img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FhBudMGJDA53CnL4zaAEL%2Fimage.png?alt=media&#x26;token=5f3299c1-6db8-4220-aba2-86f93e5e1799" alt="" data-size="line"> This is a document on how to Install Veeam Agent for Linux

## <mark style="color:green;">**Procedure - Install Veeam Agent for Linux**</mark> <a href="#id-2.-install-veeam-agent-for-linux" id="id-2.-install-veeam-agent-for-linux"></a>

{% stepper %}
{% step %}
**Step 1:** Download Veeam Service Provider Console Management Agent

* Login to the **Web UI** with the customer user
* Select **Managed Computers** > **Discovered Computers**
* Choose **Download Agent** > **Linux**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FbFE8v2itD0aecSpXAo6Z%2Fimage.png?alt=media&#x26;token=dbee247d-55ac-43eb-8a4c-bf0c9003ce60" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 2:** Install **Linux Management Agent**

* Log on to the machine where you want to install the master agent.
* Copy the agent installation package (the .sh file) to the machine where you want to install the agent.
* Make sure that you have permission to execute the installation package file.

`sudo chmod +x LinuxAgentPackages...`
{% endstep %}

{% step %}
**Step 3:** Install the package with the following command:

`sudo ./LinuxAgentPackages....`

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FVWUzN0pIaupCWdUcZw7t%2Fimage.png?alt=media&#x26;token=4f6a059f-dada-461b-b933-076445f048f1" alt=""><figcaption></figcaption></figure>

Check connection by command:

`veeamconsoleconfig -s`

<div align="left"><figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FZWllMsWnR5J65iJSwVZc%2Fimage.png?alt=media&#x26;token=f86d707e-4d76-4771-bd33-4317eb335bf6" alt=""><figcaption></figcaption></figure></div>

<mark style="color:red;">**Note**</mark><mark style="color:red;">:</mark> if you cannot connect to Cloud Gateway, please check:

Cloud Gateway address:

HCM: **backup-hcmc.higio.net**

HN: **backup-hni.higio.net**

* *Check connections to the internet.*
* *Check connections to Cloud Gateway port 6180. #telnet {*&#x43;loud Gateway addres&#x73;*} 6180*
* *If the connection to Cloud Gateway port 6180 cannot be opened, do the following command:*

```
#iptables -I OUTPUT -p udp --dport 53 -j ACCEPT 
#iptables -I OUTPUT -d {Cloud Gateway address} -p tcp --dport 6180 -j ACCEPT 
#iptables-save
```

Delete iptables rule:

```
#iptables -D OUTPUT -d {Cloud Gateway address} -p tcp --dport 6180 -j ACCEPT 
#iptables-save
```

{% endstep %}

{% step %}
Step 4: Return to the Veeam Server Provider Console that the Linux Machine will be displayed in “Discovery Computer” with the status “active.”

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FlKnp1AmDJTdbYJ2GpC6G%2Fimage.png?alt=media&#x26;token=eaaaaee2-463b-420c-91ad-be921ec50b84" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 5:** Install **Veeam Backup Agent Linux**

* Login to the **Web UI** > **Managed Computers** > **Discovered Computers**
* Choose the **Linux Server** > **Install Backup Agent**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FuO02vGwNXoZWkTAmGb1p%2Fimage.png?alt=media&#x26;token=45325b76-7e88-4da4-b389-fa93e1fa4ff7" alt=""><figcaption></figcaption></figure>

* In the **Use guest OS credentials form** section, select an account that will be used to upload setup files to client computers and start installation.
* The Account must have local root permissions on computers where you want to install Veeam backup agents.

  * Select the **Account specified in the discovery rule or the management agent settings** if you want to install the same Account that you specified for the discovery of client computers, either in the master agent configuration or in the discovery rule settings.
  * Select **The following user account** if you want to specify an account different from the one you used for discovery. You can select an account from the list or click Create New to specify credentials for a new account.

  <figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FcGTlpqyvVydge1OgBRMd%2Fimage.png?alt=media&#x26;token=85c85608-7f63-4cee-b6eb-160cd848d319" alt=""><figcaption></figcaption></figure>

  <figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2F3JTAG2zX0aRU6YXLG26H%2Fimage.png?alt=media&#x26;token=239a090d-b1ce-4032-8c78-13f79e2c6523" alt=""><figcaption></figcaption></figure>
* In the **Backup policy to apply** list, choose a backup policy that must be used as part of the installation process.
  * If you allocate all cloud resources specified in the policy to the company, the chosen backup policy will configure backup job settings after installing Veeam backup agents. You can select No policy if you do not want to configure backup job settings as part of installation.
* By default, read-only access is enabled for all Veeam backup agents. To disable the read-only access mode for Veeam backup agents, set the **Enable read-only UI access for the backup** agent toggle to **Off**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2Fx5MdVJe6taP1ZClkeKf9%2Fimage.png?alt=media&#x26;token=5632d2bf-5700-4b30-ba1a-7f00c520fb56" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 6:** Check **the result** via portal and VM:

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2F9s65Wa1b3In833AJwQiJ%2Fimage.png?alt=media&#x26;token=9357d098-ffd3-4d83-b144-813df8004ff9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FOWuSxSORY8opyTAa4NHI%2Fimage.png?alt=media&#x26;token=f8aded4f-efee-48e7-98cb-6773d3d1a834" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
