Ubuntu Linux agent instructions

  • On Ubuntu (and Mint and other Debian based Linux distros), you should install the agent like this:

    Do this while logged in as your user (not root), in a Terminal window:

    sudo apt-get -y update
    sudo apt-get -y upgrade
    wget https://s3.amazonaws.com/triggercmdagents/triggercmdagent_1.0.1_amd64.deb
    sudo apt install ./triggercmdagent_1.0.1_amd64.deb

    If you're in X-Windows, type:


    If you're not in X-Windows, run one of these 2 commands instead (depending on your specific OS):

    node /usr/share/triggercmdagent/resources/app/src/agent.js --console
    node /usr/lib/triggercmdagent/resources/app/src/agent.js --console  (newer Ubuntu OS's)

    Log into your triggercmd.com account, and copy the token from the Instructions link, and paste it into the Token prompt.

    Then to install the background service:
    If you're in X-Windows: Right-click T tray icon, click Background Service - Install Background Service
    If you're not in X-Windows, CTRL-C out of the above "agent.js --console" command, and run:

    sudo sh /usr/share/triggercmdagent/resources/app/src/installdaemon.sh
    sudo sh /usr/lib/triggercmdagent/resources/app/src/installdaemon.sh  (newer Ubuntu OS's)

    To check the status of the background service:

    • Run: systemctl status triggercmdagent
    • In your triggercmd.com account, click View Triggers. If you see your background triggers, the background service is working.

    If at first the background service doesn't install, try this:

    • CTRL-C, or select Quit from the T tray icon.
    • Re-run triggercmdagent
    • Try installing it again using the tray icon.

    To upgrade see Upgrading the Linux agent on Ubuntu

    EDIT 6/4/18: For Ubuntu 14 you'll have to install using this method instead:

    sudo su -
    wget https://s3.amazonaws.com/triggercmdagents/triggercmdagent_1.0.1_amd64.deb
    dpkg -i ./triggercmdagent_1.0.1_amd64.deb
    apt-get install -f

Log in to reply