Hot Article
- Centos7 closes and restarts the system firewall and opens firewall ports
- How IID server uses Xshell to connect to Linux (centos) server
- BT panel forgets the background login URL, and the solution to the security entrance verification failure
- The php domain name points to ip, how to use the specified ip address to access a server in the url request domain name in curl mode
- How to purchase a dedicated server
- Error connecting to MySQL: Cant connect to MySQL server (10060)
CentOS uses SpeedTest to measure speed
- Author:Dong Yan
- Category:Server Maintain
- Release Time:2023-01-13
First, test whether python is installed locally (if it is installed, you can skip it) < p > 1. On the command line input RPM - qa | grep python36 judgment is installed python3.
2. If python36 is not installed, enter yum install python36 to install it.
Test the Speed of CentOS to Speed Test
1. Install speedtest-cli with one click.
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
2. Grant the speedtest cli permission.
chmod +x speedtest-cli
3. Start the speedtest cli for testing.
./speedtest-cli
If the above command does not work, use
python3 speedtest-cli
3. Test the speed from the machine to the CentOS.
yum install docker # Install docker service
systemctl start docker # Enable docker
systemctl enable docker # Sets docker service startup
docker pull adolfintel/speedtest # Download the docker speedtest image
docker run --restart=always -d -p 8080:80 adolfintel/speedtest # Run the container and map port 80 to port 8080
systemctl stop firewalld.service # Stops the firewalld firewall service
systemctl disable firewalld.service # disable firewalld firewall service
Run the preceding command to install the speedtest service. In the address box of the browser, enter http://server IP address :8080 to open the speed measurement page.
related topic
- centos7 open and close 80 port tutorial
- How to change the password of Windows server 2008 server?
- How to do if phpstudy port 80 is occupied (perfect solution)
- How to view file size in linux
- Windows Server 2008 R2 server environment installation graphic tutorial
- Debian system installation yum command