chmod +x server-linux-x86_64.sh
sudo ./server-linux-x86_64.sh \
--skip-license \
--db-type="MS SQL Server" \
--db-driver="ODBC Driver 17 for SQL Server" \
--db-hostname=10.20.30.40 \
--db-port=1433 \
--db-admin-username=user \
--db-admin-password=pAssword1 \
--server-root-password=pAssword1 \
--db-user-username=user \
--db-user-password=pAssword1 \
--cert-hostname="10.20.30.50;ubuntu1"
To improve security, enable an encrypted connection between the ESMC Server and the SQL database.
Perform the steps below on the ESMC Server Linux machine:
root
.eraserver
service:service eraserver stop
StartupConfiguration.ini
file:nano /etc/opt/eset/RemoteAdministrator/Server/StartupConfiguration.ini
Encrypt=yes;TrustServerCertificate=yes;
StartupConfiguration.ini
file (replace the parts highlighted in yellow with your values):DatabaseType=MSSQLOdbc
DatabaseConnectionString=Driver=ODBC Driver 17 for SQL Server;Server=10.20.30.40,1433;Uid=era_user;Pwd={SecretPassword};CharSet=utf8;Database=era_db;Encrypt=yes;TrustServerCertificate=yes;
eraserver
service:
service eraserver start