Looking glass is a publicly available source of testing connection to your VPS. It provides real time information about your server network accessibility.
This tutorial will show you how to set up looking glass into on your own server.Requirements
In this tutorial we will be using Ubuntu 14.04, however it should be possible for implementation on other versions too!
The installation of Ubuntu 14.04 template can do done easily from your service management page in our client area:
- Login to the Client Area;
- Select at the top of menu the "My Services > VPS" tab;
- Press the "Manage" button at the service table;
- Press the "Install OS" button;
- Choose Ubuntu 14.04 and proceed with it's installation;
- Wait for 5-10 minutes and refresh VPS management page.
After the installation will be completed, you should install LAMP stack. For this we have prepared a LAMP installation guide
. Of course, you can use different setup, however before any further actions are taken, your server should have webserver (Apache/Nginx), PHP >= 5.3 and MySQL running on it.
Installation of looking glass
Firstly, recommendation would be to create separate directory for the looking glass installation and move to it:
Then, download the looking glass packet to it:
Our used packet information and other versions (if updated) can be viewed in this github page.
After the packet is downloaded, it should be extracted:
tar -zxvf v1.3.0.tar.gz --strip-components 1
After the files will be extracted, navigate to LookingGlass page:
On your terminal, run the following command:
Follow the information provided for you in the terminal and configure the looking glass to your needs. If you wish to change any settings, run the bask configure.sh again.
During the setup you will be able of setting the general information shown on the page, set limit on how many times the tests can be performed by users, choose theme and so on.