If for some reason you do not want to install via apt-get or yum, for example if you are testing on Android or another OS, you can install via tarball.
Install Agent tarball
1. download tarball
wget -q https://www.scalyr.com/scalyr-repo/stable/latest/scalyr-agent-2.1.18.tar.gz
2. extract
tar --no-same-owner -zxf scalyr-agent-2.1.18.tar.gz
3. rename
mv scalyr-agent-2.1.18 scalyr-agent-2
4. export path
export PATH=${PWD}/scalyr-agent-2/bin:$PATH
5. set key
sudo scalyr-agent-2-config --set-key "API-KEY"
6. Start Agent
sudo scalyr-agent-2 start
Comments
0 comments
Please sign in to leave a comment.