Installation on Linux
One Line Install
�Copy/paste the following line in your linux terminal:
(make sure to replace YOUR_LICENSE_KEY
with your license key)�
AST_LIC=YOUR_LICENSE_KEY bash -c "$(curl -L https://astradot.jfrog.io/artifactory/installers/agent.sh)"
�
Ubuntu / Debian
#1. Set up apt so that it can download through https
sudo apt-get update
sudo apt-get install apt-transport-https
#2. Configure the Astradot apt repository
echo 'deb https://astradot.jfrog.io/artifactory/apt common infra-agent' | sudo tee /etc/apt/sources.list.d/astradot.list
wget -O- https://astradot.jfrog.io/artifactory/api/gpg/key/public | sudo apt-key add -
sudo apt-get update
#3. install the agent
sudo apt-get install astradot-infra
#4. Put License Key (replace YOUR_LICENSE_KEY with your license key)
sudo sh -c "sed 's/licenseKey.*/licenseKey='\''YOUR_LICENSE_KEY'\''/' /etc/astradot-infra/config.toml.example" | sudo tee /etc/astradot-infra/config.toml
#5. Start the Agent
sudo systemctl start astradot-infra
RedHat / CentOS / Amazon Linux
# Save repo
sudo curl -o /etc/yum.repos.d/astradot-infra.repo https://astradot.jfrog.io/artifactory/installers/yum-x64.repo
# Update yum cache
sudo yum makecache -y
# Install agent
sudo yum install astradot-infra -y
# Put License Key (replace YOUR_LICENSE_KEY with your license key)
sudo sh -c "sed 's/licenseKey.*/licenseKey='\''YOUR_LICENSE_KEY'\''/' /etc/astradot-infra/config.toml.example" | sudo tee /etc/astradot-infra/config.toml
# Start the Agent
sudo systemctl start astradot-infra
Last updated
Was this helpful?