> For the complete documentation index, see [llms.txt](https://docs.itconductor.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.itconductor.com/user-guide/setup/gateway-setup/it-conductor-gateway-setup-for-linux.md). Agents can also search and read this documentation through its [MCP server](https://docs.itconductor.com/~gitbook/mcp).

# IT-Conductor Gateway Setup on Linux

The IT-Conductor Gateway enables communication between the customer's site network and the IT-Conductor cloud platform. It must be connected successfully before any private customer systems can be monitored by IT-Conductor.

### Gateway Builds

Two builds of the Gateway installation media are available:

* **itconductor-gateway-6-xx** (Java 8 build) - runs on a Java 8 x64 JRE. Available for x64 Linux (RPM) and Ubuntu (DEB).
* **itconductor-gateway-7-xx** (Java 21+ build) - runs on a Java 21 or later JRE. Available for x64 and ARM64 (aarch64) Linux (RPM) and Ubuntu (DEB).

Both builds are functionally identical, and the installation and configuration steps below apply to either build. Choose the Java 21+ build if your Linux distribution no longer provides Java 8, or to standardize on a current Java runtime.

### Installation Instructions

1. Log in to the provisioned Gateway VM.
2. Configure TIME\_WAIT socket recycling, if applicable. Edit "/etc/sysctl.conf" and add the following entries before saving:

```
net.ipv4.tcp_fin_timeout = 20
net.ipv4.tcp_tw_reuse = 1
net.core.somaxconn = 65535
```

3. Reload the settings using the command below:

```
# sudo sysctl -p
```

4. In IT-Conductor, navigate to **Support → Downloads →** [**Gateway Downloads**](https://service.itconductor.com/objectSavedSearch?OBJECT_Id=55792548)**.**

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2F7BiXUhJOJz54iQAPN6CE%2Fgateway-downloads-2026.11.07.png?alt=media&amp;token=bb97e662-8a91-4220-bafe-339593f39254" alt=""><figcaption><p>Figure 1: Gateway Installation Media Downloads</p></figcaption></figure>

5. Download the Gateway installation package for the build you selected - "itconductor-gateway-6-xx.xxx" (Java 8 build) or "itconductor-gateway-7-xx.xxx" (Java 21+ build) - to a local directory.

{% tabs %}
{% tab title="Linux" %}
• Install the RPM package - "itconductor-gateway-6-xx.x86\_64.rpm" (Java 8 build) or "itconductor-gateway-7-xx.x86\_64.rpm" (Java 21+ build; on ARM64 systems, use "itconductor-gateway-7-xx.aarch64.rpm"). You should see the following output:

```
# sudo rpm -U itconductor-gateway-6-xx.x86_64.rpm
Registering Service ...
Configuring Service Startup ...
IT-Conductor Gateway installed successfully
```

{% endtab %}

{% tab title="Ubuntu" %}

* Install the DEB package - "itconductor-gateway-6-xx\_amd64.deb" (Java 8 build) or "itconductor-gateway-7-xx\_amd64.deb" (Java 21+ build). You can use dpkg or apt command:

```
$ sudo dpkg -i itconductor-gateway-6-xx_amd64.deb
Registering Service ...
Configuring Service Startup ...
IT-Conductor Gateway installed successfully
```

or

```
$ sudo apt install ./itconductor-gateway-6-xx_amd64.deb
Registering Service ...
Configuring Service Startup ...
IT-Conductor Gateway installed successfully
```

{% endtab %}
{% endtabs %}

6. Configure Gateway parameters:

```
# /opt/itconductor/gwconfig
IT-Conductor Gateway Configuration build: xxxxxxxxxxxx
Gateway ID [GATEWAYID]: xxxxxx
Account ID [ACCOUNTID]: xxxxxx
API Key [APIKEY]: xxxxxx
Proxy [false]:
Configuration saved
```

* **Account ID** - refers to the Service Account ID.
* **API Key** - refers to the API Key for the Service Account, which will be generated when the Service Account is created.

To obtain the Service Account ID and API Key in IT-Conductor, navigate to **Management → Security → Service Accounts**.

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FkZ7dmR2r76xYjOfxkkjD%2Fservice-accounts.png?alt=media&amp;token=8e6e0d0f-636b-4716-a4b3-734a2e5f5f36" alt=""><figcaption><p>Figure 2: IT-Conductor Service Accounts</p></figcaption></figure>

Then, select the account to display the configuration details, as shown in Figure 3.

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2Fc3vhPLPhPtkk0uBQNW8A%2Fservice-accounts-properties.png?alt=media&amp;token=5204667a-265f-467b-86ad-f0637e5622fb" alt=""><figcaption><p>Figure 3: IT-Conductor Service Account Properties</p></figcaption></figure>

* **Gateway ID** - refers to the ID for one of the Gateways created by your administrator earlier.

To obtain the Gateway ID in IT-Conductor, navigate to **Management → Resources → Gateways**.

![Figure 4: IT-Conductor Remote Gateways](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2Fdo3nkmF8QyJ0DdPrJqWW%2FGateway%20ID.png?alt=media\&token=42a49977-35ce-4190-b4b5-779d5ff468b6)

If the proxy is used for connecting to the internet, while running gwconfig utility choose Proxy=true:

<pre><code><strong># /opt/itconductor/gwconfig
</strong>IT-Conductor Gateway Configuration build: xxxxxxxxxxxx
Gateway ID [GATEWAYID]: xxxxxx
Account ID [ACCOUNTID]: xxxxxx
API Key [APIKEY]: xxxxxx
Proxy [false]: true
Proxy Host []: xxxxx
Proxy Port []: 8080
Configuration saved
</code></pre>

7. Configure JRE. The required Java runtime depends on the Gateway build: "itconductor-gateway-6-xx" requires a Java 8 x64 JRE, and "itconductor-gateway-7-xx" requires Java 21 or later. To verify the default Java installation, run the command below:

{% tabs %}
{% tab title="Java 8 (v6 build)" %}

```
# java -version
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1-b07)
OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)
```

On Ubuntu, if the default Java is not Java 8, install it with:

```
$ sudo apt install openjdk-8-jre-headless
```

![Figure 6: Ubuntu Java Version](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FvAtOKJMTrJwZ4X0C3992%2Fimage.png?alt=media\&token=0d5a44a5-0303-4f75-872f-a8e27d635607)

You can [download](https://service.itconductor.com/objectSavedSearch?OBJECT_Id=7047366675618408) a *tar* version of the OpenJDK 8 JRE from the IT-Conductor site or, for the latest version, from the [Adoptium](https://adoptium.net/temurin/releases/?version=8) website.
{% endtab %}

{% tab title="Java 21+ (v7 build)" %}

```
# java -version
openjdk version "21.0.5" 2024-10-15
OpenJDK Runtime Environment (build 21.0.5+11)
OpenJDK 64-Bit Server VM (build 21.0.5+11, mixed mode, sharing)
```

On Ubuntu, if the default Java is not Java 21 or later, install it with:

```
$ sudo apt install openjdk-21-jre-headless
```

Download a *tar* version of the OpenJDK 21 (or later) JRE from the [Adoptium](https://adoptium.net/temurin/releases/?version=25) website. Choose the architecture matching your system (x64 or aarch64).
{% endtab %}
{% endtabs %}

For either JRE:

* Extract the JRE archive to the "/opt/itconductor/" directory.
* Edit the "/opt/itconductor/conf/startup" file and replace the value with "java\_path=./\<JRE Directory>/bin/java".

8. Configure the Gateway custom **Gateway Maximum Heap Size.** (Optional)
   * The default size is calculated as: \<system available memory> - 500MB
   * Edit the "/opt/itconductor/conf/startup" file, and replace the **xmx** value with "xmx=4000m". This limits the heap size to 4000 MB.
9. Test the IT-Conductor cloud connectivity using the command below:

```
# /opt/itconductor/gwupdate
IT-Conductor Gateway build: xxxxxxxxxx
Starting update...
Gateway.jar is up to date
```

Normally, the update either downloads the latest version of Gateway.jar or reports that it is up to date. If no connection could be established to the cloud service, an error message will be displayed.

10. To start the gateway, use:

```
# sudo systemctl start itconductor-gateway
```

11. To stop the gateway, use:

```
# sudo systemctl stop itconductor-gateway
```

### Video

{% embed url="<https://www.youtube.com/watch?v=wTHlSldJE68>" %}


---

# 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://docs.itconductor.com/user-guide/setup/gateway-setup/it-conductor-gateway-setup-for-linux.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.
