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
BIND ACL to restrict zone trasfer with IP address Rumi, December 17, 2017 You need to define ACL in /etc/named.conf or /etc/bind/named.conf.local file. Let us say IP 1.2.3.4 and 1.2.3.5 are allowed to transfer your zones. # vi named.conf or vi /etc/bind/named.conf.local Here is sample entry for domain domain.org.bd (ns1 configuration): acl trusted-servers { 1.2.3.4; //ns1 1.2.3.5; //ns2 }; zone “domain.org.bd” { type… Continue Reading
Load Balancing using Ldirectord on Linux (Apache) web server Rumi, November 23, 2017 For this setup, we need four nodes (two Apache nodes and two load balancer nodes) and five IP addresses: one for each node and one virtual IP address that will be shared by the load balancer nodes and used for incoming HTTP requests. I will use the following setup here: Apache node… Continue Reading
Add Linux machine on LibreNMS Rumi, October 28, 2017 Install SNMPD first SNMPd is not installed by default. You must first install snmpd. apt-get update apt-get install snmpd lsb -y Backup default snmp.conf file on the ‘/etc/snmp/’ directory and copy new one from the librenms directory. mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.asli cp /opt/librenms/snmpd.conf.example /etc/snmp/snmpd.conf or instead copy-paste below snmpd text Continue Reading
Upgrade mysql 5.5 to 5.6 in Ubuntu 14 Rumi, June 2, 2017 While I was installing idoit- the cmdb and IT documenting platform, struggling with a pre-requisite of having mysql version 5.6 which is not shipped by native in ubuntu 14 installations. So had to google it and found some solution, however the one that worked for me which I’m sharing below:… Continue Reading
Install SVN Server on Ubuntu and Test it with Tortoise Rumi, March 27, 2017 Execute the following commands to update the Ubuntu repository list and install apache + svn. sudo apt-get update sudo apt-get install subversion apache2 libapache2-svn apache2-utils *If asked type Y (Yes). If you have trouble updating check your internet connection, proxy, try update fix-missing etc. Create your repository folder in this… Continue Reading
Remove apache, phpmyadmin etc from ubuntu 16.04 Rumi, February 4, 2017 You can remove the packages in Ubuntu by executing the commands: dpkg –purge phpmyadmin dpkg –purge mysql-server dpkg –purge apache2.2-common Or You have option also to remove the following packages: sudo apt-get remove apache2* sudo apt-get remove phpmyadmin sudo apt-get remove mysql-server sudo apt-get remove php5 Or sudo apt-get –purge… Continue Reading
Create a Sudo User on Debian or Ubuntu Rumi, January 29, 2017 Log in to your server as the root user. ssh root@server_ip_address Use the adduser command to add a new user to your system. Be sure to replace username with the user that you want to create. adduser username Set and confirm the new user’s password at the prompt. A strong… Continue Reading
Server Monitoring with Munin and Monit on Ubuntu 14.04 LTS Rumi, January 6, 2016 Our system’s hostname is server1.example.com, and we have a website www.example.com on it with the document root/var/www/www.example.com/web. The following steps have to be performed as root user. To become root user on your server, run this command: sudo su Ensure that the system is up to date before you start… Continue Reading
SVN Server on Ubuntu 12.04 LTS with Web Access Rumi, December 9, 2015December 9, 2015 To install SVN server, run this command at the command prompt: sudo apt-get install subversion libapache2-svn apache2 Make the directory where you want to keep the svn repositories and edit the dav_svn.conf file: sudo mkdir /svn sudo nano /etc/apache2/mods-enabled/dav_svn.conf Delete all the data and make it simple like this 🙂 <Location… Continue Reading