12-13-2018, 05:52 PM
First, I'd like to thank my sponsors, Shadow Hosting and P4V for the fantastic VPS.
I'm fairly new to a few of these things, but I've been using Linux for a long time.
Today, I wanted to tell you how to check your VPS' network speed.
SSH into your VPS like normal.
Check to see if you have Python installed by typing:
If it's not installed, you can install it with:
or
However, it's probably already installed for you.
Once you have it installed, you can use wget to get the speedtest.cli file. If, for some reason, you don't have wget installed, you can use one of the other install commands above and just change python to wget.
Grab the file like this:
Now, you'll haev to make it executable, by entering this:
Now, you can run the python script with just this commend:
If you'd like to share the results, just change the command to:
You'll then get a URL in the resulting text and it will give you an image that you can share with other people.
The result looks like this:
Which, as you can see, is pretty fantastic!
Click here for a list of other arguments.
I'll write more of these little tutorials as I go and as I learn (assuming I have time).
I'm fairly new to a few of these things, but I've been using Linux for a long time.
Today, I wanted to tell you how to check your VPS' network speed.
SSH into your VPS like normal.
Check to see if you have Python installed by typing:
Code: (Select All)
python -v
If it's not installed, you can install it with:
Code: (Select All)
sudo apt-get install python
or
Code: (Select All)
yum install python
However, it's probably already installed for you.
Once you have it installed, you can use wget to get the speedtest.cli file. If, for some reason, you don't have wget installed, you can use one of the other install commands above and just change python to wget.
Grab the file like this:
Code: (Select All)
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
Now, you'll haev to make it executable, by entering this:
Code: (Select All)
chmod +x speedtest-cli
Now, you can run the python script with just this commend:
Code: (Select All)
./speedtest-cli
If you'd like to share the results, just change the command to:
Code: (Select All)
./speedtest-cli --share
You'll then get a URL in the resulting text and it will give you an image that you can share with other people.
The result looks like this:
Which, as you can see, is pretty fantastic!
Click here for a list of other arguments.
I'll write more of these little tutorials as I go and as I learn (assuming I have time).
Happily sponsored by Shadow Hosting & Post4VPS!