Skip to main content

Test your server’s internet connection with speedtest in command line

We can clearly say that has the supremacy in internet speed tests, with thousands of speedtest servers accross the globe. And actually they give good bandwidth test results!

But you may not find their flash interface very sexy (my case) and if you have a server with no Graphical interface, you cannot use website.

Not a big deal, several scripts exists to let you run a speedtest in command line. It’s the case of Speedtest-cli.

Speedtest-cli, written in Python, is a simple yet complete script to let you perform internet bandwidth speed test on network.

You can also specify the server you want to use, or even to generate a share results image.



Of course, I suppose you already have python installed on your server (Require Python 2.4 and above) and the easiest way to install it will be with pip or easy_install. (pip is a more recent way to install and manage python packages, I recommend you to use this one)

1) Install python-pip (if not done yet)

In root (or with sudo) type:

2) Install the latest speedtest-cli with pip

and….yes that’s all. You can now run speedtest-cli directly from your terminal.


Here are few examples on my 100M/100M@home connection:

– No option:

– With share results image

speedtest cht taiwan 100m

– On targeted server only

Get first the list of servers

Then select the one you want to run the speedtest on (using its id, 4 digits)

I guess it’s time to see which one of us has the biggest….\0/

I don’t doubt you can do better 🙂

Live linux system stats in a pretty webpage – Web-VMStats

If you think Glances, presented yesterday have too many information to monitor your server, or if eSM is not what you are looking for (You want something even easier), there is the pretty Web-VMStats, to simply and in a pretty webpage, monitor your linux system (Processes, Ram Memory, Swap, Disk I/O, System, CPU,…) through fancy charts in real time.

vmstat web statistics screnshot

Web-VMStats simply help you to render the results of the command vmstat to monitor statistics of your system over a WebSocket using websocketd and as charts using SmoothieCharts.

Let’s see how to install it



1) Install git

We will use directly the latest version on their git repository. If you don’t have git installed, simply run as root:

2) Clone the repository in /var/www

3) Download and install their websocket daemon in the newly created web-vmstats folder

Pick the one for your platform (32b? 64b? etc…)

In my case, 32b (for my virtualmachine), so I do:

Then unzip it and remove the files not needed (Need only the executable)

4) Simply run the web-vmstats executable

And now you should have access to the graphs from http://YOURIP:9231


web-vmstats will display in realtime very simple information to help you monitor your server or linux system.

Personal cloud to host yourself – Cozy Cloud

cozycloud logoYesterday I have briefly presented YunoHost, an all in one server OS that preinstall and configures various applications (webserver, mail, …) and allow you in 1 click to install additional software (Transmission, Tiny Tiny RSS, etc…). Yunohost is clearly a project I follow and like, but today I received an important news from a similar project, more popular actually, called Cozy Cloud.

Cozy is a platform to either host yourself or use 3rd party vendor, that consolidate all your web services (Mail, Agenda, Torrent, RSS, file sharings, …) in the same private space. It’s like a personal cloud where you can easily install and manage your applications.

A demo can be found here.

CozyCloud screenshot home menu


Although I’m not fan of their design (Especially the icons and the Owncloud style ribbon), I prefer Yunohost there, but they have a much richer set of application and are more active/communicate better.

Their ambition are also very clear as they want to  “be the center of gravity of your digital life. Through it, all your devices and sensors will collaborate together for you and your contacts.”

Here again, CozyCloud is based on free software and the code is also available on Github.


Big news from them today, they have successfully raised $1m “to change the world of personal data” from a big French fund called Innovacom and from a business angel club named Seed4Soft composed of top French Entrepreneurs from the IT Business (Exalead, RunMyProcess, OODrive, etc…). This will help them to accelerate the development of their project by growing their team and will enable them to build new offers with some partners.

It’s quite a lot of money from such small project, but competing with Google, Amazon, Facebook, etc…even for 1% of the cake need considerable investment from hardware (3rd party) and software (CozyCloud).

You can read the full announcement on this exceptional news, on their blog.

Have you tried it? What do you think of this project and its direction?

All in one Server Operating System – Yunohost

yunohost logoYou may want to have your own server to host and share your files, contacts, get your own email address, blog, etc… but let’s face it, it’s not easy and require to get your hands “dirty”.



However, several projects have become popular (and quite robust) to ease the installation and management of a server.

One of them is called YunoHost (For: Why you no host?).

YunoHost is a customized Debian operating system dedicated and aiming to ease self-hosting by pre-installing and pre-configuring most of the needed base for your server, while having a growing “apps store” to install in 1 click a new software.

yunohost user interface


YunoHost includes:

While in few clicks you could install various additional apps like Roundcube, PHPMyAdmin, WordPress, Tiny Tiny RSS, and many more.

yunohost admin page

YunoHost is entirely based on free software and their code are available on Github.

They have recently release their V2 Beta4 (Last one before RC) and I have to say it’s very promising! I love the design and it’s damn easy to use and manage!

You can give it a try on their demo page.

If you got some spare time, they are looking for people to code, to adapt 3rd party apps to the platform or to translate or even to spread the word! Just check how you can contribute.

Why you no host? YUNOHOST

List of alternatives to Google and co for your own server

search engine logoGoogle Search having probably more than 70% market share followed by Bing and Yahoo, Google tends to be unavoidable….but it exists quite a lot of robust alternatives and I wanted to share some of them here.


Obvisouly DuckDuckGo have become quite popular after all the revelation about PRISM, NSA surveillance, etc….. and after testing it for several weeks, I’m quite happy with it, although its was tough to change my habits and I even felt the relevancy of answers was not so good as I was used to the “selected” (Called it restricted) contents from Google (based on my previous history). But actually I’m now very happy  to see the web from a fresh eye!

If you’re not a big fan of DuckDuckGo, I recommend you to give a try to Ixquick or StartPage. (Many more exists tho)

But hey, this is a blog on self hosting or managing your own server…DuckDuckGo is great, but how about having my own search engine?

Basically, you can have 2 types of search engine:

1) The Meta search engine, using the indexes of others search engine (They crawl the web and the meta search engine will use their database to deliver you the content).

It’s usually a light application with a good accuracy (Large number of indexed websites, usually from Google, Yahoo or Bing). Hence you got most of the web under a single click with some added features (Compared to google, etc..) such as privacy or even collaborative. However, you fully rely on the 3rd party databases. If Google remove a website from its database, then you cannot see it.

2) The “real” search engine, clearly like Google and co. Meaning you will need to crawl the web and index it before doing a search. The benefits are a total censorship-free, independence and privacy, however as you can expect, crawling the web is a long job and you won’t be able to compete with Google’s billions of pages indexed and million servers….

Actually, expect for intranet or if you want to have your own search engine restricted in few websites that you can crawl by yourself, I don’t see much reasonable alternatives except the great Yacy (Peer to Peer search engine) that I will detail (and write a tutorial) later.

Here is the list of meta/search engines that worth a try:

1) Meta Search Engine

Searx, opensource meta search engine protecting your privacy with parallel query for faster response, Duckduckgo like !bang functionality with engine shortcuts and many more.

Seeks, opensource collaborative distributed (p2p) search engine that ranks results by social consensus (filter)

MySearch, opensource simple meta search engine (Minimalist design) and respecting your privacy.

2) Search Engine

Yacy, decentralized and censorship free, Yacy allow you to crawl your part of the internet and share your index on p2p. The more people running a node, the faster and more complete it become. (My favourite Search Engine!)


Well, I have to say I didn’t find many still maintained search engines so far, but I’ll continue to look for. if you know any other good ones, please share them on the comment section!


google search engine question why