Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Installing the Amplet2 Client
The amplet2 client is currently packaged only for Debian (Wheezy, Jessie, Stretch), and Ubuntu (16.04 Xenial, 18.04 Bionic). Other Linux distributions will need to install from source.
Install Local RabbitMQ Broker (optional)
Using a local broker helps improve reliability when reporting results, and ensures that measurements are not lost if the central collector is unavailable or unreachable. Results are sent to a RabbitMQ broker running on the local machine where they are stored in a (RAM and disk backed) queue before attempting to send them to the central collector. Without the local broker the AMP client will discard results if it fails to contact the central collector.
Your distribution may package erlang and the RabbitMQ server and you are free to use those, though depending on your distribution they are probably rather outdated. You are encouraged to use up to date versions from the official providers.
On Debian you can install
erlang using the official instructions:
$ wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb $ sudo dpkg -i erlang-solutions_1.0_all.deb
rabbitmq-server on a Debian client using the official instructions. The default configuration should be fine for our purposes, though you may wish to review what ports the server is listening on externally.
$ echo "deb http://www.rabbitmq.com/debian/ testing main" | sudo tee /etc/apt/sources.list.d/rabbitmq.list $ wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add - $ sudo apt-get update $ sudo apt-get install rabbitmq-server
Install amplet2 Client
Add the official AMP repositories and install the amplet2 client:
$ echo "deb http://amp.wand.net.nz/debian/ `lsb_release -c -s` main" | sudo tee /etc/apt/sources.list.d/amplet2.list $ wget -O- http://amp.wand.net.nz/debian/pubkey.gpg | sudo apt-key add - $ sudo apt-get update $ sudo apt-get install amplet2-client