Testing network speed on a VPS using Speedtest

To test the network speed on your VPS running Debian or AlmaLinux, you can use the speedtest-cli utility. This tool allows you to perform speed tests for both download and upload speeds directly from the command line. Here are the steps to install and use speedtest-cli on Debian and AlmaLinux.

Installing and Using speedtest-cli on Debian

  1. Update the package list:

    bash
    sudo apt update
  2. Install required dependencies:

    bash
    sudo apt install curl gnupg2 -y
  3. Add the Ookla repository (official Speedtest creator):

    bash
    curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash
  4. Install speedtest-cli:

    bash
    sudo apt install speedtest
  5. Run the speed test:

    bash
    speedtest

Installing and Using speedtest-cli on AlmaLinux

  1. Update the package list:

    bash
    sudo dnf update -y
  2. Install required dependencies:

    bash
    sudo dnf install curl -y
  3. Add the Ookla repository:

    bash
    curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.rpm.sh | sudo bash
  4. Install speedtest-cli:

    bash
    sudo dnf install speedtest
  5. Run the speed test:

    bash
    speedtest

Using speedtest-cli

speedtest-cli offers several options for running tests. Here are some of the most useful commands:

  • Perform a standard speed test:

    bash
    speedtest
  • Get results in JSON format:

    bash
    speedtest --json
  • List available servers:

    bash
    speedtest --list
  • Run a speed test with a specific server (use the server ID from the list):

    bash
    speedtest --server SERVER_ID

Testing the network speed on your VPS using speedtest-cli is a straightforward and effective way to ensure your network is performing well. By following the steps above, you can quickly install and use this utility on Debian and AlmaLinux.

If you encounter any issues or have questions during the installation and use of speedtest-cli, the QCKL support team is always ready to assist you. We are committed to providing you with the best tools and solutions for effective server management.

  • vps, speed
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

HTTP Errors: common causes and how to fix them

Error 403: ForbiddenDescription: The server understands the request but refuses to fulfill it....

Configuring DNS on Cloudflare

Cloudflare is a popular service that provides protection and performance improvements for...

Here are 10 examples of using redirects in an .htaccess file

1. Redirect from One Page to Another Redirect a specific page to a new page: apache...

Connecting to hosting via FTP using FileZilla

FileZilla is a simple and convenient tool for managing files on your server. Here’s a...

What is a subdomain and how is it used?

A subdomain is a part of a domain name that is added before the main domain name. It is used to...

Powered by WHMCompleteSolution