> For the complete documentation index, see [llms.txt](https://docs.editran.onesait.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.editran.onesait.com/documentacion-editran/connect-v3.1-en/instalacion/linux_instalacion.md).

# Linux installation

This guide will help you install **Editran Connect** on your Linux operating system, step by step, both in graphical environments and without a graphical environment.

***

## Prerequisites

* **Operating system**: Debian-based distributions (Ubuntu, Mint) or Red Hat (Fedora, CentOS).
* **Processor**: x64 (64 bits)
* **Disk space**: The space required by the software is 1 GB, but for its operation and depending on the volume of data managed by the installation, a minimum of 10 GB is recommended.
* **Memory**: For execution, a minimum of 4 GB of RAM will be required.
* **Email server**: Compatible with the Simple Mail Transfer Protocol (SMTP).
* **Certificate**: Self-signed certificate on the server for https web connection (443 by default)
* **Permissions**: User with superuser (root) permissions to install and configure services.

If you have the application installed **Editran Core Connect**, you must uninstall it before proceeding with the installation of **Editran Connect**. This will avoid conflicts between both applications. It is recommended to make a complete backup of the data, folders, and files of **Editran Core Connect** before uninstalling it.

***

## Graphical environment installation

The installation steps are described below. The process is quite simple and quick to carry out. Make sure you have a desktop environment installed (for example, GNOME, KDE).

## Step 1: Start

Run the installation package, which will show the following welcome screen:

![Installation start](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-6612b0906b09a0a3aacb6bb76c24cebe5f02421f%2Finicio_instalacion.png?alt=media)

1. Grant permissions to the installation file, if necessary:

```bash
sudo chmod +x EditranConnect-3.0.x-linux-x64.run
```

2. Run the installer:

```bash
sudo ./EditranConnect-3.0.x-linux-x64.run
```

3. Click on **Next** to begin the process

***

## Step 2: Installation directory

The installer will ask you to select the directory where you want to install the application.

![Installation directory](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-64e9957fb3415bc6c2d1cfe8bd0eb9c2e23899ce%2Fdirectorio_instalacion.png?alt=media)

1. **Default path**: `/opt/EditranConnect`.
2. If you prefer a different directory, click the icon and select the new location, or you can type it in.
3. Check **Custom installation (advanced)** if you want to modify any of the default installation values. In the following steps, the options you can adjust will be detailed.
4. Click on **Next** to continue. If you have not checked **Custom installation (advanced)**, continue in the **Step 4**.

***

## Step 3: Component selection (custom installation)

On this screen, you can choose which application components you want to install:

![Component selection](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-7363cf50b474955fa60145045f66c487541f3f53%2Fseleccion_componentes.png?alt=media)

1. Some components are mandatory, which is why they appear checked and disabled.
2. It is recommended to leave the default selection if you are not sure which components to select.
   * **Signature module**: Select this component if you need to install and configure the signature module. And select **Creation and initialization** to create and configure the files and tools for this module.
   * **Database**: Select the component **Creation and initialization** to create and initialize the database.
3. Click on **Next** to continue.

***

## Step 4: Linux distribution

On this screen, you can select the Linux distribution you are using:

![Linux distribution](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-30ba2f0a3bebf03077f0b2ade0c7f89d190934bd%2Fdistribucion_linux.png?alt=media)

1. Select the Linux distribution you are using. If you are not sure, you can leave the default option.
   * **Debian**: For Debian-based distributions (Ubuntu, Mint).
   * **Red Hat**: For Red Hat-based distributions (Fedora, CentOS).
   * **Other distributions**: For other distributions not officially supported.
2. It is important to select the correct distribution, as this will affect the installation of the packages necessary for the application to work.
3. Click on **Next** to continue. If you have checked **Custom installation (advanced)** continue in the **Step 5**, and if not continue in the **Step 9**.

***

## Step 5: Configuration. Ports (custom installation)

On this screen, you can modify the ports assigned by default to the application's different services:

![Configuration. Ports](https://gitlab.devops.onesait.com/onesait/disruptors/ecosystems-editran/editran-documentation/-/blob/public/connect/3.1/instalacion/broken-reference)

If you are not sure, it is recommended to keep the default values. However, if you know that a port is in use, it is advisable to change it.

Click on **Next** to continue.

***

## Step 6: Configuration. Database (custom installation)

On this screen, you can modify the database access credentials:

![Configuration. Database](https://gitlab.devops.onesait.com/onesait/disruptors/ecosystems-editran/editran-documentation/-/blob/public/connect/3.1/instalacion/broken-reference)

If you want to change them, enter a user and a password (both are required). The password must match the confirmation, otherwise an error will be displayed.

Click on **Next** to continue.

***

## Step 7: Configuration. Certificate (custom installation)

On this screen, you can select the files for your own self-signed certificate:

* **Certificate**: Certificate file (.pem).
* **Certificate key**: Private key file (.key).

![Configuration. Certificate](https://gitlab.devops.onesait.com/onesait/disruptors/ecosystems-editran/editran-documentation/-/blob/public/connect/3.1/instalacion/broken-reference)

1. This information is optional. If you do not specify a certificate, the installer will use a temporary self-signed certificate. Although it is functional, it is not valid and must be replaced by an SSL certificate issued by a certificate authority.
2. If you want to use your own certificate, check the option **Specify an SSL certificate** and select the corresponding files using the icon or type the path and name manually.
3. Click on **Next** to continue.

***

## Step 8: License (custom installation)

On this screen, you can select the license file (.dat) if you have one. This step is optional.

![License file](https://gitlab.devops.onesait.com/onesait/disruptors/ecosystems-editran/editran-documentation/-/blob/public/connect/3.1/instalacion/broken-reference)

Click on **Next** to continue.

***

## Step 9: Summary

On this screen, a summary of the installation to be performed will be shown:

![Installation summary](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-a351de18ddaedb20240405bcf84c5ebcdd2ad46e%2Fresumen_instalacion.png?alt=media)

Among others, the following information will be displayed:

* Version to install
* Installation type (Normal)
* Directories
* Available and required space
* Ports
* ...

Click on **Next** to continue.

1. Before starting the installation process, a series of validations are performed to verify that the installation parameters are correct.
2. If any problem is detected, such as a port in use, an error message will be shown on screen.
3. Once all problems, if any, have been identified, the following screen will appear: ![Errores de validación](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-4b987752bba383323c3106d8ea9d9455e69223e9%2Ferrores_validacion.png?alt=media)
4. If you have checked **custom installation**, go back to the **Step 5**. Otherwise, go back to the **Step 2**, check **Custom installation (advanced)** and correct the incorrect values.

***

## Step 10: Confirmation

This screen will indicate that everything is ready to perform the installation:

![Ready to install](https://gitlab.devops.onesait.com/onesait/disruptors/ecosystems-editran/editran-documentation/-/blob/public/connect/3.1/instalacion/broken-reference)

Click on **Next** to begin the installation process.

***

## Step 11: Installation in progress

The installation will begin and the progress along with the processes in execution will be shown:

![Installation in progress](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-e1dcf5bfbc8d7433c32c84d8d07dece9a9b8d821%2Finstalacion_en_proceso.png?alt=media)

1. Depending on the selected components, different screens will be shown during the installation process.
2. In the event that you have not checked **custom installation** or, if you did, you have selected the component **Database. Creation and initialization** in the **Step 3**, the database will be created and initialized.

   ![Database creation and initialization](https://gitlab.devops.onesait.com/onesait/disruptors/ecosystems-editran/editran-documentation/-/blob/public/connect/3.1/instalacion/broken-reference)
3. If the services do not start correctly, a warning message will appear. See the section *Troubleshooting* to identify the cause.

Wait for the process to finish.

***

## Step 12: Installation completed

Once the installation is complete, a screen will be shown indicating that the process has finished

![Installation completed](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-727a5d6c8bbce4f1e1fff0a76bd51978991ff457%2Finstalacion_finalizada.png?alt=media)

Click on **Finish**.

**Done!** You now have the **Editran Connect** application installed on your system.

***

## Text-mode installation

The installation steps are described below. The process is quite simple and quick to carry out. Make sure you have a console or terminal environment available.

## Step 1: Start

1. Grant permissions to the installation file, if necessary:

   ```bash
   sudo chmod +x EditranConnect-3.0.x-linux-x64.run
   ```
2. Run the installation package. The parameter `--mode text` indicates that you want to perform the installation in text mode. It is not necessary if the system does not have a graphical environment:

   ```bash
   sudo ./EditranConnect-3.0.x-linux-x64.run --mode text
   ```
3. If you want to check the installation parameters, you can run the following command:

   ```bash
   sudo ./EditranConnect-3.0.x-linux-x64.run --mode text
   ```

***

## Step 2: Installation directory

The installer will ask you to indicate the directory where you want to install the application.

![Installation directory](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-f48d41ce41f8a373212edae6dd0490258512ab65%2Fdirectorio_instalacion_text.png?alt=media)

1. **Default path**: `/opt/EditranConnect`.
2. If you prefer a different path, type it manually or click **Enter** to accept the default path.
3. Type **Y** if you want to perform a **custom (advanced) installation**. This will allow you to modify the default installation values. In the following steps, the options you can adjust will be detailed.
4. Press **Enter** to continue. If you have not indicated **Custom installation (advanced)**, continue in the **Step 4**.

***

## Step 3: Component selection (custom installation)

Next, you can choose which application components you want to install:

![Component selection](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-768e4d761e93093b225ac333f75a978affa5202d%2Fseleccion_componentes_text.png?alt=media)

1. Some components are mandatory, so they cannot be edited or selected.
2. It is recommended to leave the default selection if you are not sure which components to select.
   * **Signature module**: Type **Y** in this component if you need to install and configure the signing module. And in **Creation and initialization** to create and configure the files and tools for this module.
   * **Database**: Type **Y** in the component **Creation and initialization** to create and initialize the database.
3. Press **Enter** to continue, or type **N** if you want to modify the component selection.

***

## Step 4: Linux distribution

Next, you can select the Linux distribution you are using:

![Linux distribution](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-3a3b3ce0eef5f8764bfe8154ffae1cc638a32355%2Fdistribucion_linux_text.png?alt=media)

1. Indicate the Linux distribution you are using. If you are not sure, you can leave the default option.
   * **Debian**: For Debian-based distributions (Ubuntu, Mint).
   * **Red Hat**: For Red Hat-based distributions (Fedora, CentOS).
   * **Other distributions**: For other distributions not officially supported.
2. It is important to select the correct distribution, as this will affect the installation of the packages necessary for the application to work.
3. Type the distribution number and press **Enter** to continue. If you have indicated **Custom installation (advanced)** continue in the **Step 5**, and if not continue in the **Step 9**.

***

## Step 5: Configuration. Ports (custom installation)

Next, you can modify the ports assigned by default to the different services of the application:

![Configuration. Ports](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-5545cac81bdbafe131abfa98173c8117fbac284b%2Fconfiguracion_puertos_text.png?alt=media)

If you are not sure, it is recommended to keep the default values. However, if you know that a port is in use, it is advisable to change it.

Press **Enter** to keep the default port.

***

## Step 6: Configuration. Database (custom installation)

Next, you can modify the database access credentials:

![Configuration. Database](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-10f504c677e592755df255f64dd73063572e7662%2Fconfiguracion_base_de_datos_text.png?alt=media)

If you want to change them, enter a user and a password (both are required). The password must match the confirmation, otherwise an error will be displayed.

Press **Enter** to keep the default values.

## Step 7: Configuration. Certificate (custom installation)

Next, you can select the files of your own self-signed certificate:

* **Certificate**: Certificate file (.pem).
* **Certificate key**: Private key file (.key).

![Configuration. Certificate](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-a172a3c9eee67ba5fefabc91e43de4cfab9aa804%2Fconfiguracion_certificado_text.png?alt=media)

1. This information is optional. If you do not specify a certificate, the installer will use a temporary self-signed certificate. Although it is functional, it is not valid and must be replaced by an SSL certificate issued by a certificate authority.
2. If you want to use your own certificate, type **Y** in **Specify an SSL certificate**.
3. Press **Enter** to continue.
4. Then type the name and path of the certificate files.

***

## Step 8: License (custom installation)

Next, you can select the license file (.dat) if you have one. This step is optional.

![License file](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-b6b0f9b4e5672fb7fc7ed50431cb3b7e475c8982%2Ffichero_licencia_text.png?alt=media)

1. Type the name and full path of the license file, if you want to specify it.
2. Press **Enter** to continue.

***

## Step 9: Summary

Next, you will be shown a summary of the installation to be performed:

![Installation summary](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-9e3bda79790dc7d3c6800c3d1dad20080ed624e1%2Fresumen_instalacion_text.png?alt=media)

Among others, the following information will be displayed:

* Version to install
* Installation type (Normal)
* Directories
* Available and required space
* Ports
* ...

Press **Enter** to continue.

1. Before starting the installation process, a series of validations are performed to verify that the installation parameters are correct.
2. If a problem is detected, such as a port already in use, an error message will be displayed and you will have to repeat the installation process selecting **Custom installation (advanced)** to be able to correct the incorrect values.

***

## Step 10: Confirmation

Next, you will be informed that everything is ready to perform the installation:

![Ready to install](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-93ff9aa22d966f4209e36ab797c83b26ee9e1a74%2Fconfirmacion_instalacion_text.png?alt=media)

1. Type **N** if you do not want to start the installation process.
2. Press **Enter** to continue.

***

## Step 11: Installation in progress

The installation will begin and the progress along with the processes in execution will be shown:

![Installation in progress](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-b2e40503d069aa9fd90462d552df319cd43e1d03%2Finstalacion_en_proceso_text.png?alt=media)

If the services do not start correctly, a warning message will appear. See the section *Troubleshooting* to identify the cause.

Wait for the process to finish.

***

## Step 12: Installation completed

Once the installation is finished, a message will be displayed indicating that the process has ended

![Installation completed](https://1190478111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzO0mk2eo5LONjICfqrP8%2Fuploads%2Fgit-blob-3cc8959c4d41e830c0193131dd755a4b7f467eb8%2Finstalacion_finalizada_text.png?alt=media)

**Done!** You now have the **Editran Connect** application installed on your system.

***

## Troubleshooting

#### 1. Errors during installation

If you encounter any errors during the installation process, check the following points:

* **Disk space**: Make sure there is enough available space for installation.
* **System compatibility**: Verify that your operating system and processor are compatible.
* **Administrator permissions**: Run the installer with superuser (root) permissions to avoid permission problems.
* **Antivirus or firewall**: Check that your antivirus or firewall is not blocking the installation. If necessary, temporarily disable them during the process.

For more information about the error, check the installation log file (log).

#### 2. The services do not start

If the installation was successful, but the services do not start, check the following:

* **Dependencies**: Make sure all required services are running. For example, the service *Editran Connect Data* must be started before starting the service *Editran Connect Base*.
* **Port in use**: Confirm that port 443 *(Editran Connect Server)* or 5432 *(Editran Connect Data)* is not being used by another service. You can use tools such as `netstat` to check the ports in use.
* **Firewall**: Check that there is no firewall blocking the ports used by the services.
* **Database configuration**: Check that the database is correctly configured and accessible. Make sure the access credentials are correct and that the database server is running.
* **Software conflicts**: Make sure there are no other programs or services conflicting with the services of **Editran Connect**. Check that the application **Editran Core Connect** is uninstalled.
* **Linux distribution**: Verify that the Linux distribution selected during the installation is correct.
* **License**: Verify that the license file (`license.dat`) is present and valid. This implies that the services *Editran License Service* and *Editran Connect Base* will not start.
* **Local environment**: The service *Editran Connect Base* will not start until a local environment is configured in the *Editran Core*.

For more details about possible errors, check the log files.

***

## Log files

Below is a table with the different log files, their description, name, and location.

| **Description**                 | **File(s)**                    | **Location**                    |
| ------------------------------- | ------------------------------ | ------------------------------- |
| Installation log                | `installbuilder_installer.log` | `/tmp`                          |
| Service startup and status log  | `*.out, *log`                  | `%INSTALL_DIR%/services/logs`   |
| Database error and event log    | `logfile`                      | `%INSTALL_DIR%/data`            |
| Application error and event log | `*.log`                        | `%INSTALL_DIR%/logs`            |
| Core module error and event log | `*.out, *log`                  | `%INSTALL_DIR%/core/log`        |
| License error and event log     | `*.log`                        | `%INSTALL_DIR%/core/bin/SL/log` |

***

## Services

Below is a table with the different application services, their description, and the dependencies required to start them.

| **Name**                | **Description**                          | **Dependencies to start** |
| ----------------------- | ---------------------------------------- | ------------------------- |
| Editran Connect Base    | Editran Connect services                 | Editran Connect Data      |
| Editran Connect Data    | Database service for Editran Connect     |                           |
| Editran Connect Server  | Web server for Editran Connect           |                           |
| Editran Connect Sign    | Signature services for Editran Connect   | Editran Connect Data      |
| Editran Base Service    | EDITRAN protocol for file transfer       | Editran License Service   |
| Editran License Service | Handles requests from the License V2 API |                           |

***


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.editran.onesait.com/documentacion-editran/connect-v3.1-en/instalacion/linux_instalacion.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
