Installing the Amplet2 Client

Brendon Jones edited this page Nov 2, 2018 · 6 revisions

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

Install 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

The client will need SSL certificates and configuration before it will run. It also has no tests scheduled to be performed.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.