<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  
  
  <channel>
    <title>chrisjrob: eset</title>
    <link>https://chrisjrob.com</link>
    <atom:link href="https://chrisjrob.com/tag/eset/feed/index.xml" rel="self" type="application/rss+xml" />
    <description>GNU Linux, Perl and FLOSS</description>
    <language>en-gb</language>
    <pubDate>Fri, 13 Feb 2026 17:22:31 +0000</pubDate>
    <lastBuildDate>Fri, 13 Feb 2026 17:22:31 +0000</lastBuildDate>
    
    <item>
      <title>Howto | Install ESET Remote Administrator on Ubuntu</title>
      <link>https://chrisjrob.com/2015/11/17/install-eset-remote-administrator-on-ubuntu/</link>
      <pubDate>Tue, 17 Nov 2015 20:12:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2015/11/17/install-eset-remote-administrator-on-ubuntu</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/eset-remote-administrator.png" align="right" alt="Featured Image">
         
         <p>After much research I decided to purchase <a href="http://www.eset.co.uk/Business/Endpoint-Security/Endpoint-Antivirus">ESET Antivirus</a> for our Windows clients. 
But rather than install ESET Antivirus on each client in turn, I decided to install ESET Remote Administrator on an Ubuntu VPS.
ESET Remote Administrator is a server program for controlling ESET Antivirus (and other ESET programs) on clients, you can use it to deploy the ESET Agent, which in turn can then install and monitor the ESET Antivirus software.</p>

<!--more-->

<p>Our Windows PCs are controlled by an ActiveDirectory server (actually a <a href="https://www.samba.org/">Samba</a>4 ActiveDirectory server, although that should not make any difference to these instructions).</p>

<p>I found the <a href="http://help.eset.com/era_install/62/en-US/index.html?linux.htm">ESET instructions</a> for so doing decidedly sketchy, but I eventually managed to install it and took some notes as I went. 
I cannot promise these instructions are complete, but used in conjunction with the <a href="http://help.eset.com/era_install/62/en-US/index.html?linux.htm">ESET instructions</a> they may be of help.</p>

<h2 id="update-hosts">Update Hosts</h2>

<p>Edit <code class="language-plaintext highlighter-rouge">/etc/hosts</code>:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>127.0.0.1       localhost.example.lan      localhost.localdomain        localhost
192.168.0.109   eset.example.lan           eset
</code></pre></div></div>

<p>Test by typing the following two commands and checking the output matches:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># hostname
eset

# hostname -f
eset.example.lan
</code></pre></div></div>

<h2 id="dependencies">Dependencies</h2>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># apt-get install mysql-server unixodbc libmyodbc cifs-utils libjcifs-java winbind libqtwebkit4 xvfb
# dpkg-reconfigure libmyodbc 
</code></pre></div></div>

<h2 id="install-mysql-server">Install MySQL Server</h2>

<p>Edit <code class="language-plaintext highlighter-rouge">/etc/mysql/my.cnf</code>:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>max_allowed_packet=33M
</code></pre></div></div>

<p>Restart MySQL</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># service mysql-server restart
</code></pre></div></div>

<h2 id="configure-mysql">Configure MySQL</h2>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># mysql -u root -p
</code></pre></div></div>

<p>Cannot remember whether I created database and/or username and password, suggest you try without and then with.</p>

<h2 id="install-eset-remote-administration-server">Install ESET Remote Administration Server</h2>

<p>Replace ??? with actual:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># sh Server-Linux-x86_64.sh --license-key=??? \
--db-type="MySQL Server" --db-driver="MySQL" --db-hostname=127.0.0.1 --db-port=3306 \
--server-root-password="???" --db-name="era_db" --db-admin-username="root" --db-admin-password="???" \
--db-user-username="era" --db-user-password="???" \
--cert-hostname="eset" --cert-auth-common-name="eset.example.lan" --cert-organizational-unit="eset.example.lan" \
--cert-organization="example ltd" --cert-locality="UK" \
--ad-server="ads.example.lan" --ad-user-name="era" --ad-user-password="???"
</code></pre></div></div>

<p>In case of error, read the following carefully:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>/var/log/eset/RemoteAdministrator/EraServerInstaller.log
</code></pre></div></div>

<h2 id="install-tomcat7">Install Tomcat7</h2>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># apt-get install tomcat7 tomcat7-admin
</code></pre></div></div>

<p>Wait 5 minutes for Tomcat to start, then visit http://localhost:8080 to check it has worked.</p>

<h2 id="configure-ssl">Configure SSL</h2>

<p>See <a href="https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Configuration">SSL/TLS Configuration HOW-TO</a>.</p>

<h3 id="step-1---generate-keystore">Step 1 - Generate Keystore</h3>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /usr/share/tomcat7/.keystore
</code></pre></div></div>

<p>Use password ‘changeit’.</p>

<p>At the time of writing $JAVA_HOME is <code class="language-plaintext highlighter-rouge">/usr/lib/jvm/java-7-openjdk-amd64/jre</code></p>

<h3 id="step-2---configure-tomcat">Step 2 - Configure Tomcat</h3>

<p>You should have two sections like this:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;Connector port="8080" protocol="HTTP/1.1"
           connectionTimeout="20000"
           URIEncoding="UTF-8"
           redirectPort="8443" /&gt;

&lt;Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
           maxThreads="150" scheme="https" secure="true"
           keystoreFile="/usr/share/tomcat7/.keystore" keystorePass="changeit"
           clientAuth="false" sslProtocol="TLS" /&gt;
</code></pre></div></div>

<p>These will already exist, but need uncommenting and adjusting with keystore details.</p>

<h3 id="test">Test</h3>

<p>You should now be able to go to <a href="http://localhost:8443">http://localhost:8443</a>.</p>

<h2 id="join-windows-domain">Join Windows Domain</h2>

<p>The ERA server must be joined to the domain</p>

<p>Install samba and stop any samba services that start.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># apt-get install samba krb5-user smbclient
</code></pre></div></div>

<p>Edit <code class="language-plaintext highlighter-rouge">/etc/samba/smb.conf</code>:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[global]
         workgroup = EXAMPLE
         security = ADS
         realm = EXAMPLE.COM
         dedicated keytab file = /etc/krb5.keytab
         kerberos method = secrets and keytab
         server string = Samba 4 Client %h
         winbind enum users = yes
         winbind enum groups = yes
         winbind use default domain = yes
         winbind expand groups = 4
         winbind nss info = rfc2307
         winbind refresh tickets = Yes
         winbind normalize names = Yes
         idmap config * : backend = tdb
         idmap config * : range = 2000-9999
         idmap config EXAMPLE : backend  = ad
         idmap config EXAMPLE : range = 10000-999999
         idmap config EXAMPLE:schema_mode = rfc2307
         printcap name = cups
         cups options = raw
         usershare allow guests = yes
         domain master = no
         local master = no
         preferred master = no
         os level = 20
         map to guest = bad user
         username map = /etc/samba/smbmap
</code></pre></div></div>

<p>Create <code class="language-plaintext highlighter-rouge">/etc/samba/smbmap</code>:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>!root = EXAMPLE\Administrator Administrator admionistrator
</code></pre></div></div>

<p>Edit <code class="language-plaintext highlighter-rouge">/etc/krb5.conf</code>:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[libdefaults]
      default_realm = EXAMPLE.COM
      dns_lookup_realm = false
      dns_lookup_kdc = true
      ticket_lifetime = 24h
      forwardable = yes
</code></pre></div></div>

<p>Make sure that <code class="language-plaintext highlighter-rouge">/etc/resolv.conf</code> points to the AD DC, and dns is setup correctly.</p>

<p>Then run this command:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># net ads join -U Administrator@EXAMPLE.COM
</code></pre></div></div>

<p>Enter Administrators password when requested.</p>

<p>Edit <code class="language-plaintext highlighter-rouge">/etc/nsswitch.conf</code> and add ‘winbind’ to passwd &amp; group lines.</p>

<p>Start samba services.</p>

<h2 id="update-dns">Update DNS</h2>

<p>For some reason the join does not always create the DNS entry on Samba4, so you may need to add this manually.</p>

<h2 id="references">References</h2>

<ul>
  <li><a href="https://www.samba.org/">Samba</a></li>
  <li><a href="http://help.eset.com/era_install/62/en-US/index.html?linux.htm">ESET Remote Administrator Installation Instructions</a></li>
  <li><a href="http://support.eset.com/kb3728/">Troubleshoot Linux Installation</a></li>
</ul>


       ]]>
      </description>
    </item>
    
  </channel> 
</rss>
