Installation on Linux Endpoints
Before You Begin
Make sure that the endpoints you plan to manage with Action1 meet the requirements listed in this section.
The Action1 agent is installed using the root account. Its files reside in several directories, in particular:
- /opt/action1/ – binary files
- /var/opt/action1/ – config files
- /var/log/action1/ – log files
During its operation, the agent will securely connect to Action1 Cloud using embedded information about your Action1 organization:
- The authentication certificate for mutual authentication.
- A private encryption key, specific to your organization.
The next sections explain how you can install the Action1 agent on a local or remote Linux machine.
Step 1. Download the Action1 Agent Installer
- In the Action1 console, click Install Agents in the top-right corner to open the Getting started wizard.
- On the Install Agent step, either click Download .DEB to run the installer locally, or click Other Options if you plan to install the agent on another machine or run an unattended installation.
Step 2. Install the Agents
Use one of the following scenarios:
- Interactive, UI-based installation
- Unattended installation (no UI)
- Direct download
Installation on the local machine
Do the following:
- In the Getting Started wizard, click Download.DEB to obtain the package for automated agent installation.
- Locate the downloaded package and copy its full name, including the path, to the /tmp directory.
- Run the package manager, providing the package name and path:
cp "action1_agent(<your_org_name>).deb" /tmpcd /tmpsudo apt install "./action1_agent(<your_org_name>).deb"
This will automatically start the Action1 agent installation.
Installation on the remote machine
Interactive installation
This scenario is recommended for first-time users.
NOTE: Ensure the cURL utility is present on the target endpoint.
- In the Getting Started wizard, click Other options
- Use the first option to download and install the agent. Copy the script and run it on your target endpoints as root.
The following line will be copied:p="/tmp" && curl -o "{p}/action1_agent(My_Organization).deb" "https://app.<region>.action1.com/agent/<id>/Linux/agent(My_Organization).deb" && sudo apt install "{p}/action1_agent(My_Organization).deb"
Here:curl– cURL (Client for URL) utility for the file download.-o– a parameter that instructs cURL to save the downloaded DEB file with the same name as in the URL.id– a unique ID associated with a downloadable agent setup for your organization.
Unattended installation
This option is recommended for advanced users who want to install the Action1 agent in unattended (silent) mode.
- In the Getting Started wizard, click Other options
- Use the second option to download and install the agent. Copy the script and run it on your target endpoints as root.
The following line will be copied:
p="/tmp" && curl -o "{p}/action1_agent(My_Organization).deb" "https://app.<region>.action1.com/agent/<id>/Linux/agent(My_Organization).deb" && export DEBIAN_FRONTEND=noninteractive && sudo apt-get install -y "{p}/action1_agent(My_Organization).deb"
Here:curl – cURL (Client for URL) utility for the file download.-o – a parameter that instructs cURL to save the downloaded DEB file with the same name as in the URL.id – a unique ID associated with a downloadable agent setup for your organization.
NOTE: Ensure the cURL utility is present on the target endpoint.
Direct download
This option is recommended to those who want to download the agent installer and use it with configuration and package management tools. Do the following:
- In the Getting Started wizard, click Other Options.
- In the dialog displayed, navigate to the last option and copy the link for downloading the installation package. It will look like this:
https://app.<region>.action1.com/agent/<id>/Linux/agent(<your_org_name).deb
here<id>– a unique ID associated with a downloadable agent setup for your organization. - Paste the URL in your web browser. The .DEB file will be downloaded automatically. Use it with your package management tool.
