In this tutorial, we'll be installing Speedtest-cli to test the network speed of your server. Speedtest-cli is a command line interface for the popular speed-testing service, speedtest.net. It is quite simple to do and will only require basic Linux knowledge. This tutorial will work on CentOS 5, 6, and 7.
Before we do anything, we must install one dependency.
yum install -y python
Enter the root directory.
Retrieve the Python script using
wget. This script was written by Sivel; you can learn more about it on the GitHub page.
speedtest.py script executable.
chmod +x speedtest.py
Run the script to determine your inbound/outbound connection bandwidth.
If you want an image of the result, run the following command instead.