For single host installations, the Lacework agent can also be installed using a .deb or .rpm package, which can be downloaded from the Agents tab in the Lacework UI. When using a package manager, you must also manually create the config.json file and add your access token to the configuration.
After downloading the appropriate package locally, copy it to /tmp or another directory on the target Linux server using your preferred method. [Alternatively, the package can be downloaded directly from the Linux instance]
When installing using a package, you must manually create config.json on your target Linux server and add your Access Token. In the directions below, replace <Access_Token> with your token.
- First, create the directory in which the agent will look for config.json:
$ sudo mkdir -p /var/lib/lacework/config
- Then build the file using your preferred method. For example, you can create the file with the cat command, paste the required json, and click enter followed by control-d:
$ sudo bash -c 'cat > /var/lib/lacework/config/config.json'
- Finally, verify that the file contains your access token:
$ cat /var/lib/lacework/config/config.json
- Install the .deb or .rpm package using the distribution appropriate package manager
Debian Package Manager
$ sudo dpkg -I lacework_latest_amd64.deb
RedHat Package Manager
$ sudo rpm -ivh lacework-latest-1.x86_64.rpm
Within 10 minutes of installing the agent, the agent will appear in the agent dossier.