I. Upgrade ESMC Server
All steps in this article are to be run in the Linux terminal. If you use 32-bit Linux system, do not upgrade. ESMC 7.1 Server does not support 32-bit architecture.
Use the following scripts (substitute the actual username for "era"):
Complete the upgrade and make sure to remove the SUPER right after the upgrade is complete:
- Download the ESMC Server installer:
64-bit
wget https://download.eset.com/com/eset/apps/business/era/server/linux/latest/server-linux-x86_64.sh
- Change the permission of file to executable:
sudo chmod +x server-linux-x86_64.sh
- Execute the installer file:
sudo ./server-linux-x86_64.sh
- During the installation, you will be asked if you accept the EULA and Privacy Policy and if you want to join the Product improvement program. Click Enter to confirm your answer.
If you receive an error related to insufficient rights when upgrading:
See the error log first:
cat /var/log/eset/RemoteAdministrator/EraServerInstaller.log
and complete the following steps:
-
- Temporarily add the SUPER right for "era" user
- Locate the actual user name and server connection in:
/etc/opt/eset/RemoteAdministrator/Server/StartupConfiguration.ini
- For a database server on localhost, use
mysql -u root -p
and type:
grant SUPER on *.* to era@'localhost';
- For a database server running on another machine, use
mysql -u root -p --host=
and type:
grant SUPER on *.* to 'era'@'%';
- For a database server on localhost, use
mysql -u root -p
and type:
revoke SUPER on *.* from 'era'@'localhost';
- For a database server on another machine, use
mysql -u root -p --host=
and type:
revoke SUPER on *.* from 'era'@'%';
- The installation will continue. When it is finished, follow the next steps below.
II. Upgrade Tomcat
ESMC 7.1 requires Tomcat 9 or later. Many Linux systems do a regular upgrade in the background, or there may not be a newer version available. Some Linux distributions use different versioning of Tomcat. Modify the addresses in the steps in part II and III according to your system.
- Before upgrading the Tomcat, backup your server.xml file, which stores the configuration for Tomcat. The file is located at
/etc/tomcat7/server.xml
or a similar location. You can find it using the following command:
sudo find / -name server.xml
- To back up the server.xml file, copy it to your home folder. For example:
sudo cp /etc/tomcat7/server.xml /home/user/backup.server.xml
III. Manual Web Console upgrade
- Download the ESMC Web Console:
wget https://download.eset.com/com/eset/apps/business/era/webconsole/latest/era.war
- Backup the Web Console configuration file, copy it to your home folder. For example:
cp /var/lib/tomcat7/webapps/era/WEB-INF/classes/sk/eset/era/g2webconsole/server/modules/config/EraWebServerConfig.properties /home/user/backup.Era.WebServerConfig.properties
- Stop the Tomcat service:
sudo systemctl stop tomcat7
- Remove the old Web Console files:
sudo rm -rf /var/lib/tomcat7/webapps/era /var/lib/tomcat7/webapps/era.war
- Copy the new
era.war
file:
sudo cp era.war /var/lib/tomcat7/webapps/
- Start the Tomcat service:
sudo systemctl start tomcat7
- Wait until the
era.war
is extracted by Tomcat. A new folder era
appears in the /var/lib/tomcat7/webapps
/
folder.
- Restore the backed Web Console configuration file:
sudo cp /home/user/backup.Era.WebServerConfig.properties /var/lib/tomcat7/webapps/era/WEB-INF/classes/sk/eset/era/g2webconsole/server/modules/config/EraWebServerConfig.properties
- Restart the Tomcat service to apply the restored configuration.
- You can now log in the Web Console.
IV. RD Sensor upgrade
To upgrade RD Sensor, run the installer as follows:
sudo ./rdsensor-linx-x86_64.sh --skip-license
The --skip-license
parameter skips the display of the ESET End-user license agreement (EULA). If you wish to view the EULA before agreeing to it, do not use this parameter when installing RD Sensor.