Installing Smokeping on Ubuntu 14.04 LTS Rumi, September 21, 2018 Installing Smokeping on Ubuntu used to be a total breeze. Since 14.04 however, it’s been a bit of a mission. This guide assumes a fresh out of the box Ubuntu install. I’m using the 64bit Server variety, but this should work on any 14.04 system. UPDATE – It also works perfectly on Ubuntu 16.04 LTS Server :~) Step 1: install smokeping (and you’re done). sudo apt-get install smokeping -y Step 2: normally, you’d be done by now.. But things have changed. sudo nano /etc/smokeping/config.d/pathnames You’re going to want to go into the pathnames file and comment out the line about mail. Setting up mail to work with smokeping is outside the scope of this post. Because I’m lazy. Do this: #sendmail = /usr/sbin/sendmail Then hit CTRL-O, Enter, CTRL-X. That’s how you save a file in Nano, I won’t stick that bit in again. Step 3: If you made it this far, you’re going to be fine. Start ‘er up… sudo service smokeping start Step 4: Head over to a web browser and enter the IP of your server/cgi-bin/smokeping.cgi (Hint: it will fail, giving you a 404 error). (Hint 2: you can find the IP address of your server by entering ifconfig, it’s typically eth0) Step 5: It’s not working because you’re missing a couple of things. One is a slight config change in a smokeping config file, one is some missing symlinks.. the other is (likely) the cgi module for Apache2 isn’t enabled. Fix it! sudo nano /etc/smokeping/config.d/General Edit the line that has cgiurl in it to read like: cgiurl = http://10.10.10.10/cgi-bin/smokeping.cgi Save and quit nano. Next you want to edit the following Apache config file: sudo nano /etc/apache2/conf-available/serve-cgi-bin.conf Under the lines “Require all granted </Directory>” You want to add: ScriptAlias /smokeping/smokeping.cgi /usr/lib/cgi-bin/smokeping.cgi Alias /smokeping /usr/share/smokeping/www <Directory “/usr/share/smokeping/www”> Options FollowSymLinks </Directory> (Save and quit editing the file) Finally, enable CGI: sudo a2enmod cgi Step 6: Kind of threw 3 things into step 5 there, whoops. Anyway now you want to restart smokeping and apache, just to see if you broke anything: sudo service apache2 restart sudo service smokeping restart Now head back to your browser, throw in 10.10.10.10/cgi-bin/smokeping.cgi Src: https://normally.online/2015/06/04/step-by-step-guide-to-installing-smokeping-on-ubuntu-14-04-lts/ Related Administrations Configurations (Linux) SkokepingUbuntuUbuntu 14.04Ubuntu 16.04.04
Reset Forgotten MySQL Root Password September 9, 2008September 9, 2008 Have you ever forgotten the root password on one of your MySQL servers? No? Well maybe I’m not as perfect as you. This is a quick h00tow (how to) reset your MySQL root password. It does require root access on your server. If you have forgotten that password wait for… Read More
Install Plex on CentOS 7 September 15, 2023 Was just playing around. It’s a great home entertainment tool indeed. Method-1: Creating repository and using Yum To enable the Plex repository open your text editor and create a new YUM repository configuration file named plex.repo in /etc/yum.repos.d/ directory: [PlexRepo] name=PlexRepo baseurl=https://downloads.plex.tv/repo/rpm/$basearch/ enabled=1 gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.key gpgcheck=1 Method-2: Installation using RPM download… Read More
Linux Gnome Force Quit alternate to crl+alt+del May 8, 2011 The Force Quit button allows you to click on a window to force an application to quit. This button is useful if you want to terminate an application that does not respond to your commands, if the application has frozen or crashed, for example. To add a Force Quit button… Read More