Librenms Tidbits Rumi, March 17, 2018 To identify and see what’s wrong with the NMS, run and check the problem by issuing- ./validate.php If RRD files not being updated in rrd folder, check- ./poller.php -h HOSTNAME -d -f -m os Reset LibreNMS by dropping database- DROP DATABASE `librenms`; CREATE DATABASE `librenms`; php build-base.php Admin password reset… Continue Reading
Install Librenms on Ubuntu 16.04 Rumi, March 17, 2018September 4, 2018 The first step we must do for installing LibreNMS Monitoring Tools is to install some packages needed on the server. Connect to your server and update the repository. ssh root@hakase-labs-server sudo apt update Install all the required packages for LibreNMS from the Ubuntu repository using the following command. apt-get install fping imagemagick… Continue Reading
Install Varnish on Debian 8 Rumi, March 12, 2018March 12, 2018 We are going to install the latest version of varnish which is 5.2 at the time of writing. In order to install the latest version, we have to download the source and compile it. You have to install some dependencies to compile the Varnish: apt-get install make automake autotools-dev libedit-dev libjemalloc-dev… Continue Reading
Windows 10 Saving Spotlight Images Rumi, March 9, 2018 The most aesthetic part of windows 10 is the spotlight images on login screen. Few of them were really too mind blowing that I wanted to save and keep it as a wallpaper! So, here’s the hack on how to do it- Navigate to the following folder (or just copy… Continue Reading
Apache Virtual Hosts on Debian 8 Rumi, March 9, 2018 Step 1 — Creating the Directory Structure The first step that we are going to take is to make a directory structure that will hold the site data that we will be serving to visitors. Our document root, the top-level directory that Apache looks at to find content to serve,… Continue Reading
Build NFS Server on CentOS 7 Rumi, March 9, 2018 As the first step, we will install these packages on the CentOS server with yum: yum install nfs-utils Now create the directory that will be shared by NFS: mkdir /var/nfsshare Change the permissions of the folder as follows: chmod -R 755 /var/nfsshare chown nfsnobody:nfsnobody /var/nfsshare We use /var/nfsshare as shared folder, if we… Continue Reading
Install webmin in Centos 7 Rumi, March 9, 2018 Step 1 — Installing Webmin First, we need to add the Webmin repository so that we can easily install and update Webmin using our package manager. We do this by adding a new file called /etc/yum.repos.d/webmin.repo that contains information about the new repository. Create and open this new file using… Continue Reading
Postfix start error on CentOS Rumi, March 7, 2018 When I tried to start postfix today, I got the following message: fatal: parameter inet_interfaces: no local interface found for 1.2.3.4 Solution is straightforward: nano /etc/postfix/main.cf comment out “inet_interfaces = all” add “inet_protocol = ipv4” Continue Reading
Important Exim Commands Rumi, March 6, 2018November 6, 2018 To get a count of messages in the queue exim -bpc Print a listing of the messages in the queue (time queued, size, message-id, sender, recipient) exim -bp Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals): exim -bp | exiqsumm Print what Exim… Continue Reading
The SSL/TLS Handshake: an Overview Rumi, March 6, 2018 Obligatory SSL/TLS Handshake Graphic All SSL/TLS-related sites have their own version of a handshake diagram – here’s ours! (Click to enbiggen.) Let’s Clear Up Some Confusion, If We Can Some confusion about how SSL/TLS handshakes work is due to the handshake being only the prelude to the actual, secured session itself. Let’s try to… Continue Reading