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
How to check if your server has been hacked Rumi, November 13, 2017November 13, 2017 Root compromises This means someone has full access to the system, here are the tell tale signs in order of most likely to give you a quick feel for what’s going on. 1. Have a look for system files that have changed recently. This is the first thing I would… 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
PHP 7.0 on CentOS/RHEL 6.9 and 7.4 using Yum Rumi, October 9, 2017October 9, 2017 Before beginning this, it is assumed that you already have installed LAMP on your server. To install, first you must add the Webtatic EL yum repository information corresponding to your CentOS/RHEL version to yum: CentOS/RHEL 7.x: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm CentOS/RHEL 6.x: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm… Continue Reading
Perfect Squid with Transparent proxy and SSL log Rumi, September 5, 2017September 5, 2017 This will be a transparent SQUID proxy for your home or corporate network , it will transparently intercept all traffic http and https , for https you will need to push to clients the CA certificate of the SQUID server, it has been tested to be working without problems with… Continue Reading