This article describes the installation process on Debian 10 as installed from the official small installation image. If you already have some software installed, the installation process might differ.
nmcli d
sudo apt-get install nano wget
wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-server_8.0.23-1debian10_amd64.deb-bundle.tar
tar -xvf mysql-server_8.0.23-1debian10_amd64.deb-bundle.tar
sudo apt-get install libaio1 libmecab2
sudo dpkg-preconfigure mysql-community-server_8.0.23-1debian10_amd64.deb
sudo dpkg -i mysql-{common,community-client-plugins,community-client-core,community-client,client,community-server-core,community-server,server}_8.0.23-1debian10_amd64.deb
sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
max_allowed_packet=33M
log_bin_trust_function_creators=1
innodb_log_file_size=150M
innodb_log_files_in_group=2
sudo systemctl restart mysql
sudo systemctl status mysql
sudo apt-get install unixodbc
wget https://downloads.mysql.com/archives/get/p/10/file/mysql-connector-odbc-8.0.17-linux-debian10-x86-64bit.tar.gz
gunzip mysql-connector-odbc-8.0.17-linux-debian10-x86-64bit.tar.gz
tar -xvf mysql-connector-odbc-8.0.17-linux-debian10-x86-64bit.tar
cd mysql-connector-odbc-8.0.17-linux-debian10-x86-64bit
sudo cp bin/* /usr/local/bin
sudo cp lib/* /usr/local/lib
sudo myodbc-installer -a -d -n "MySQL ODBC 8.0 Driver" -t "Driver=/usr/local/lib/libmyodbc8w.so"
sudo myodbc-installer -a -d -n "MySQL ODBC 8.0" -t "Driver=/usr/local/lib/libmyodbc8a.so"
sudo myodbc-installer -d -l
sudo apt-get install openssl
sudo apt-get install xvfb
sudo apt-get install cifs-utils
sudo apt-get install libqtwebkit4
sudo apt-get install krb5-user
sudo apt-get install ldap-utils
sudo apt-get install snmp
wget https://download.eset.com/com/eset/apps/business/era/server/linux/latest/server-linux-x86_64.sh
chmod +x server-linux-x86_64.sh
touch server_installer.sh
sudo ./server-linux-x86_64.sh \
--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 from step II.4. \
--server-root-password=password \
--db-user-username=erauser \
--db-user-password=strong complex password \
--cert-hostname="hostname, IP, FQDN"
sudo sh server_installer.sh
sudo systemctl status eraserver
sudo apt-get install openjdk-11-jdk
java -version
sudo apt-get install tomcat9
sudo systemctl status tomcat9
wget https://download.eset.com/com/eset/apps/business/era/webconsole/latest/era.war
sudo cp era.war /var/lib/tomcat9/webapps/
era.war
file.sudo systemctl restart tomcat9
ls /var/lib/tomcat9/webapps
The output should look as follows:
era era.war
http://localhost:8080/era
The ESET PROTECT Server is deployed where localhost
is replaced by the IP address of your machine.
Continue to the next section if you can open the ESET PROTECT Web Console and log in with Administrator credentials (the password was set in the installer script as db-user-username
).
The connection to the Web Console is now available only via HTTP. You can set up a new HTTPS connection.
wget https://download.eset.com/com/eset/apps/business/era/agent/latest/agent-linux-x86_64.sh
chmod +x agent-linux-x86_64.sh
agent_installer.sh script
.touch agent_installer.sh
sudo ./agent-linux-x86_64.sh \
--skip-license \
--hostname=hostname \
--port=2222 \
--webconsole-user=Administrator \
--webconsole-password=password \
--webconsole-port=2223
sudo sh agent_installer.sh
sudo systemctl status eraagent
rm -rf agent_installer.sh
rm -rf agent-linux-x86_64.sh
rm -rf era.war
rm -rf server_installer.sh
rm -rf server-linux-x86_64.sh
rm -rf libmysqlclient21_8.0.23-1debian10_amd64.deb
rm -rf libmysqlclient-dev_8.0.23-1debian10_amd64.deb
rm -rf mysql-client_8.0.23-1debian10_amd64.deb
rm -rf mysql-common_8.0.23-1debian10_amd64.deb
rm -rf mysql-community-client_8.0.23-1debian10_amd64.deb
rm -rf mysql-community-client-core_8.0.23-1debian10_amd64.deb
rm -rf mysql-community-client-plugins_8.0.23-1debian10_amd64.deb
rm -rf mysql-community-server_8.0.23-1debian10_amd64.deb
rm -rf mysql-community-server-core_8.0.23-1debian10_amd64.deb
rm -rf mysql-community-server-debug_8.0.23-1debian10_amd64.deb
rm -rf mysql-community-test_8.0.23-1debian10_amd64.deb
rm -rf mysql-community-test-debug_8.0.23-1debian10_amd64.deb
rm -rf mysql-connector-odbc-8.0.17-linux-debian10-x86-64bit
rm -rf mysql-connector-odbc-8.0.17-linux-debian10-x86-64bit.tar
rm -rf mysql-server_8.0.23-1debian10_amd64.deb
rm -rf mysql-server_8.0.23-1debian10_amd64.deb-bundle.tar
rm -rf mysql-testsuite_8.0.23-1debian10_amd64.deb