Install Apache Tomcat 8.5 on CentOS 7.3 Rumi, December 10, 2017 Prerequisites Server with CentOS 7 – 64bit 2 GB or more RAM (Recommended) Root Privileges on the server Step 1 – Install Java (JRE and JDK) In this step, we will install the Java JRE and JDK from the CentOS repository. We will install Java 1.8.11 on the server with… 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
Setup Percona on Debian 7 Rumi, November 23, 2017 MySQL multi-master replication is an excellent feature within MySQL. However, there is only one problem; standard multi-master replication seems to never be as stable as something like master-slave replication. It is always in need of attention. That is where Percona comes into play. The Percona team has developed an amazing… Continue Reading
Install LEMP with phpmyadmin on CentOS 7 Rumi, November 20, 2017 To add the CentOS 7 EPEL repository, open terminal and use the following command: yum install epel-release Since we are using a sudo command, these operations get executed with root privileges. It will ask you for your regular user’s password to verify that you have permission to run commands with root privileges…. 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
Migrate hosting sites from one VestaCP to another VestaCP Rumi, November 12, 2017 Lately, I was trying to migrate vesta hosted sites from one server to another. This trick might help to those who- Either tried to update IP (after tried with so many vesta forum links!) and failed or Have installed on a physical computer and need to move out sites on… 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
Phpvirtualbox fix on 5.1 using 5.0 Rumi, October 12, 2017October 12, 2017 I was able to get v5.0-5 working with vbox 5.1 by commenting out the version check line and replacing it with a static value in the endpoints/api.php file: // $response[‘data’][‘responseData’][‘phpvboxver’] = @constant(‘PHPVBOX_VER’); $response[‘data’][‘responseData’][‘phpvboxver’] = “5.1-0”; Src: https://sourceforge.net/p/phpvirtualbox/discussion/general/thread/565b7f31/ 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