How to quickly stress test a web server Rumi, November 13, 2017 The Curl syntax allows you to specify sequences and sets of URL’s. Say for example we’re going to run a load stress test against Google we can run… curl -s “http://google.com?[1-1000]” This will make 1000 calls to google i.e. 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
XEAMS mail Server Installation on CentOS 6 Rumi, September 5, 2017September 5, 2017 Installation Instructions Follow the steps below to install Xeams on a Linux machine.Log in as root Download the installer Extract the tar file using the following command tar -xf XeamsLinux.tar Ensure the permissions for Install.sh is set as an executable. If not, use the chmod +x Install.sh command to change… Continue Reading
Install and configure ClamAV Antivirus on CentOS 6 Rumi, September 5, 2017 Enable EPEL repository CentOS 6.x 32-bit: # rpm –ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm CentOS 6.x 64-bit: # rpm –ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Check the repository list. Continue Reading