ESET Online Help

Search English
Select the category
Select the topic

Server installation - Linux


Installation instructions for selected Linux distributions

You can follow our Knowledgebase articles with distribution-specific instructions:

CentOS 7

Debian 10

SUSE Linux Enterprise Server (SLES)


Follow the steps below to install the ESET PROTECT Server component on Linux using a Terminal command:


Ensure to meet all the installation prerequisites.

1.Download the ESET PROTECT Server component:


2.Make the downloaded file executable:

chmod +x

3.You can prepare an installation script and then execute it using sudo.

Run the installation script based on the example below (New lines are split by "\" for copying the whole command to Terminal):

sudo ./ \
--skip-license \
--db-type="MySQL Server" \
--db-driver="MySQL ODBC 8.0 Driver" \
--db-hostname=localhost \
--db-port=3306 \
--db-admin-username=root \
--db-admin-password=password \
--server-root-password=password \
--db-user-username=root \
--db-user-password=password \
--cert-hostname="hostname, IP, FQDN"

You can modify the following attributes:





Uninstalls the product.



Database will not be removed during uninstallation.



The locale identifier (LCID) of the installed server (default value is en_US). See supported languages for available options.


If you do not specify the --locale, ESET PROTECT Server will be installed in English.

After ESET PROTECT installation, you can set a language for each ESET PROTECT Web Console session. Not all elements of the Web Console will change after the language change. Some of the elements (default dashboards, policies, tasks, etc.) are created during the ESET PROTECT installation and their language cannot be changed.



The installation will not ask the user for license agreement confirmation.



Skip generation of certificates (use with the --server-cert-path parameter).



ESET license key. You can provide the license key later.



ESET PROTECT server port (default value is 2222)



ESET PROTECT console port (default value is 2223)



Password for Web Console login of the user "Administrator" must be at least 8 characters long.



The type of database that will be used (possible values: "MySQL Server", "MS SQL Server"). Microsoft SQL Server on Linux is not supported. However, you can connect the ESET PROTECT Server on Linux to Microsoft SQL Server on Windows.



ODBC driver used for connecting to database specified in the odbcinst.ini file (command odbcinst -q -d gives a list of available drivers, use one of these drivers for example: --db-driver="MySQL ODBC 8.0 Driver", --db-driver="MySQL ODBC 8.0 Unicode Driver" or --db-driver="MySQL ODBC 8.0.17").



Computer name or IP address of the database server. The named database instance is not supported.



Port of the database server (default value is 3306).



Name of ESET PROTECT Server database (default value is era_db).



Database administrator username (used by installation for creating and modifying database). You can omit this parameter if there is a previously created database user-defined in --db-user-username and --db-user-password



Database administrator password. You can omit this parameter if there is a previously created database user-defined by --db-user-username and --db-user-password



Database ESET PROTECT Server user username (used by ESET PROTECT Server for connecting to database); should be no longer than 16 characters.



Database ESET PROTECT Server user password



Contains all the possible names and/or the IP of the ESET PROTECT Server computer. The value must match the server name specified in the Agent certificate that tries to connect to the server.



Path to server peer certificate (use this option if you specified --skip-cert as well)



Password of server peer certificate



Password of Agent peer certificate



Certificate Authority password



Path to the Server's Certificate Authority file



Certification Authority common name (use "")


















Certificate validity in days or years (specify in argument --cert-validity-unit)



Unit for certificate validity, possible values are 'Years' or 'Days' (default value is Years)



Active Directory server



Name of the user who has rights to search the AD network



Active Directory user password



Active Directory tree path that will be synchronized; use empty brackets "" to synchronize a whole tree



Turn on the Product improvement program.



Turn off the Product improvement program.



We recommend that you delete commands containing sensitive data (for example, a password) from the command line history:

1.Run history to see the list of all commands in the history.

2.Run history -d line_number (specify the line number of the command). Alternatively, run history -c to delete the entire command line history.

4.The installation prompts if you want to participate in the Product improvement program. Press Y if you agree to send crash reports and telemetry data to ESET or press N not to send any data.

5.The ESET PROTECT Server and the eraserver service will be installed in the following location:


The installation may end with SELinux policy... failure. You can ignore it if you do not use SELinux.

6.After the installation, verify that the ESET PROTECT Server service is running using the command shown below:

sudo systemctl status eraserver


Installer log

The installer log may be useful for troubleshooting and you can find it in Log files.