How to disable Network Manager on Linux Rumi, May 4, 2018March 8, 2019 First Check if NetworkManager is running on Ubuntu / Debian Usually you should be using NetworkManager by default (Ubuntu 14.04), just in case you want to be sure, use this command to verify: dpkg –get-selections | grep network-manager In case there is some output like: network-manager install it is installed,… Continue Reading
Install Redis Server and PHP-Redis on Debian or Ubuntu System Rumi, April 20, 2018 you can install the phpredis extension from the Ubuntu respositories. First, if you don’t have it installed already, let’s install Redis: sudo apt-get install redis-server After we get Redis installed (and/or verified that it was installed), we can install the PHP module for Redis: sudo apt-get install php5-redis After the module is… 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
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
stress test your web server with httperf Rumi, November 13, 2017 Httperf is a tool for measuring web server performance. It provides a flexible facility for generating various HTTP workloads and for measuring server performance. NOTE : for accurate results, it’s best to run httperf from a remote machine and not from the localhost to install httperf in red-hat based distributions… Continue Reading
Enable root logins using ssh in Debian 8.0 Rumi, October 28, 2017 By default you can no longer login using ssh as root with just a password since it is more secure to use a pre-shared key. However, you can you can still enable root logins using password authentication. To do this you need to edit the ssh config file ‘/etc/ssh/sshd_config/sshd_config’ as… 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
Perfect Backup MX using Postfix Rumi, October 12, 2017 This is quite simple, and with a very simple setup, and does not require that much, since we do not need to send out e-mails from clients from this server, or use ASMTP. I find that MySQL is not needed here, but could be used. I will use normal flat… Continue Reading
Installing Certbot on Debian 8 Rumi, August 23, 2017 root@server:~# cat /etc/apt/sources.list deb http://ftp.de.debian.org/debian/ jessie main deb-src http://ftp.de.debian.org/debian/ jessie main deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main deb http://ftp.de.debian.org/debian/ jessie-updates main deb-src http://ftp.de.debian.org/debian/ jessie-updates main deb http://ftp.debian.org/debian jessie-backports main Continue Reading
Apache Virtual Hosts on Debian 7 Rumi, August 2, 2017 Virtual Hosts are used to run more than one domain off of a single IP address. This is especially useful to people who need to run several sites off of one virtual private server– each will display different information to the visitors, depending on which website the user is accessing.There… Continue Reading