Manually install the Deep Security Agent

Applies to on-premise Deep Security software installations only

Depending on your preferred deployment method, you can manually install the agent, or use command line scripts.

Before installing the Deep Security Agent, you must import the software into Deep Security Manager and export the installer (see Get Deep Security Agent software). After installing the agent, activate it (see Activate the agent).

In this article :

Install a Windows agent

  1. Copy the installer file to the computer.
  2. Double-click the installation file to run the installer package.

    On Windows Server 2012 R2 Server Core, launch the installer using this command instead: msiexec /i Agent-Core-Windows-10.0.x-xxxx.x86_64.msi

  3. At the Welcome screen, click Next to begin the installation.
  4. End-User License Agreement: If you agree to the terms of the license agreement, select I accept the terms of the license agreement and click Next.
  5. Destination Folder: Select the location where you would like Deep Security Agent to be installed and click Next.
  6. Ready to install Trend Micro Deep Security Agent: Click Install to proceed with the installation.
  7. Completed: when the installation has completed successfully, click Finish.

The Deep Security Agent is now installed and running on this computer, and will start every time the machine boots.

When installing the agent on Windows 2012 Server Core, the notifier will not be included.

During an install, network interfaces will be suspended for a few seconds before being restored. If you are using DHCP, a new request will be generated, potentially resulting in a new IP address for the restored connection.

Installation on Windows 2012 Server Core

  • Deep Security does not support switching the Windows 2012 server mode between Server Core and Full (GUI) modes after the Deep Security Agent is installed.
  • If you are using Server Core mode in a Hyper-V environment, you will need to use Hyper-V Manager to remotely manage the Server Core computer from another computer. When the Server Core computer has the Deep Security Agent installed and Firewall enabled, the Firewall will block the remote management connection. To manage the Server Core computer remotely, turn off the Firewall module.
  • Hyper-V provides a migration function used to move a guest VM from one Hyper-V server to another. The Deep Security Firewall module will block the connection between Hyper-V servers, so you will need to turn off the Firewall module to use the migration function.

Install a Red Hat, SUSE, Oracle Linux, or Cloud Linux agent

  1. Copy the installer file to the computer.
  2. Install the agent.

    # sudo rpm -i <package name>

    Preparing... ########################################## [100%]

    1:ds_agent ########################################## [100%]

    Loading ds_filter_im module version ELx.x [ OK ]

    Starting ds_agent: [ OK ]

    To upgrade from a previous install, use "rpm -U" instead. This will preserve your profile settings.

    The Deep Security Agent will start automatically upon installation.

Install an Ubuntu or Debian agent

  1. Follow the instructions in Get Deep Security Agent software to import the appropriate Ubuntu or Debian Agent software package from the Download Center, and then export the installer (.deb file).
  2. Copy the installer file to the computer.
  3. Install the agent.

    sudo dpkg -i <installer file>

To start, stop, or reset the agent:

  • Start: : /etc/init.d/ds_agent start
  • Stop: /etc/init.d/ds_agent stop
  • Reset: /etc/init.d/ds_agent reset
  • Restart: /etc/init.d/ds_agent restart

Install a Solaris agent

  1. Copy the installer file to the computer.
  2. Unzip the installer package.

    gunzip <installer package>

  3. Install the agent. Method varies by version and zones. File name varies by SPARC vs. x86.

    Solaris 11, one zone (adds to global zone):

    • x86: pkg install -g file:///mnt/Agent-Solaris_5.11-9.x.x-xxxx.x86_64/Agent-Core-Solaris_5.11-9.x.x-xxxx.x86_64.p5p pkg:/security/ds-agent
    • SPARC: pkg install -g file:///mnt/Agent-Solaris_5.11-9.x.x-xxxx.x86_64/Agent-Solaris_5.11-9.x.x-xxxx.sparc.p5p pkg:/security/ds-agent

    Solaris 11, multiple zones (adds to current zone):

    pkgrepo create <path>

    pkgrecv -s file://<dsa core p5p file location> -d <path> '*'

    pkg set-publisher -g <path> trendmicro

    pkg install pkg://trendmicro/security/ds-agent

    Solaris 10:

    • x86: pkgadd -G -d Agent-Core-Solaris_5.10_U7-9.x.x-xxxx.x86_64.pkg
    • SPARC: pkgadd -G -d Agent-Solaris_5.10_U7-9.x.x-xxxx.sparc.pkg

To start, stop, or reset the agent:

  • Start: svcadm enable ds_agent
  • Stop: svcadm disable ds_agent
  • Reset: /opt/ds_agent/dsa_control -r
  • Restart: svcadm restart ds_agent
  • Display status: svcs –a | grep ds_agent

To uninstall the agent on Solaris 11:

pkg uninstall pkg:/security/ds-agent

To uninstall the agent on Solaris 10:

pkgrm -v ds-agent

Install an HP-UX agent

  1. Log in as Root.
  2. Copy the installer file to the computer.
  3. Copy the package to a temporary folder such as /tmp.
  4. Unzip the installer package.
    /tmp> gunzip <installer package>
  5. Install the agent.

    Use the full path. Relative paths will not be accepted.

    /tmp> swinstall –s /tmp/Agent-HPUX_xx.xx-x.x.x-xxxx.ia64.depot ds_agent

To start or stop the agent:

  • Start: /sbin/init.d/ds_agent start
  • Stop: /sbin/init.d/ds_agent stop

Install an AIX agent

  1. Log in as Root.
  2. Copy the installer file to the computer.
  3. Copy the package to a temporary folder such as /tmp.
  4. Unzip the installer package.

    /tmp> gunzip <installer package>

  5. Install the agent.

    /tmp> installp –a –d /tmp/Agent-AIX_x.x-x.x.x-xxxx.powerpc.bff ds_agent

To start, stop, load, or unload the driver for the agent:

  • Start: startsrc -s ds_agent
  • Stop: stopsrc -s ds_agent
  • Load the driver: /opt/ds_agent/ds_fctrl load
  • Unload the driver: /opt/ds_agent/ds_fctrl unload

Install the agent on a Microsoft Azure VM

Applies to on-premise Deep Security software installations only

To install the agent on VM instances running in the Microsoft Azure cloud, use the VM Extension option on the Azure portal.

Alternatively, Deep Security Agent deployment scripts can be created with the Deep Security deployment script generator to install Deep Security Agents in a Microsoft Azure environment. (See Use a deployment script.)

During Azure VM creation, on the Virtual machine configurationscreen in the Azure portal, enable "INSTALL THE VM AGENT.