This article provides a guide for how to install and run SpeedTest.net speed test on Linux VPS or dedicated servers.
What is SpeedTest.net?
SpeedTest.net is a tool for running network speed benchmark tests. SpeedTest.net provides a comprehensive speed test of your server's network connection. The results can be compared against other network providers.
How to Install and Run Speed Test on Linux VPS or Dedicated Servers
To install and run Speed Test from speedtest.net on Linux VPS or dedicated servers, follow the steps below:
- Login to SSH as root user.
- Run the following command:
- For CentOS/AlmaLinux/RHEL:
yum update yum install python -y wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py chmod a+rx speedtest.py mv speedtest.py /usr/local/bin/speedtest chown root:root /usr/local/bin/speedtest speedtest
- For Debian/Ubuntu:
apt-get update apt-get upgrade apt-get install python -y wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py chmod a+rx speedtest.py mv speedtest.py /usr/local/bin/speedtest chown root:root /usr/local/bin/speedtest speedtest
- For CentOS/AlmaLinux/RHEL:
Conclusion
You now know how to install and run Speed Test on Linux VPS or dedicated servers.