Docs

Amazon Linux

Amazon Linux is built on Fedora, and is very similar to the Redhat instructions, but the $releasever does not resolve to an Enterpise Linux number.

There are two variants, with Amazon Linux 2 being released on all versions > 12.2017. The main difference between these two is the introduction of Systemd as the init process in newer versions.

  1. Import the GPG key that signs Outlyer packages[1]

    sudo curl -s https://packages.outlyer.com/outlyer-pubkey.gpg -o /etc/pki/rpm-gpg/RPM-GPG-KEY-outlyer
    
  2. Create a new RPM repository source

    Amazon Linux <= 09.2017

    sudo sh -c 'cat <<EOF > /etc/yum.repos.d/outlyer.repo
    [outlyer]
    name=Outlyer Agent
    baseurl=https://packages.outlyer.com/stable/el6/\$basearch/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-outlyer
    EOF'
    

    Amazon Linux >= 12.2017 (Amazon Linux 2)

    sudo sh -c 'cat <<EOF > /etc/yum.repos.d/outlyer.repo
    [outlyer]
    name=Outlyer Agent
    baseurl=https://packages.outlyer.com/stable/el7/\$basearch/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-outlyer
    EOF'
    
  3. Install outlyer-agent as any other software package:

    sudo yum install -y outlyer-agent
    

    Note: This will not automatically start the agent, you will need to add the agent key before starting the agent.

  4. Go to the agent configuration documentation for instructions on adding your agent key and other agent settings.

  5. Start the outlyer-agent:

    amzn linux$ sudo initctl start outlyer-agent
     or
    amzn linux 2$ sudo systemctl start outlyer-agent
    
  6. To check the status of the outlyer-agent:

    amzn linux$ sudo initctl status outlyer-agent
     or
    amzn linux 2$ sudo systemctl status outlyer-agent
    
  7. To set the outlyer-agent to start on boot:

    amzn linux 2$ sudo systemctl enable outlyer-agent
    

1

  • You can also import the Outlyer GPG key from public keyservers:
      gpg --keyserver keyserver.ubuntu.com --recv ACB6D967