Update OS
sudo apt update && sudo apt upgrade
Install Dependencies, apabila ditanya password mysql maka masukkan password eraadmin
sudo apt install default-jdk tomcat7 mysql-server unixodbc libodbc1 xvfb cifs-utils libqtwebkit4 krb5-user winbind ldap-utils snmp ldap-utils
download ODBC mysql Ubuntu terbaru di http://dev.mysql.com/downloads/connector/odbc/ (sesuaikan path dan link dengan ODBC yang terbaru dari web tersebut)
wget https://dev.mysql.com/get/Downloads/Connector-ODBC/5.3/mysql-connector-odbc-5.3.7-linux-ubuntu16.04-x86-64bit.tar.gz
Ekstrak ODBC (sesuaikan dengan ODBC yang telah di download sebelumnya)
tar xvzf mysql-connector-odbc-5.3.7-linux-ubuntu16.04-x86-64bit.tar.gz
Kopi Driver ke folder ODBC (sesuaikan dengan path dari odbc yang sebelumnya di download)
sudo cp mysql-connector-odbc-5.3.7-linux-ubuntu16.04-x86-64bit/lib/libmyodbc5* /usr/lib/x86_64-linux-gnu/odbc/
Edit Mysql
sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf
Edit dan tambahkan pada bagian [mysqld] dengan konfigurasi berikut
# ESET Requirement
max_allowed_packet = 500M
innodb_log_file_size = 100M
innodb_log_files_in_group = 4
innodb_lock_wait_timeout=600
Restart Mysql
sudo service mysql restart
Edit ODBC
sudo vi /etc/odbcinst.ini
Kopi konfigurasi berikut
Untuk 64bit
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib/x86_64-linux-gnu/odbc/libmyodbc5w.so
Setup = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so
FileUsage = 1
Untuk 32bit
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib/i386-linux-gnu/odbc/libmyodbc5w.so
Setup = /usr/lib/i386-linux-gnu/odbc/libodbcmyS.so
FileUsage = 1
Kopi file ERA Console
sudo cp era.war /var/lib/tomcat7/webapps/
Restart Service Tomcat
sudo service tomcat7 restart
Tes ERA Console
http://IP_ADDRES_ATAU_HOSTNAME:8080/era
Ubah permission installer agar bisa di install
sudo chmod +x Server-Linux-x86_64.sh
sudo chmod +x Agent-Linux-x86_64.sh
sudo chmod +x RDSensor-Linux-x86_64.sh
Install ERA Server
sudo ./Server-Linux-x86_64.sh --skip-license --db-driver=MySQL --db-hostname=127.0.0.1 --db-port=3306 --db-admin-username=root --db-admin-password=eraadmin --server-root-password=eraadmin --db-user-username=root --db-user-password=eraadmin --cert-hostname="*"
Backup Certificate
http://help.eset.com/era_admin/65/en-US/index.html?export_certificate.htm http://help.eset.com/era_admin/65/en-US/export_a_public_key.htm
Install Agent
sudo ./Agent-Linux-x86_64.sh --skip-license --hostname=localhost --port=2222 --webconsole-hostname=localhost --webconsole-port=2223 --webconsole-user=administrator --webconsole-password=eraadmin --cert-auto-confirm
Install RDSensor
sudo ./RDSensor-Linux-x86_64.sh --skip-license
Install Apache proxy
https://kb.prosperita.co.id/?epkb_post_type_1=install-apache-proxy-di-ubuntu-16-04