Installation - Linux

Debian based Linux (Debian, Ubuntu etc)

1. Import the apt repository gpg key

curl -s https://download.dataloop.io/pubkey.gpg | apt-key add -

2. Add the Dataloop apt repository

echo 'deb https://download.dataloop.io/deb/ stable main' > /etc/apt/sources.list.d/dataloop.list

3. Install the dataloop agent

sudo apt-get update && sudo apt-get install dataloop-agent

4. Update the /etc/dataloop/agent.yaml file with your API key

5. Start the agent

sudo service dataloop-agent start

6. Set the agent to run on reboot

sudo update-rc.d dataloop-agent defaults

 

Redhat based Linux (Redhat, Centos etc)

1. Add the Dataloop yum repository

Paste the following into /etc/yum.repos.d/dataloop.repo

[dataloop]
name=Dataloop Agent
baseurl=https://download.dataloop.io/packages/stable/el$releasever/$basearch/
enabled=1
gpgcheck=0

2. Install the Datalooop Agent

sudo yum install dataloop-agent

3. Update the /etc/dataloop/agent.yaml file with your API key

4. Start the Dataloop Agent service

sudo service dataloop-agent start

5. Set the agent to run on reboot

sudo chkconfig --level 345 dataloop-agent on

 

Suse based Linux

1. Download the RPM

wget https://download.dataloop.io/suse/x86_64/dataloop-agent_latest-suse-x86_64.rpm

2. Install it

sudo rpm -i dataloop-agent-1.1.18-1.x86_64.rpm

3. Update the /etc/dataloop/agent.yaml file with your API key

4. Start the Dataloop Agent service

sudo systemctl start dataloop-agent

5. Set the agent to run on reboot

sudo systemctl enable dataloop-agent


Archlinux based Linux (x86_64)


1. Download the PKG

wget https://download.dataloop.io/archlinux/dataloop-agent_latest-archlinux-x86_64.pkg.tar.xz

2. Install it

pacman -U dataloop-agent-1.1.20-1-x86_64.pkg.tar.xz

3. Update the /etc/dataloop/agent.yaml file with your API key

4. Start the Dataloop Agent service

sudo systemctl start dataloop-agent

5. Set the agent to run on reboot

sudo systemctl enable dataloop-agent

 

Alternatively you can make the package yourself by following the instructions at https://github.com/dataloop/dataloop-archlinux

 

Curl sudo bash installer (only recommended on test machines)

This essentially automates the above.

1. Run the following command 

curl -s https://download.dataloop.io/setup.sh | sudo bash -s xxx

Where xxx is your API key that you would have been emailed on signup. Or you can log into the web interface and click 'Install New Agent' on the 'Setup Monitoring' page.

Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    Amir

    You have a mistake in your Yum repo URL.

Please sign in to leave a comment.