Create the repository using the Mirrortool:
Configure the ESET Mirror Tool to download updates from another ESET Mirror Tool
httpd
) (the ESMC Virtual Appliance have Apache pre-installed) or IIS (part of Windows Server)MirrorTool
(for mirror on Linux) or MirrorTool.exe
(for mirror on Windows). You can download the Mirror Tool from the ESET download page. See the complete documentation for more information on the Mirror Tool and a list of available parameters.
MirrorTool.exe
does not run on Windows XP and Windows Server 2003The Mirror Tool downloads data to the --repository-intermediate
folder and when the download is finished, it moves all the data to --repository-final
folder. Make sure to have enough space free on your drive, each folder is 100GB in size. As ESET releases new updates and product versions, the total size will continue to grow.
MirrorTool.exe
on Windows machines and MirrorTool
on Linux.MirrorTool.exe --repositoryServer AUTOSELECT ^
--intermediateRepositoryDirectory repository-intermediate ^
--outputRepositoryDirectory repository-final
You can reduce the download size of the folder by using the following parameters:
--productFilterForRepository
– Later in this document, you can find a list of the product names that can be used with this parameter. Enter the product names or a part of the name. Enclose the in " "
if it contains a space. Separate multiple names by a single space, for example: "ESET Management Agent" "Antivirus".
When filtering for a partial name, for example "Agent"
, all products containing the string are filtered.
Product |
---|
ESET Antivirus for Linux - Business Edition |
ESET Endpoint Antivirus |
ESET Endpoint Antivirus for OS X |
ESET Enterprise Inspector Agent |
ESET Enterprise Inspector Server |
ESET Endpoint Security for Android |
ESET Endpoint Security for OS X |
ESET Endpoint Security |
ESET Full Disk Encryption |
ESET File Security |
ESET File Security for Microsoft Windows Server |
ESET Mail Security for Microsoft Exchange Server |
ESET Security for Kerio |
ESET Mail Security for IBM Domino |
ESET Rogue Detection Sensor for Linux |
ESET Rogue Detection Sensor for Windows |
ESET Rogue Detection Sensor |
ESET Mail/File/Gateway Security for Linux |
ESET Security for Microsoft SharePoint Server |
ESET Secure Authentication |
ESET NSX Service Manager |
Safetica Agent |
WinPcap |
Microsoft SQL Express 2016 x64 |
Microsoft SQL Server 2014 Express |
Microsoft SQL Express 2014 x64 |
Microsoft SQL Express 2014 x86 |
Microsoft SQL Express 2008R2 x86 |
Microsoft SQL Express 2008R2 x64 |
ApacheTomcat |
ApacheHttp |
ESET Remote Administrator Bootstrapper |
ESET Remote Administrator 6 WebConsole |
ESET Remote Administrator Virtual Agent Host |
ESET Remote Administrator Server |
ESET Remote Administrator Proxy |
ESET Security Management Center Migration Assistant |
ESET Migration Assistant |
ESET Security Management Center Mobile Device Connector |
ESET Remote Administrator Mobile Device Connector |
ESET Remote Administrator Agent |
ESET Security Management Center Bootstrapper |
ESET Management Agent |
ESET Security Management Center Server |
ESET Security Management Center WebConsole |
--languageFilterForRepository
– Select which language packs would be downloaded. Enter the codes separated by a single space, for example: sk_SK fr_FR de_DE
. See the list of language codes.
The following command only downloads the packages necessary for an ESMC upgrade. For example, you can use such a repository when installing ESET Management Agent via the following methods:
Example usage of the --productFilterForRepository
parameter:
MirrorTool.exe --repositoryServer AUTOSELECT ^
--intermediateRepositoryDirectory repository-intermediate ^
--outputRepositoryDirectory repository-final^
–-productFilterForRepository "ESET Management Agent" "ESET Security Management Center Bootstrapper" "ESET Security Management Center Server" "ESET Security Management Center WebConsole"
To create an update mirror, you need the offline license file (license_file.lf
) available on your intermediary machine. Run the following command to download the update files:
MirrorTool.exe --mirrorType regular ^
--intermediateUpdateDirectory mirror-intermediary ^
--offlineLicenseFilename license_file.lf ^
--outputDirectory mirror-final
The Mirror Tool creates two folders, temporary and final with 3GB size. You can use the --excludedProducts
parameters to decrease the download size:
ep4
ep5
ep6
ep7
era6
(covers all ESMC and ERA packages)Example usage of the --excludedProducts
parameter:
MirrorTool.exe --mirrorType regular ^
--intermediateUpdateDirectory mirror-intermediary ^
--offlineLicenseFilename license_file.lf ^
--outputDirectory mirror-final ^
--excludedProducts ep4 ep5
After you download the update and/or repository files (Part 1), choose a local webserver. Set up the webserver to serve the updates and installers to the machines in the offline environment. See the setup instructions for Apache and Microsoft IIS below.
Alternative: I want to distribute updates using the ESET Endpoint as the update mirror.
C:\inetpub\wwwroot
*
as text/plain
.[KB6750] Install Apache HTTP Proxy (ESMC 7.x)
C:\Program Files\Apache HTTP Proxy\conf\httpd.conf
Find the following line in the file httpd.conf...
Listen 3128
...
Listen 8080
How can I install the Apache HTTP Proxy on Linux?
/etc/httpd/conf/httpd.conf
:...
Listen 3128
...
Listen 8080
#DocumentRoot /var/www/html
DocumentRoot "/var/www/html"
<Directory "/var/www/html">
Options Indexes FollowSymlinks
AllowOverride none
Require all granted
</Directory>
httpd
service.sudo systemctl restart httpd.service
SELinux can block the other devices from accessing the repository machine. Add an exception for the repository/updates files location or disable the SELinux.
To turn off this feature, follow the steps below:
/etc/selinux/config
in your editor, find and set the following value:SELINUX=disabled
When using the ESMC Virtual Appliance, use Webmin to add port 8080 to the rule where 3128 is already listed, and save the configuration.
If you prefer the Linux Console, use the following command to do the same:
iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
ip6tables -A INPUT -p tcp --dport 8080 -j ACCEPT
service iptables save
service ip6tables save
Copy the files from the intermediary machine to the offline server where the Apache is running.
/var/www/html
(or the folder you specified in the DocumentRoot
setting)httpd
service can read themIn this case, we do not use a repository. You need to have ESET Management Agents installed on client machines.
See the examples below to set paths of Repository and Update servers with ESET Endpoint version 7.x products. Do the following in the ESET Security Management Center:
You need to apply the new settings to all machines (their Agents) which are using the offline server for updates and repository. Select a suitable policy or create a new one and assign it to those machines.
How can I activate ESET Endpoint products in the offline environment?
You need to apply the new settings to all machines (their ESET security products) which are using the offline server for updates. Select a suitable policy or create a new one and assign it to those machines.
If necessary, create policies for any ESET product similar to the examples shown above.