> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/deployment/installing-lina-agents.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Installing Lina agents

An agent refers to the workstation on which Lina is installed. This section describes how to install Lina on:

* Windows
* macOS
* Linux
* Synology

You can download the agent binaries from the Lina Administration Console login page (top-right corner of the window) or from the agent list (icon <img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-87cc98e0d951da02126c38d2ea221e2498295a35%2Fimage%20(94).png?alt=media" alt="" data-size="line">).

## Installing an agent on Windows

These topics describe how to install Lina Windows agents.

### Prerequisites for installing Windows agents

Before installing Lina Windows agents, check the following prerequisites (<mark style="color:blue;">Table 9</mark>):

**Table 9:** Prerequisites for installing Windows agents

<details>

<summary><strong>Operating system</strong></summary>

For the list of supported operating systems, see the **Lina compatibility guide.**

</details>

<details>

<summary><strong>File system</strong></summary>

At least one partition must be NTFS.

</details>

<details>

<summary><strong>Memory</strong></summary>

A minimum of **512 MB** of RAM is required.

</details>

<details>

<summary><strong>Database directory</strong></summary>

The database requires approximately **1%** of the volume of protected data in disk space.

It can use up to **10%** if you have a large number of files.

</details>

<details>

<summary><strong>User rights</strong></summary>

The user performing the installation must have administrator rights on the machine.

</details>

<details>

<summary><strong>Product download</strong></summary>

Make sure you have downloaded the Lina binaries from the Atempo Customer Portal: [https://support.atempo.com](https://support.atempo.com/).

</details>

<details>

<summary><strong>Communication port</strong></summary>

If you want to connect to the agent interface remotely, for example to perform remote restores, port <kbd>27261</kbd> must be open in your firewall.

</details>

<details>

<summary><strong>Language</strong></summary>

By default, Lina uses the language defined at the operating system level.

You can choose a different language.

</details>

### Basic installation of a Windows agent

This section describes the standard installation methods for a Windows agent.

#### Installing a Windows agent in graphical mode

1. Launch the agent installation program `setup.exe` from the directory: `Atempo-LinaXXX.iso\Agent\windows\amd64`
2. Click **Next**, then follow the on-screen instructions:
   1. **License agreement:** Accept the license agreement to install Lina, then click **Next**.
   2. **Destination directory:** Choose a directory other than the default directory (`C:\Program Files\Atempo\Atempo Lina\\`). Click **Change...**, select a directory in the tree, then click **Next**. To use the default directory, click **Next**.
   3. **Database directory:** The default directory is `C:\ProgramData\HNDB`. Choose the path for installing the Lina Agent database. To choose a directory other than the default (`C:\ProgramData\HNDB`), click **Change...** and select a directory in the tree. Make sure you have at least **10%** of the volume of protected data available in disk space for this database.
   4. **Fully qualified server name:** Enter the fully qualified name of the Lina server where your Lina Agent's protection policy is defined. See [Configuring advanced agent access to the server](#configuring-advanced-agent-access-to-the-server) for more details on the server name.
3. Click **Next**.
4. Click **Install** to complete the installation.

#### Installing an agent on an RDS server

To install an agent on an RDS server:

1. Open the command-line interface.
2. Run the command `change user /install`.
3. Install the Lina Agent on each RDS server.
4. Once the agent is installed, run the command `change user /execute`.

#### Installing a Windows Core agent

**Step 1: Extract the MSI file**

\> Run the command <kbd>setup.exe /extractcab</kbd> in a command prompt. This command creates a **SupportFiles** folder containing the <kbd>ALN.msi</kbd> file to extract.

**Step 2: Launch the MSI package**

\> Launch the MSI package using the following command: <kbd>ALN.msi</kbd>

### Advanced deployment of a Windows agent

This section covers advanced deployment scenarios, including remote deployment and specialized environments.

#### Deploying a Windows agent remotely

Lina Windows agents can be deployed remotely, using an Active Directory group policy or a deployment tool such as WAPT, Microsoft SCCM, or equivalent. Only one agent is required per machine, even in an RDS/TSE environment.

Before deploying agents remotely, the user performing the installation on a machine must have administrator rights on that machine.

**Step 1: Extract the MSI file**

Run the command <kbd>setup.exe /extractcab</kbd> in a command prompt. This command creates a **SupportFiles** folder containing the <kbd>ALN.msi</kbd> file to extract.

**Step 2: Launch the MSI package**

Launch the MSI package in silent mode, using one of the following commands:

* `ALN.msi /qn SERVERNAME=your-lina-server`
* `msiexec /qn /i ALN.msi SERVERNAME=your-lina-server`

See [<mark style="color:blue;">Installing a Windows agent in silent mode</mark>](#installing-a-windows-agent-in-silent-mode) for detailed information on required or optional parameters.

### Managing and maintaining a Windows agent

This section explains how to update, uninstall, and manage a Windows agent after installation.

#### Updating a Windows agent

You can enable automatic update mode for Lina agents or update agents manually. See the [<mark style="color:blue;">Setting up automatic updates for Lina agents</mark>](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/getting-started/configuring-agents-on-the-server.md#setting-up-automatic-updates-for-lina-agents) section to configure automatic agent updates in the Lina Administration Console.

**To launch an update manually:**

Launch the installation as described in [Installing an agent on Windows.](#installing-an-agent-on-windows) The setup starts in update mode. Follow the on-screen instructions.

#### Uninstalling a Windows agent

1. Make sure no other Lina user is currently connected to the machine.
2. In the Windows **Start menu**, select **Control Panel** > **Programs** > **Uninstall a program**.
3. In the list of programs, double-click **Atempo Lina** and click **Next**. A pop-up asks you to confirm the uninstallation.
4. Select **Remove** then **Next**.
5. Confirm the removal of the Lina database.
6. Restart your host to complete the uninstallation.

### Silent mode installation for Windows

This section describes how to install, update, and uninstall a Windows agent in silent mode, useful for automated deployments.

#### Installing a Windows agent in silent mode

Silent mode lets you install, update, or uninstall the Lina agent from the command line, without having to launch a graphical interface.

1. Launch a command prompt with administrator privileges on your agent, then go to the directory containing your Lina Agent's <kbd>setup.exe</kbd> program: <kbd>ATLXXX.iso\Agent\Windows\amd64</kbd>
2. Enter the following command:

<kbd>setup.exe /q /CompleteCommandArgs "SERVERNAME=xxxx DATABASEDIR=xxxx INSTALLDIR=xxxx"</kbd>

If a value contains a space, enclose it in quotation marks preceded by the escape character (\\").

For example:

<kbd>setup.exe /q /CompleteCommandArgs "SERVERNAME=lina-server DATABASEDIR=\\"C :\Program Files\ALN\_Agent\\""</kbd>

Silent mode installation consists of several parameters (<mark style="color:blue;">Table 10</mark>)<mark style="color:blue;">.</mark>

**Table 10:** Silent mode installation parameters

<details>

<summary><strong>INSTALLDIR</strong> (optional)</summary>

Lina installation directory.

Default path: `C:\Program Files\Atempo\Atempo Live Navigator\`

</details>

<details>

<summary><strong>DATABASEDIR</strong> (optional)</summary>

Lina database directory.

Default path: `C:\ProgramData\HNDB`

</details>

<details>

<summary><strong>SERVERNAME</strong> (required)</summary>

Connection string of the Lina server on which the agent's data is protected.

Format: `<server_name>:<port>`

Or, for a tenant: `<tenant_name>/@<server_name>`.

See <mark style="color:blue;">Configuring advanced agent access to the server</mark> for more details.

</details>

<details>

<summary><strong>/l c:\logfile.log</strong> (optional)</summary>

Creates a log file at `c:\logfile.log`.

</details>

<details>

<summary><strong>/qb</strong> (optional)</summary>

The installer only displays a window containing a progress bar.

</details>

<details>

<summary><strong>/q</strong> (optional)</summary>

The installer displays no information.

</details>

#### Updating the Lina Agent in silent mode

1. Launch a command prompt with administrator privileges on your agent, then go to the directory containing your Lina Agent's `setup.exe` program: `ATLXXX.iso\Agent\Windows\amd642`.
2. Enter this command: `setup.exe /`

#### Uninstalling a Windows agent in silent mode

1. Launch a command prompt with administrator privileges on your agent, then go to the directory containing your Lina Agent's `setup.exe` program: `ATLXXX.iso\Agent\Windows\amd642`.
2. Enter the following command:

   ```
   setup.exe /ExtractCab
   ```
3. Go to the `SupportFiles` folder, then enter the following command:

   ```
   msiexec /x ALN.msi /qn
   ```

If you want to remove the client database during the process, run:

```
msiexec /x ALN.msi REMOVEDBDIR=1 /qn
```

## Installing an agent on macOS

These topics describe how to install Lina macOS agents.

### macOS installation overview

This section covers all the steps required to install, configure, and manage a Lina agent on macOS, including security configurations and Finder extensions.

### Prerequisites for installing macOS agents

Before installing Lina macOS agents, check the following prerequisites (<mark style="color:blue;">Table 11</mark>):

**Table 11:** Prerequisites for installing macOS agents

<details>

<summary><strong>Operating system</strong></summary>

For the list of supported operating systems, see the Lina compatibility guide.

</details>

<details>

<summary><strong>Memory</strong></summary>

As required by the operating system.

</details>

<details>

<summary><strong>Database directory</strong></summary>

The database requires approximately 1% of the volume of protected data in disk space.

It can use up to 10% if you have a large number of files.

</details>

<details>

<summary><strong>User rights</strong></summary>

The user performing the installation must have administrator rights on the machine.

</details>

<details>

<summary><strong>Product download</strong></summary>

Make sure you have downloaded the Lina binaries from the Atempo Customer Portal: [https://support.atempo.com](https://support.atempo.com/).

</details>

<details>

<summary><strong>Communication port</strong></summary>

If you want to connect to the agent interface remotely (e.g. remote restore), port <kbd>27261</kbd> must be open in your firewall.

</details>

<details>

<summary><strong>Language</strong></summary>

Lina uses the language defined at the operating system level.

Available languages: English and French.

</details>

### Basic installation of a macOS agent

This section describes the standard installation steps for a macOS agent.

#### Installing a macOS agent

1. Go to the product download directory `Atempo-LinaXXX.iso/Agent/macosx`.
2. Double-click the `lina_x64.pkg` file.\
   A message indicates that the installer will determine whether the software can be installed.
3. Click **Allow**.\
   The installation wizard is displayed.
4. Click **Continue**.\
   The license agreement is displayed.
5. Click **Continue**.\
   You can also print a copy of the license agreement or save it to your workstation.
6. Confirm that you have read the license agreement.
7. *(First installation only)* Set a server name.
8. Specify the local database where the Lina Agent will be installed.
9. Make sure you have at least **10%** of the volume of protected data available in disk space for this database.
10. Click **Continue**.\
    An estimate of the space that may be used during installation is displayed. You can change any setting defined in the previous steps, if needed. If you need to change a setting in the next step, you must cancel the installation, then restart the installation process.
11. Click **Install**.
12. Enter the administrator's name and password, then click **Install Software**.\
    A configuration summary is displayed.
13. Click **Close** to exit the installer.

### macOS post-installation configuration

This section describes the configurations required after installing the macOS agent, including permissions and extensions.

#### Granting full disk access for Lina on macOS Catalina and later

macOS Catalina and later versions include a new privacy policy that prevents applications from accessing various system components, including sensitive data sets. By default, applications such as Lina cannot access user data, such as mail or message databases.

To ensure full protection of all system components, full disk access is required after installing the Lina Agent.

This is a one-time configuration. Once the privacy settings are selected in the Lina Agent and HNagent, they are retained across Lina package upgrades.

**To grant full disk access**

1. In the Apple menu, click **System Preferences** to access the **Security & Privacy** window.
2. Click the **Privacy** tab.
3. Select **Full Disk Access** in the left-hand menu.
4. Click the lock icon in the bottom-left corner of the pane to make changes and enter your credentials.
5. Click the **+** button.
6. Select the **HNagent** item located in Finder under `/library/Application Support/HN/base/bin`.
7. Repeat steps 5 and 6 for the **Lina Agent** located in `/Applications/LiveNavigator`.

   Both applications can access all system components when they are listed with a checkmark. (<mark style="color:blue;">Image 11</mark>: HNagent and Lina Agent have disk access)

   <figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-635bc17139a638c91eebe78f9c6d88c427859993%2Fimagee.png?alt=media" alt=""><figcaption><p><strong>Image 11</strong>: HNagent and Lina Agent have disk access</p></figcaption></figure>
8. Restart the system to restart **HNagent**.

> **Tip**: You can also use the Terminal application to restart HNagent, using the following commands:
>
> <kbd>Password:</kbd>
>
> <kbd>bash-3.2# launchct1 unload /Library/LaunchDaemons/com.hnagent.plist bash-3.2# launchct1 load /Library/launchDaemons/com.hnagent.plist bash-3.2#</kbd>

At this point, the **Lina Agent** is fully operational on your system.

#### Lina Finder extension

The Lina agent provides the overlay mechanism to display the status of your protected files. Overlays appear on directories included in the backup selection.

To enable overlays and the context menu on your Mac, you must select the Lina Finder extension (<mark style="color:blue;">Image 12</mark>). Apple and third-party Mac extensions are managed in the Extensions system preferences.

**To enable the Lina Finder extension**

1. On your Mac, select the **Apple** menu > **System Preferences** and click **Extensions**.
2. In the left-hand menu, click **Finder Extensions**.
3. Enable the **Live Navigator Finder** integration.

<figure><img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-247251edb49b058b6f4265f0c732f3e427e969ef%2Fextension.png?alt=media" alt=""><figcaption><p><strong>Image 12</strong>: Lina Finder extension enabled</p></figcaption></figure>

If needed, you can force the plugin installation with the following command, then restart Finder: <kbd>/Library/Application Support/HN/base/bin/finderpluginLoad.sh</kbd>. If another extension is installed, it is recommended to disable or remove it to avoid any conflict.

### Managing and maintaining a macOS agent

This section explains how to update, uninstall, and manage a macOS agent after installation.

#### Updating a macOS agent

You can enable automatic update mode for Lina agents or update agents manually. See the [<mark style="color:blue;">Lina Configuration</mark> ](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/getting-started/configuring-agents-on-the-server.md)section to configure automatic agent updates in the Lina Administration Console.

On macOS Catalina, the storage location for non-system files has changed. As a result, files backed up on macOS Catalina are mounted on <kbd>/System/Volumes/Data</kbd>. However, their location in Finder remains the same, as do your backup settings compared to previous versions of macOS. Server and client rules are automatically rewritten based on the location of your files.

**To launch an update manually:**

1. Download the latest version from the [<mark style="color:blue;">Atempo Customer Portal.</mark>](https://support.atempo.com/login)
2. Double-click the `Lina_x64.pkg` file.\
   A message indicates that the installer will determine whether the software can be installed.
3. Click **Allow**.\
   The installer offers an upgrade rather than an installation and only displays the screens related to the upgrade. An error message indicating that the server is not trusted is displayed.
4. Click **Allow**.\
   The installation wizard is displayed.
5. Click **Continue**.\
   The license agreement is displayed.
6. Click **Continue**.\
   You can also print a copy of the license agreement or save it to your workstation.
7. Confirm that you have read the license agreement.
8. Specify the local database where the Lina Agent was installed.
9. Make sure you have at least 10% of the volume of protected data available in disk space for this database.
10. Click **Continue**.\
    An estimate of the space that may be used during installation is displayed. You can change any setting defined in the previous steps, if needed. If you need to change a setting in the next step, you must cancel the installation, then restart the installation process.
11. Click **Install**.
12. Enter the administrator's name and password, then click **Install Software**.\
    A configuration summary is displayed.
13. Click **Close** to exit the installer.

#### Uninstalling a macOS agent

To uninstall an agent from the application list:

1. Go to **Applications/LiveNavigator**, then double-click **Uninstall Lina**.
2. Enter the administrator's name and password.
3. Confirm that you want to remove the local Lina Agent database.

### Silent mode installation for macOS

This section describes how to install, update, and uninstall a macOS agent in silent mode.

#### Installing or updating a macOS agent in silent mode

Deployment is done using the lina\_x64.pkg file. To install or update a macOS agent:

1. Double-click the `lina_x64.pkg` file. The `lina_x64.pkg` file is displayed.
2. Drag and drop the `.PKG` file to a specific location on your workstation (for example, your home directory or Desktop).
3. In the folder where `lina_x64.pkg` is located, create a file named `AutoConfig.txt` containing the following line: `SERVERNAME = <server_connection_string>`. See Configuring advanced agent access to the server for more details.
4. Run the following command: `installer -pkg lina_x64.pkg -target "/"`. The installation is performed at the root of the disk. You cannot change the installation location.

#### Uninstalling a macOS agent in silent mode

To uninstall the Lina agent, run one of the following commands:

* If you want to remove the Lina agent and the local Lina database:

  ```bash
  sudo /Library/Application\ Support/HN/base/bin/uninstall.sh -y
  ```
* If you want to remove the Lina agent:

  ```bash
  sudo /Library/Application\ Support/HN/base/bin/uninstall.sh -n
  ```

## Installing an agent on Linux

These topics describe how to install Lina Linux agents.

### Linux installation overview

This section covers all the steps required to install, configure, and manage a Lina agent on Linux, including installations for different distributions and graphical configurations.

### Linux agent installation package

The contents of the Linux agent installation package are located in the product download directory <kbd>ATLXXX.iso/Agent/linux</kbd> (<mark style="color:blue;">Table 12</mark>).

Table 12: Descriptions of the Linux agent installation directories

<table data-header-hidden><thead><tr><th width="178.33331298828125"></th><th></th></tr></thead><tbody><tr><td><strong>Directory</strong></td><td><strong>Content description</strong></td></tr><tr><td><strong>amd64 or aarch64</strong></td><td><p>Installation binaries for the Lina Agent component for 64-bit systems:</p><ul><li><code>setup.deb</code></li></ul><p>Debian-based distributions. Used by automatic updates</p><ul><li><code>setup.rpm</code></li></ul><p>RPM-based distributions. Used by automatic updates</p></td></tr></tbody></table>

### Prerequisites for installing Linux agents

Before installing Lina Linux agents, check the prerequisites described in the following table (<mark style="color:blue;">Table 13</mark>).

**Table 13: Prerequisites for installing Linux agents**

<details>

<summary><strong>Operating system</strong></summary>

For the list of supported operating systems, see the Lina compatibility guide.

</details>

<details>

<summary><strong>Memory</strong></summary>

A minimum of **512 MB of RAM** is required.

</details>

<details>

<summary><strong>Database directory</strong></summary>

The database requires approximately **1%** of the volume of protected data in disk space.

It can use up to **10%** if you have a large number of files.

</details>

<details>

<summary><strong>Installer directory</strong></summary>

The path of the directory from which you launch the installer must contain **no spaces**.

</details>

<details>

<summary><strong>Product download</strong></summary>

Make sure you have downloaded the Lina binaries from the Atempo Customer Portal: [https://support.atempo.com](https://support.atempo.com/).

</details>

<details>

<summary><strong>Communication port</strong></summary>

If you want to connect to the agent interface remotely, for example to perform remote restores, port **27261** must be open in your firewall.

</details>

<details>

<summary><strong>Language</strong></summary>

Lina uses the language defined at the operating system level.

The available languages are English and French.

</details>

<details>

<summary><strong>Packages</strong></summary>

Only for **Debian 12** and **Ubuntu 22.04**: the `libldap-2.5-0` package is required before running the Lina installer.

To install the package on graphical and non-graphical systems, run:

`apt install libldap-2.5-0`

Other packages may be required for graphical systems using a Gnome environment.

</details>

**Installing packages on a graphical system, using a Gnome environment**

1. Run the following commands:

**Debian-based distributions:**

```bash
apt-get update && apt-get install -y python3-nautilus gnome-shell-extension-appindicator
```

**RPM-based distributions:**

```bash
dnf update && dnf install -y nautilus-python gnome-shell-extension-appindicator
```

The <kbd>python3-nautilus</kbd> (Debian) / <kbd>nautilus-python</kbd> (RPM) package is required to enable context menus in Nautilus.

The <kbd>gnome-shell-extension-appindicator</kbd> package is required to enable the Lina icon in the Gnome taskbar.

2. Enable the <kbd>appindicator</kbd> extension:

a. Find the extension name.

```bash
gnome-extensions list | grep indicator
```

b. Enable the extension.

```bash
gnome-extensions enable
```

Example on a:

* Rocky 9 distribution: <kbd>gnome-extensions enable <appindicatorsupport@rgcjonas.gmail.com></kbd>
* Debian 12 distribution: <kbd>gnome-extensions enable <ubuntu-appindicators@ubuntu.com></kbd>

Additional libraries are required to display the Lina icon in the Gnome taskbar.

3. Run the following commands:

* **Debian-based distributions:**

```
sudo apt-get install -y \
libxrender1 \
libxcb1 \
libxcb-render0 \
libxcb-render-util0 \
libxcb-shape0 \
libxcb-randr0 \
libxcb-xfixes0 \
libxcb-xkb1 \
libxcb-sync1 \
libxcb-shm0 \
libxcb-icccm4 \
libxcb-keysyms1 \
libxcb-image0 \
libxcb-util1 \
libxcb-cursor0 \
libxkbcommon0 \
libxkbcommon-x11-0 \
libfontconfig1 \
libfreetype6 \
libxext6 \
libx11-xcb1 \
libsm6 \
libice6
```

• RPM-based distributions:

```
sudo dnf install -y \
  libXrender \
  libxcb \
  xcb-util \
  xcb-util-keysyms \
  xcb-util-image \
  xcb-util-renderutil \
  xcb-util-cursor \
  xcb-util-wm \
  libxkbcommon \
  libxkbcommon-x11 \
  fontconfig \
  freetype \
  libXext \
  libX11-xcb \
  libSM
```

For installation on a CentOS-based distribution, it may be necessary to enable the EPEL (Extra Packages for Enterprise Linux) repository.

To find all required packages, use the following command: <kbd>yum install epel-release.</kbd>

4\. Restart the Gnome session.

### Installing a Lina Linux agent

1. Open a command prompt and log in as <kbd>root</kbd>.
2. Go to the directory containing the agent package matching your system and launch the installation:

   * On Debian-based distributions, run:

     ```bash
     dpkg -i <packagename>setup.deb
     ```
   * On RPM-based distributions, run:

     ```bash
     rpm -i <packagename>setup.rpm
     ```

   Example on a Debian-based system:

   ```bash
   dpkg -i livenavigator_<version>_x86_64.deb
   ```
3. If you want to install to a directory other than the default directory <kbd>/opt/HNDB</kbd>, specify the desired path.
4. Enter the name of the Lina server that will protect the agent.

### Installing a Lina Linux agent in silent mode

1. Open a command prompt and log in as root.
2. Set and export these environment variables:
   * `export HN_SERVER_NAME=<server_connection_string>`\
     where `<server_connection_string>` is in the format: `<servername>:<encrypted port>:<unencrypted port>`\
     See [<mark style="color:blue;">Configuring advanced agent access to the server</mark> ](#configuring-advanced-agent-access-to-the-server)for more details.
   * `export HN_WORK_DIR=<directory_name>`\
     where `<directory_name>` is the path to Lina's working directory.
3. Launch the installation:
   * On Debian-based distributions, run:\
     `dpkg -i <packagename>setup.deb`
   * On RPM-based distributions, run:\
     `rpm -i <packagename>setup.rpm`

### Using and managing a Linux agent

This section explains how to launch, use, and manage a Linux agent after installation.

#### Starting the Linux Agent

After installation, the Lina service starts automatically on the agent.

\> To manually stop or start the service, run the following command:

<kbd>/etc/init.d/hnagent {start|stop|restart|status}</kbd>

\> To launch the agent's restore feature via the graphical interface (UI), click the Systray icon.

After installing or updating the agent, you must log out and log back in to see the Systray icon and access the agent's restore feature.

\> To launch the agent's restore feature manually, run the <kbd>HNWizard.jar</kbd> file located in the installation directory.

**Debian 10 and CentOS version 7**

You can manually launch the graphical interface (UI) from the command terminal.

\> In the agent storage space <kbd>/opt/Atempo/HN/bin/AgentUI</kbd>, run the following command:

<kbd>./agent-ui --no-sandbox</kbd>

#### Updating the Linux agent

You can enable automatic update mode for Lina agents or update agents manually. See the Lina Configuration section to configure automatic agent updates in the Lina Administration Console.

**To manually update agents**

1. Open a command prompt and log in as root.
2. Go to the directory where you downloaded the agent package matching your system and launch the installation.
   * On Debian-based distributions, run:

     ```shell
     dpkg -i <packagename>setup.deb
     ```
   * On RPM-based distributions, run:

     ```shell
     rpm -U <packagename>setup.rpm
     ```

### Uninstalling the Linux agent

1. Open a command prompt and log in as root.
2. Launch the uninstallation.
   * On Debian-based distributions, run:\
     `dpkg -P livenavigator`\
     The command `dpkg -P livenavigator` uninstalls the agent and removes the database. To uninstall without removing the database, use the command:\
     `dpkg -r livenavigator`
   * On RPM-based distributions, run:\
     `rpm -e livenavigator`

## Installing the Synology agent

Synology specializes in network-attached storage (NAS) devices. The Lina Synology Agent user interface provides access to installation information and logs.

For configuration, monitoring operations, and data restore for the Synology agent, you must remotely connect to a Lina Agent user interface.

### Synology installation overview

This section covers all the steps required to install, configure, and manage a Lina agent on a Synology NAS device.

### Basic installation of the Synology agent

This section describes the standard installation steps for a Synology agent.

#### Installing the Lina Agent

Installing a DSM 7 Synology agent involves three steps:

1. Retrieving the Lina package
2. Installing the Lina package
   * Install the Lina package in the Synology administrator interface.
   * Administrator rights are required to perform the installation.
3. Post-installation configuration of the Lina package

**Step 1: Retrieve the Lina Agent installation file**

Download the Lina Agent installation file to your workstation.

Depending on the system type chosen, you can install:

* **Intel-based Synology agents**\
  `Atempo-lina-XXX-Agent-Syno-x86_64.spk`
* **ARMV7-based Synology agents**\
  `Atempo-lina-XXX-Agent-Syno-armv7.spk`
* **ARMV8-based Synology agents**\
  `Atempo-lina-XXX-Agent-Syno-armv8.spk`

For more information on Synology architectures, see [<mark style="color:blue;">Synology package architectures.</mark>](https://github.com/SynoCommunity/spksrc/wiki/Synology-and-SynoCommunity-Package-Architectures)

**Step 2: Install the Lina Agent installation file in Synology**

1. Log in to the Synology web administration interface, then open the **Package Center.**
2. In the top-right corner of the **Installed** section, click **Manual Install**. A file browser opens.
3. Click **Browse**, then select the previously downloaded Lina Agent installation file.
4. Click **Next**. An error message indicating that the package is not verified by Synology is displayed.
5. Confirm the package installation by clicking **Accept**.
6. Enter the server connection string, then click **Next**.
   * The default server connection string uses the format: `<server_name>:<port_number>`, where the port number can be the default port 8181 or another port number.
   * For more information on the format to use in a multi-server configuration, see [<mark style="color:blue;">Configuring advanced agent access to the server.</mark>](#configuring-advanced-agent-access-to-the-server)
   * Information about the Lina installation file is displayed (for example, the version number).
7. Uncheck the **Run after installation** option, then click **Done**.
   * A post-installation configuration is required to run the package with the necessary rights.

**Step 3: Configure the Lina package after installation**

1. **Open** the **Control Panel**, then **Task Scheduler**.
2. Click **Create > Scheduled Task > User-defined script**. The task details are displayed.
3. In the **General** tab:\
   a. Change the name of your task (for example, **Lina Installation**), then select **root** as the user.\
   b. Make sure the task is enabled.
4. In the **Schedule** tab, click **Run on the following date**, then **Do not repeat**.
5. In the **Task Settings** tab, paste the following command:

   ```bash
   /bin/sed -i 's/package/root/g' /var/packages/lina/conf/privilege
   ```
6. Click **OK** to save your changes. A window warning you of the risks associated with running unauthorized third-party applications is displayed.
7. Click **OK** to acknowledge the risks associated with running this type of application.
8. Enter your DSM account password, then click **Submit**.
9. In the task list, select the task you just created, then click **Run**.
10. In the window that appears, click **OK** to run the task.

> **Note**: To back up network shares, you must configure a protection policy on <kbd>/volume1/\<network\_share\_name></kbd>. Depending on the Synology configuration, shares may also be located in other volumes or locations.

### Managing and maintaining a Synology agent

This section explains how to run, uninstall, and manage a Synology agent after installation.

#### Running the Lina Agent

1. In the top-right corner of the **Installed** section of the **Package Center**, open the Lina Agent.
2. Click **Run** in the dropdown list that appears.

#### Uninstalling a Lina Agent

**To uninstall a Lina Agent**

1. Log in to the Synology web administration interface.
2. Open the Package Center.
3. In the left-hand menu, click the **Installed** section.
4. Select the **Lina Agent**. A button with a dropdown arrow appears below the Lina Agent logo.
5. Click the dropdown arrow, then click **Uninstall**. A confirmation window is displayed.
   * To reinstall Lina, *keep the directory that hosts the Lina settings*.
   * To permanently uninstall Lina, *delete the package's data files*.
6. Indicate whether you want to keep the directory that hosts the Lina settings or delete the package's data files, then click **Uninstall**.

## Advanced agent configuration

This section describes advanced configurations common to all agent types, including server access configuration.

### Configuring advanced agent access to the server

The ports and proxy information (if applicable) required for the agent to access the server are embedded in the <kbd>CfgServerHost</kbd> file, with the server name defined as follows: <kbd>\<tenant\_name>/\<agent\_identifier>:\<node\_name>@\<server\_ host>:\<port>::\<proxy\_host>:\<proxy\_port>:\<proxy\_user>:\<proxy\_passwd></kbd>

**If a parameter is not specified, its default value is used:**

* The most basic definition is: <kbd>\<server\_host></kbd>
* The agent identifier is the name of the Lina Agent as displayed in the Lina Administration Console. An agent identifier can also be changed in the Agent view of the Administration Console. See [<mark style="color:blue;">Viewing the Agents view</mark>](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/getting-started/configuring-agents-on-the-server.md#viewing-the-agents-view)<mark style="color:blue;">.</mark> By default, the agent identifier is the same as the computer name. However, you can declare a different agent identifier for your agent during the installation process, using the following syntax:
  * Standalone configuration: this command is used to add an agent to a tenant: <kbd>\<tenant\_name>/\<agent\_identifier>@\<server\_host></kbd> where <kbd>server\_host</kbd> is a standalone server.
  * Multi-server configuration:
    * This command is used to add an agent to a node via a distribution policy. <kbd>\<tenant\_name>/\<agent\_identifier>@\<server\_host></kbd> where <kbd>server\_host</kbd> is a master server.
    * This command is used to force an agent to attach to a specific node.\<tenant\_name>/\<agent\_identifier>:<kbd>\<node\_name>@\<server\_host></kbd> where <kbd>server host</kbd> is the master server and the node name is the access string in the Lina Administration Console. To find the access string, see [<mark style="color:blue;">Managing nodes</mark>](https://github.com/atempodoc/gitbook/tree/main/lina/7.4/en/administration-guide/deployment/configuration-multi-serveur-lina.md#managing-nodes)
    * This command is used to add an agent to a tenant: <kbd>\<tenant\_name>/\<agent\_identifier>@\<server\_host></kbd>
* **Server address**:
  * To redefine the ports, use: \<server\_host>:\<port>
  * To redefine the proxy and use the default port numbers, use: \<server\_host>:::\<proxy\_host>:\<proxy\_port>
  * To redefine the proxy and proxy authentication and use the default ports, use: \<server\_host>:::\<proxy\_host>:\<proxy\_port>:\<proxy\_user>:\<proxy\_password>

For example, if you deploy Lina on a Windows agent, the command has the format:

<kbd>setup.exe /vSERVERNAME=\<server\_host>:::\<proxy\_host>:\<proxy\_ port>:\<proxy\_user>:\<proxy\_password></kbd>

If you use the graphical interface when specifying the server name, use: \<server\_host>:\<port>::\<proxy\_host>:\<proxy\_port>:\<proxy\_ user>:\<proxy\_password>

> **Example**: Configuring a Lina Agent with a predefined tenant
>
> **Workstation name**: DESKTOP-UVKPIFE
>
> **Tenant name**: DemoAtempo
>
> **Agent identifier**: MinisterePoste1
>
> To specify the agent identifier and tenant name during the installation process, use the following syntax in the Server Name field: <kbd>DemoAtempo/MinisterePoste1\@alnserver.atempo.com.</kbd>
>
> <img src="https://292508252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGys70amxdMB0xUstypXG%2Fuploads%2Fgit-blob-5121fd8cb3135cdad86ee8f91d247595fa59dfc8%2Finstaller.png?alt=media" alt="" data-size="original">
>
> See the section on declaring the agent in the Lina Administration Console and applying a protection schedule and strategy.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/deployment/installing-lina-agents.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
