{"id":2512,"date":"2020-05-16T18:48:04","date_gmt":"2020-05-16T13:18:04","guid":{"rendered":"https:\/\/www.hostnamaste.com\/blog\/?p=2512"},"modified":"2023-12-11T18:11:37","modified_gmt":"2023-12-11T12:41:37","slug":"what-is-looking-glass-in-networking-and-how-to-install-it-on-your-vps-or-server","status":"publish","type":"post","link":"https:\/\/www.hostnamaste.com\/blog\/what-is-looking-glass-in-networking-and-how-to-install-it-on-your-vps-or-server\/","title":{"rendered":"What is Looking Glass in Networking and How to Install it on Your VPS or Server &#8211; HostNamaste.com"},"content":{"rendered":"<figure id=\"attachment_2521\" aria-describedby=\"caption-attachment-2521\" style=\"width: 805px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-2521\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2020\/05\/What-is-Looking-Glass-in-Networking-and-How-to-Install-it-on-Your-Server-HostNamaste.jpg\" alt=\"What is Looking Glass in Networking and How to Install it on Your Server - HostNamaste\" width=\"805\" height=\"550\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2020\/05\/What-is-Looking-Glass-in-Networking-and-How-to-Install-it-on-Your-Server-HostNamaste.jpg 689w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2020\/05\/What-is-Looking-Glass-in-Networking-and-How-to-Install-it-on-Your-Server-HostNamaste-300x205.jpg 300w\" sizes=\"auto, (max-width: 805px) 100vw, 805px\" \/><figcaption id=\"caption-attachment-2521\" class=\"wp-caption-text\"><span style=\"font-size: 10pt; font-family: Verdana, Geneva; color: #333333;\"><strong>What is Looking Glass in Networking and How to Install it on Your Server &#8211; HostNamaste<\/strong><\/span><\/figcaption><\/figure>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Looking Glass is an open source publicly available networking script to check the Host, Ping, Traceroute, MTR, Speed, and Latency of the VPS or Server and Network.<\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">In this blog post, I will show you and provide the exact steps on how to install Looking Glass on your server and check the network.<\/span><\/p>\n\n<h2><span style=\"font-family: Verdana, Geneva; font-size: 18pt; color: #333333;\"><strong>Looking Glass Features<\/strong><\/span><\/h2>\n<ul>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">Automated install via bash script<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">IPv4 &amp; IPv6 support<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">Live output via long polling<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">Multiple themes<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">Rate limiting of network commands<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 18pt;\"><a id=\"user-content-implemented-commands\" class=\"anchor\" style=\"color: #333333;\" aria-hidden=\"true\"><\/a><strong>Used SSH Commands<\/strong><\/span><\/h2>\n<ul>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">host<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">mtr<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">mtr6 (IPv6)<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">ping<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">ping6 (IPv6)<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">traceroute<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">traceroute6 (IPv6)<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">Note: IPv6 commands will only work if your server has external IPv6 setup (or tunneled)<\/span><\/p>\n<h2><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 18pt;\"><a id=\"user-content-requirements\" class=\"anchor\" style=\"color: #333333;\" aria-hidden=\"true\"><\/a><strong>System Requirements<\/strong><\/span><\/h2>\n<ul>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">PHP &gt;= 5.3<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">PHP PDO with SQLite driver (required for rate-limit)<\/span><\/li>\n<li><span style=\"font-family: Verdana, Geneva; color: #333333; font-size: 14pt;\">SSH\/Terminal Access (able to install commands\/functions if non-existent)<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-family: Verdana, Geneva; font-size: 18pt; color: #333333;\"><strong>Step 1: Buy a <span style=\"text-decoration: underline;\"><span style=\"color: #99cc00;\"><a style=\"color: #99cc00; text-decoration: underline;\" href=\"https:\/\/www.hostnamaste.com\/kvm-vps.php\">Cheap KVM VPS<\/a><\/span><\/span><\/strong><\/span><\/h2>\n<h2><span style=\"font-family: Verdana, Geneva; font-size: 18pt; color: #333333;\"><strong>Step 2: Connect your VPS via SSH and Run the Commands<\/strong><\/span><\/h2>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Login to your VPS or Server via SSH with root user after run the following commands, I am using CentOS 7 64bit VPS for this Blog Post:<\/span><\/p>\n<p><span style=\"color: #333333; font-size: 14pt; font-family: Verdana, Geneva;\">First of all we will be updating all the existing repos and installed applications on the server after going to Install the\u00a0LAMP (Linux, Apache, MySQL, PHP) which is required by Looking Glass script.<\/span><\/p>\n<p><span style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">First we will be removing old packages and getting or updating to the latest version using yum on CentOS:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">yum update -y<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Now we will install <span style=\"text-decoration: underline;\"><span style=\"color: #99cc00;\"><strong><a style=\"color: #99cc00; text-decoration: underline;\" href=\"https:\/\/httpd.apache.org\" target=\"_blank\" rel=\"noopener\">Apache Server<\/a><\/strong><\/span><\/span> using the yum package:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">yum install httpd -y<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After we will activate Apache server:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">systemctl start httpd.service<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Now we will install <span style=\"text-decoration: underline;\"><span style=\"color: #99cc00;\"><strong><a style=\"color: #99cc00; text-decoration: underline;\" href=\"https:\/\/mariadb.org\" target=\"_blank\" rel=\"noopener\">MariaDB<\/a><\/strong><\/span><\/span> Database is the very popular MySQL fork which is free and open source:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">yum install mariadb-server mariadb -y<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After we will start the MariaDB service:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">systemctl start mariadb<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After we will secure MariaDB:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">mysql_secure_installation<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Now we will install yum-utils and enable <\/span><span style=\"text-decoration: underline;\"><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #99cc00;\"><strong><a style=\"color: #99cc00; text-decoration: underline;\" href=\"https:\/\/fedoraproject.org\/wiki\/EPEL\" target=\"_blank\" rel=\"noopener\">EPEL<\/a><\/strong><\/span><\/span><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\"> (Extra Packages for Enterprise Linux) repository:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">yum install epel-release yum-utils<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After we will download and install\u00a0<strong>remirepo<\/strong>:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">yum install http:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After we will enable it:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">yum-config-manager &#8211;enable remi-php73<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Now we will install <span style=\"text-decoration: underline;\"><span style=\"color: #99cc00;\"><strong><a style=\"color: #99cc00; text-decoration: underline;\" href=\"https:\/\/www.php.net\" target=\"_blank\" rel=\"noopener\">PHP<\/a><\/strong><\/span><\/span>:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysqlnd<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Now we will restart the Apache Server to ensure whether it is working with the newly installed PHP or not:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">systemctl restart httpd.service<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Now we will install\u00a0<span style=\"text-decoration: underline;\"><span style=\"color: #99cc00;\"><strong><a style=\"color: #99cc00; text-decoration: underline;\" href=\"https:\/\/www.nano-editor.org\" target=\"_blank\" rel=\"noopener\">Nano Editor<\/a><\/strong><\/span><\/span> to edit and save the files via command line:<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">yum install nano<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Now we will test the PHP and to do that, we need to create a phpinfo.php\u00a0file and add it on the default PHP directory (\/var\/www\/html). (You can skip this step if you want, It is not necessary to test it)<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">nano \/var\/www\/html\/phpinfo.php<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva;\">After insert this code inside to the file and save it: (Control-O to save the file and Control-X to exit for MAC OF):<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">&lt;?php phpinfo(); ?&gt;<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Now we will install GNU\/Wget which is a free and open source software package for getting files using HTTP, HTTPS, and FTP Internet protocols.<\/span><\/p>\n<blockquote><p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">yum install wget<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Now we will download the <strong><span style=\"text-decoration: underline;\"><span style=\"color: #99cc00;\"><a style=\"color: #99cc00; text-decoration: underline;\" href=\"https:\/\/github.com\/telephone\/LookingGlass\" target=\"_blank\" rel=\"noopener\">Looking Glass<\/a><\/span><\/span>:<\/strong><\/span><\/p>\n<blockquote><p><span style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">wget https:\/\/github.com\/telephone\/LookingGlass\/archive\/v1.3.0.tar.gz<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After we will\u00a0Extract it:<\/span><\/p>\n<blockquote><p><span style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">tar -zxvf v1.3.0.tar.gz &#8211;strip-components 1<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Now we will navigate to the LookingGlass subdirectory:<\/span><\/p>\n<blockquote><p><span style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">cd LookingGlass<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Now we will run it:<\/span><\/p>\n<blockquote><p><span style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">bash configure.sh<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After you will be presented with the following and asked a questions, enter y (YES) to continue:<\/span><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">########################################<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">#<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\"># LookingGlass is a user-friendly script<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\"># to create a functional Looking Glass<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\"># for your network.<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">#<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\"># Created by Nick Adams (telephone)<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\"># http:\/\/iamtelephone.com<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">#<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">########################################<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Do you wish to install LookingGlass? (y\/n): y<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">After it will take few moments to setup, and will ask you to enter the website&#8217;s name, I am entering &#8220;HostNamaste &#8211; Looking Glass &#8211; Roubaix, France, Europe&#8221;, you can enter any other if you want, i.e &#8220;Looking Glass Networking Check&#8221;:<\/span><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Running setup:<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Enter your website name (Header\/Logo) []: HostNamaste &#8211; Looking Glass &#8211; Roubaix, France, Europe<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After you will be asked to enter the URL where you want to perform and check all the networking, I have entered a demo domain name &#8220;http:\/\/example.com&#8221;, you can enter your domain or sub domain name i.e lg.yourdomain.com:<\/span><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Enter the public URL to this LG (including http:\/\/) []:\u00a0http:\/\/example.com<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After you will be asked to enter the Server&#8217;s location, I have entered Roubaix, France, Europe, because I am testing it on France&#8217;s KVM VPS and IP address, you can enter any other as per your server&#8217;s location:<\/span><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Enter the servers location []: Roubaix, France, Europe<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Here you will need to enter the IPv4 Address of your VPS or Server&#8217;s:<\/span><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Enter the test IPv4 address []: 46.105.113.30<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Here you will need to enter the IPv6 Address of your VPS or Server&#8217;s If it is supported or simply enter it:<\/span><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Enter the test IPv6 address (Re-enter every time this script is run) []:\u00a02001:xxxx:xxxx:xxxx::xxxx:xxx<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Here it will ask you enter the size of the testing file which needs to create, I have entered 25MB, 50MB and 100MB, you can enter any other i.e 10MB, 100MB, 1000MB if you want:<\/span><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Enter the size of test files in MB (Example: 25MB 50MB 100MB) []: 25MB 50MB 100MB<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Here it will ask you if you want to set the rate limiting of the networking which will use the\u00a0PHP PDO with SQLite driver, I have said &#8220;n&#8221; NO, if you want to set the limit, you can say &#8220;y&#8221; YES and follow the steps:<\/span><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Do you wish to enable rate limiting of network commands? (y\/n): n<\/span><\/p>\n<p class=\"p2\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Removing old test files:<\/span><\/p>\n<p class=\"p2\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Creating new test files:<\/span><\/p>\n<p class=\"p2\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Creating 10MB test file<\/span><\/p>\n<p class=\"p2\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Creating 100MB test file<\/span><\/p>\n<p class=\"p2\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Creating 1000MB test file<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Here you will be asked to choose the theme, I have entered &#8220;n&#8221; to use the default theme, you can enter &#8220;y&#8221; and will be able to see the 4 themes to decide:<\/span><\/p>\n<blockquote>\n<p class=\"p2\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Would you like to choose a different theme? (y\/n): n<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After you will be asked to enter the user of your webserver, I have entered &#8220;looking-glass&#8221;, you can enter any other if you want:\u00a0<\/span><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Creating Config.php&#8230;<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Creating SQLite database&#8230;<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Enter the username of your webserver (E.g. www-data): looking-glass<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After\u00a0you will be asked to enter the user group of your webserver, I have entered &#8220;looking-glass&#8221;, you can enter any other if you want:\u00a0<\/span><\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Enter the user group of your webserver (E.g. www-data): looking-glass<\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">After it will take a few moments to complete the setup:<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Fixing MTR permissions&#8230;<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"font-family: Verdana, Geneva; font-size: 14pt; color: #333333;\">Installation is complete<\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">Once it is completed, you can open your server&#8217;s IP address or domain name from web browser to test it, It will look like the following:<\/span><\/p>\n<figure id=\"attachment_2579\" aria-describedby=\"caption-attachment-2579\" style=\"width: 972px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2579\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2020\/05\/What-is-Looking-Glass-in-Networking-and-How-to-Install-it-on-Your-VPS-or-Server-HostNamaste.png\" alt=\"What is Looking Glass in Networking and How to Install it on Your VPS or Server - HostNamaste\" width=\"972\" height=\"597\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2020\/05\/What-is-Looking-Glass-in-Networking-and-How-to-Install-it-on-Your-VPS-or-Server-HostNamaste.png 972w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2020\/05\/What-is-Looking-Glass-in-Networking-and-How-to-Install-it-on-Your-VPS-or-Server-HostNamaste-300x184.png 300w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2020\/05\/What-is-Looking-Glass-in-Networking-and-How-to-Install-it-on-Your-VPS-or-Server-HostNamaste-768x472.png 768w\" sizes=\"auto, (max-width: 972px) 100vw, 972px\" \/><figcaption id=\"caption-attachment-2579\" class=\"wp-caption-text\"><span style=\"font-size: 10pt; font-family: Verdana, Geneva; color: #333333;\"><strong>What is Looking Glass in Networking and How to Install it on Your VPS or Server &#8211; HostNamaste<\/strong><\/span><\/figcaption><\/figure>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva;\"><span style=\"color: #333333;\">If you are no-technical and do not want to run and install it on your own server, then you can contact third party<\/span> <span style=\"text-decoration: underline;\"><span style=\"color: #99cc00;\"><strong><a style=\"color: #99cc00; text-decoration: underline;\" href=\"https:\/\/looking.house\/company.php?id=127\" target=\"_blank\" rel=\"noopener\">Looking.House<\/a><\/strong><\/span><\/span> <span style=\"color: #333333;\">and they will ask you to send them your servers credentials and install their<\/span> <span style=\"text-decoration: underline;\"><strong><a href=\"https:\/\/www.hostnamaste.com\/looking-glass.php\"><span style=\"color: #99cc00; text-decoration: underline;\">Looking Glass<\/span><\/a><\/strong><\/span> <span style=\"color: #333333;\">and provide you with the unique set of Looking Glass URLs other than the we have installed above to use and test the network.<\/span><\/span><\/p>\n<h2><span style=\"font-size: 18pt; font-family: Verdana, Geneva; color: #333333;\"><strong class=\"hx ip\">Looking Glass FAQs:<\/strong><\/span><\/h2>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva;\"><style>#sp-ea-2606 .spcollapsing { height: 0; overflow: hidden; transition-property: height;transition-duration: 500ms;}#sp-ea-2606.sp-easy-accordion>.sp-ea-single {margin-bottom: 10px; border: 1px solid #e2e2e2; }#sp-ea-2606.sp-easy-accordion>.sp-ea-single>.ea-header a {color: #444;}#sp-ea-2606.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body {background: #fff; color: #444;}#sp-ea-2606.sp-easy-accordion>.sp-ea-single {background: #eee;}#sp-ea-2606.sp-easy-accordion>.sp-ea-single>.ea-header a .ea-expand-icon { float: left; color: #444;font-size: 16px;}<\/style><div id=\"sp_easy_accordion-1777706797\"><div id=\"sp-ea-2606\" class=\"sp-ea-one sp-easy-accordion\" data-ea-active=\"ea-click\" data-ea-mode=\"vertical\" data-preloader=\"\" data-scroll-active-item=\"\" data-offset-to-scroll=\"0\"><div class=\"ea-card sp-ea-single\"><h3 class=\"ea-header\"><a class=\"collapsed\" id=\"ea-header-26060\" role=\"button\" data-sptoggle=\"spcollapse\" data-sptarget=\"#collapse26060\" aria-controls=\"collapse26060\" href=\"#\" aria-expanded=\"false\" tabindex=\"0\"><i aria-hidden=\"true\" role=\"presentation\" class=\"ea-expand-icon eap-icon-ea-expand-plus\"><\/i> What is Looking Glass?<\/a><\/h3><div class=\"sp-collapse spcollapse spcollapse\" id=\"collapse26060\" data-parent=\"#sp-ea-2606\" role=\"region\" aria-labelledby=\"ea-header-26060\"> <div class=\"ea-body\"><p><span style=\"font-family: Verdana, Geneva;font-size: 14pt;color: #333333\">Looking Glass is an open source publicly available networking script to check the Host, Ping, Traceroute, MTR, Speed, and Latency of the VPS or Server and Network.<\/span><\/p><div class=\"un_socialShareicn\"><\/div><\/div><\/div><\/div><\/div><\/div><\/span><br \/>\n<span style=\"font-size: 14pt; font-family: Verdana, Geneva;\"><style>#sp-ea-2613 .spcollapsing { height: 0; overflow: hidden; transition-property: height;transition-duration: 500ms;}#sp-ea-2613.sp-easy-accordion>.sp-ea-single {margin-bottom: 10px; border: 1px solid #e2e2e2; }#sp-ea-2613.sp-easy-accordion>.sp-ea-single>.ea-header a {color: #444;}#sp-ea-2613.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body {background: #fff; color: #444;}#sp-ea-2613.sp-easy-accordion>.sp-ea-single {background: #eee;}#sp-ea-2613.sp-easy-accordion>.sp-ea-single>.ea-header a .ea-expand-icon { float: left; color: #444;font-size: 16px;}<\/style><div id=\"sp_easy_accordion-1777706797\"><div id=\"sp-ea-2613\" class=\"sp-ea-one sp-easy-accordion\" data-ea-active=\"ea-click\" data-ea-mode=\"vertical\" data-preloader=\"\" data-scroll-active-item=\"\" data-offset-to-scroll=\"0\"><div class=\"ea-card sp-ea-single\"><h3 class=\"ea-header\"><a class=\"collapsed\" id=\"ea-header-26130\" role=\"button\" data-sptoggle=\"spcollapse\" data-sptarget=\"#collapse26130\" aria-controls=\"collapse26130\" href=\"#\" aria-expanded=\"false\" tabindex=\"0\"><i aria-hidden=\"true\" role=\"presentation\" class=\"ea-expand-icon eap-icon-ea-expand-plus\"><\/i> What is Looking Glass Software?<\/a><\/h3><div class=\"sp-collapse spcollapse spcollapse\" id=\"collapse26130\" data-parent=\"#sp-ea-2613\" role=\"region\" aria-labelledby=\"ea-header-26130\"> <div class=\"ea-body\"><p><span style=\"font-size: 14pt;font-family: Verdana, Geneva\">A Looking Glass is a piece of software running on a web server server which allows users to get a look at routing and network behavior as it originates from the remote network. A looking glass accesses a remote router and performs a host, ping, trace, or one of several show commands allowing a view of the IP and BGP route tables.\u00a0<\/span><span style=\"font-size: 14pt;font-family: Verdana, Geneva\">Looking Glasses are most commonly used for verifying routing between the providers, and for verifying that routes are propagating correctly across the Internet.<\/span><\/p><\/div><\/div><\/div><\/div><\/div><\/span><br \/>\n<span style=\"font-size: 14pt; font-family: Verdana, Geneva;\"><style>#sp-ea-2610 .spcollapsing { height: 0; overflow: hidden; transition-property: height;transition-duration: 500ms;}#sp-ea-2610.sp-easy-accordion>.sp-ea-single {margin-bottom: 10px; border: 1px solid #e2e2e2; }#sp-ea-2610.sp-easy-accordion>.sp-ea-single>.ea-header a {color: #444;}#sp-ea-2610.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body {background: #fff; color: #444;}#sp-ea-2610.sp-easy-accordion>.sp-ea-single {background: #eee;}#sp-ea-2610.sp-easy-accordion>.sp-ea-single>.ea-header a .ea-expand-icon { float: left; color: #444;font-size: 16px;}<\/style><div id=\"sp_easy_accordion-1777706797\"><div id=\"sp-ea-2610\" class=\"sp-ea-one sp-easy-accordion\" data-ea-active=\"ea-click\" data-ea-mode=\"vertical\" data-preloader=\"0\" data-scroll-active-item=\"\" data-offset-to-scroll=\"0\"><div class=\"ea-card sp-ea-single\"><h3 class=\"ea-header\"><a class=\"collapsed\" id=\"ea-header-26100\" role=\"button\" data-sptoggle=\"spcollapse\" data-sptarget=\"#collapse26100\" aria-controls=\"collapse26100\" href=\"#\" aria-expanded=\"false\" tabindex=\"0\"><i aria-hidden=\"true\" role=\"presentation\" class=\"ea-expand-icon eap-icon-ea-expand-plus\"><\/i> Can I Install Looking Glass on any Linux Distributions?<\/a><\/h3><div class=\"sp-collapse spcollapse spcollapse\" id=\"collapse26100\" data-parent=\"#sp-ea-2610\" role=\"region\" aria-labelledby=\"ea-header-26100\"> <div class=\"ea-body\"><p><span style=\"font-family: Verdana, Geneva;font-size: 14pt;color: #333333\">Yes, you can <strong><a style=\"color: #333333\" href=\"https:\/\/www.hostnamaste.com\/blog\/what-is-looking-glass-in-networking-and-how-to-install-it-on-your-vps-or-server\/\"><span style=\"color: #99cc00\">Install Looking Glass<\/span><\/a><\/strong>\u00a0in any one of the Linux Distributions, I have made this blog post and used CentOS 7 64bit OS Server for the testing purpose. If you need any help or face any issues, please comment below and will help out.<\/span><\/p><\/div><\/div><\/div><\/div><\/div><\/span><\/p>\n<h2><span style=\"font-size: 18pt; font-family: Verdana, Geneva; color: #333333;\"><strong class=\"hx ip\">Reference Websites:<\/strong><\/span><\/h2>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">&#8211;\u00a0<span style=\"text-decoration: underline;\"><span style=\"color: #99cc00;\"><strong><a class=\"cg gp iy iz ja jb\" style=\"color: #99cc00; text-decoration: underline;\" href=\"https:\/\/github.com\/telephone\/LookingGlass\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">https:\/\/github.com\/telephone\/LookingGlass<\/a><\/strong><\/span><\/span><\/span><br \/>\n<span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">&#8211; Blog Post is Executed on\u00a0<span style=\"text-decoration: underline;\"><span style=\"color: #99cc00;\"><strong><a class=\"cg gp iy iz ja jb\" style=\"color: #99cc00; text-decoration: underline;\" href=\"https:\/\/www.hostnamaste.com\/kvm-vps.php\">KVM VPS<\/a><\/strong><\/span><\/span>\u00a0from\u00a0<span style=\"text-decoration: underline;\"><strong><a style=\"color: #333333;\" href=\"https:\/\/www.hostnamaste.com\/blog\/\"><span style=\"color: #99cc00; text-decoration: underline;\">HostNamaste<\/span><\/a><\/strong><\/span><\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: Verdana, Geneva; color: #333333;\">If you ever run into any issues with your <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.hostnamaste.com\/openvz-vps.php\"><strong><span style=\"color: #99cc00; text-decoration: underline;\">OpenVZ VPS<\/span><\/strong><\/a><\/span> or <span style=\"text-decoration: underline;\"><span style=\"color: #99cc00;\"><strong><a style=\"color: #99cc00; text-decoration: underline;\" href=\"https:\/\/www.hostnamaste.com\/kvm-vps.php\">KVM VPS<\/a><\/strong><\/span><\/span>, feel free to reach out to us and we will be more than happy to fix the problem for you. It\u2019s an included service in our 24\/7\/365 via technical support and VPS management.\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looking Glass is an open source publicly available networking script to check the Host, Ping, Traceroute, MTR, Speed, and Latency of the VPS or Server&hellip;<\/p>\n","protected":false},"author":2,"featured_media":2521,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2332,2343,2341,2337,2336,2344,2333,2356,2342,2339,2338,2340,2334,2335,2327],"tags":[2354,2326,2352,2349,2348,292,2345,2357,2353,2350,291,2351,2346,2347,2328],"class_list":["post-2512","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-what-is-looking-glass-in-networking-and-how-to-install-it-on-your-vps-or-server","category-apache-server","category-epel","category-how-to-install-looking-glass-in-server","category-how-to-install-looking-glass-in-vps","category-kvm-vps","category-looking-glass","category-looking-house","category-mariadb","category-nano-editor","category-openvz-vps","category-php","category-what-is-looking-glass","category-what-is-looking-glass-in-networking","category-what-is-looking-glass-in-networking-and-how-to-install-it-on-your-server","tag-apache-server","tag-cheap-kvm-vps","tag-epel","tag-how-to-install-looking-glass-in-server","tag-how-to-install-looking-glass-in-vps","tag-kvm-vps","tag-looking-glass","tag-looking-house","tag-mariadb","tag-nano-editor","tag-openvz-vps","tag-php","tag-what-is-looking-glass","tag-what-is-looking-glass-in-networking","tag-what-is-looking-glass-in-networking-and-how-to-install-it-on-your-server"],"acf":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/posts\/2512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/comments?post=2512"}],"version-history":[{"count":73,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/posts\/2512\/revisions"}],"predecessor-version":[{"id":5309,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/posts\/2512\/revisions\/5309"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/media\/2521"}],"wp:attachment":[{"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/media?parent=2512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/categories?post=2512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/tags?post=2512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}