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
How to setup vsftpd FTP with SSL on Ubuntu 12.04 Rumi, December 7, 2015December 7, 2015 This tutorial teaches you, how to setup vsftpd server on Linux based dedicated Web server. The tutorial also teaches you how to add the ftp users and lock the directory to individual users(In this scenario,lock the users into their individual web directory). In Ubuntu 12.04, vsftpd with chrooted users gives the following… Continue Reading
Reset Zpanel Zadmin Password Rumi, December 25, 2014April 25, 2017 It’s a silly though, after updated from webGUI zpanel’s dashboard, the updated password wasn’t just working!!! So had to google a while and found the answer- keeping it for future reference- setzadmin -set password Note: In “password” area type “your new password” That’s it! Continue Reading
Bash Shellshock fix with scripts for Debian, Ubuntu, CentOS and other distros. including old Rumi, October 3, 2014December 19, 2014 First check if your Bash is vulnerable, execute the following command- env x='() { :;}; echo vulnerable’ bash -c ‘echo this is a test’ If your system is vulnerable, you will see: vulnerable this is a test If your system is not vulnerable, you will see: bash: warning: x: ignoring… Continue Reading