How to install Speedtest-cli on CentOS7 or RHEL 7

1. Introduction

Speedtest-cli is used to check the speed of uploading and downloading in the server and it use command line interface in order to perform the task. You can also test the network speed of your server too. It is quite simple to install Speedtest-cli in server. In this article we are showing the simple installation steps to follow for the installation of Speedtest-cli.

2. Install Python

Run the following command to install Python on a CentOS 7

#yum install python

Go to /usr/local/src directory in which we can download the speedtest-cli follows

# cd /usr/local/src

3 Download the speedtest-cli

Download the file by running following command

# wget -O speedtest-cli

Give proper permission for the downloaded file.

# chmod 777

4 How to test it ?

Run the following script to check the downloaded and uploaded speed .


If you run the script you will get a output like this:

Retrieving configuration...
Retrieving server list...
Testing from WorldStream (
Selecting best server based on latency...
Hosted by SoftLayer Technologies, Inc. (Amsterdam) [33.82 km]: 4.409 ms
Testing download speed........................................
Download: 384.73 Mbit/s
Testing upload speed..................................................
Upload: 367.74 Mbit/s

Run the following script to get an image of the result

#./ --share


Run following command to combine both results.

#./ --bytes

If you run the script you will get a output like this:

Retrieving configuration...
Retrieving server list...
Testing from Hetzner Online GmbH (
Selecting best server based on latency...
Hosted by HillCom Solutions (Alsfeld) [33.58 km]: 3.206 ms
Testing download speed........................................
Download: 70.50 Mbyte/s
Testing upload speed..................................................
Upload: 24.23 Mbyte/s

How to install Vesta control panel in RHEL 7 or Centos 7


This article will help you to install and configure Vestacp hosting control panel in your server or vps. You can setup a basic hosting web server with the following software.

Web server – apache
FTP server – proftpd
Email Servers – Exim + dovecot + spamassassin + clamav
Dns server – Bind
Firewall – Iptables
Database server – mysql

This control panel also can be installed with nginx+phpfpm or nginx+apache. The web server and other software choice is yours.

You can use this document to setup your server or we can provide you an one time installation at a cost of 50 USD. We also provide 24×7 technical support for Vesta cp hosting control panel. Our support engineers are experts in this control panel. So if you need a support service you can order a server management plans from here


You may need an operating system RHEL 7 or Centos 7 in your dedicated or vps server. Please make sure to set a hostname for your server and its dns is pointing to the IP address of the server . I also here use a test email address( and password ( changeme ). My setting for the server as follows,

Hostname :

email :

password : changeme

Install Vesta control panel

You may need to login to your server via ssh after that please down load the script and execute it as shown in below:

# cd /usr/local/src/
# wget -c
# sh --nginx no --apache yes --phpfpm no --vsftpd no --proftpd yes --exim yes --dovecot yes --spamassassin yes 
--clamav yes --named yes --iptables yes --fail2ban no --mysql yes --postgresql no --remi no --quota no --hostname 
--email --password changeme

The above command will show a screen shot which will give the software selection menu as shown below,

How to install vesta cp

The installation may take 10 t0 20 minute as per your server network speed and hardware configuration, because the installer script is going to download and install a lot of software packages from repositories. So after finishing the execution you can see the admin logins of the control panel. You may need to login to port 8083 using https and with the given user name and password form the installation screen.

I got the following logins to my server


 _|      _|  _|_|_|_|    _|_|_|  _|_|_|_|_|    _|_|   
 _|      _|  _|        _|            _|      _|    _| 
 _|      _|  _|_|_|      _|_|        _|      _|_|_|_| 
   _|  _|    _|              _|      _|      _|    _| 
     _|      _|_|_|_|  _|_|_|        _|      _|    _| 

Congratulations, you have just successfully installed Vesta Control Panel
    username: admin
    password: changeme

We hope that you enjoy your installation of Vesta. Please feel free to contact us anytime if you have any questions.
Thank you.

Sincerely yours team

Admin panel logins

You may need to open your browser and copy paste the above given url and need to manually accept the openssl warning too as it is not a real ssl certificate. Now you can see an admin panel as showing below.

Vesta cp admin panel

Add a domain in vestacp

From the admin panel go to WEB -> Domains and click the “plus” button. It will show a screen sort as follows.

Add domain in vesta cp

You may give the domain name and select the suitable options and press the add button. You can see the domain has been created successfully with showing it in the list.

Create an email account in vestacp

You can create and email account in vestacp from Admin -> Mail , then select the domain and click the “ADD ACCOUNT”. This will ask for the email account and password.

Uninstall Vestacp

It is easy to remove vestacp control panel. Please execute the following commands.

# systemctl stop vesta
# yum remove vesta*
# rm -rf /usr/local/vesta

Please make sure to delete the data and admin details too. It will be good to simply reload the OS , if you are going to install another control panel.


Vesta is not a professional hosting control panel. It lacks a lot of features that required in hosting. But you can use it for personal use. It is an easy to manage hosting control panel.

How to install glances monitoring tool in Centos / RHEL servers

This package  came as an EPEL package . So you need to enable this repository in your  “yum” configurations. For enabling this package , simply install the  epel release rpm from
At the time of this writing the package version is as follows,

# rpm -ivh

Now update yum and install glances,

# yum clean all
# yum update
# yum  install glances

The installation has been completed. You may now try the following command in shell and monitor your server resurce usages,

# glances -t 5

This is a good tool for system administrators and harmless.