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
Set Up Nginx Load Balancing with SSL Termination Rumi, March 23, 2018 Nginx can be configured as a load balancer to distribute incoming traffic around several backend servers. SSL termination is the process that occurs on the load balancer which handles the SSL encryption/decryption so that traffic between the load balancer and backend servers is in HTTP. The backends must be secured… Continue Reading
Install iRedmail on a CentOS 6.8 server Rumi, March 17, 2018June 10, 2018 We need to set a FQDN hostname before we set up the mail server. On CentOS Linux, hostname is set in two files: Hostname setting: nano /etc/sysconfig/network # Part of file: /etc/sysconfig/network HOSTNAME=demo.iredmail.org Hostname <=> IP address mapping: /etc/hosts. WARNING: Please list the FQDN hostname as the first item. # Part of… Continue Reading
Install Mailtrain Bulk Mailer Application on CentOS 7 Rumi, March 17, 2018March 17, 2018 Requirements Metabase requires at least 1GB of RAM. All the required dependencies will be installed throughout the tutorial. You will need a minimal installation of CentOS 7 with root access on it. If you are logged in as a non-root user, you can run sudo -i to switch to root… Continue Reading
Install Mailtrain Mail Marketer Software on Ubuntu 16.04 – Auto Installation Rumi, March 17, 2018March 17, 2018 Mailtrain is a self hosted newsletter application built on Node.js (v5+) and MySQL (v5.5+ or MariaDB). Mailtrain supports subscriber list management, list segmentation, custom fields, email templates, large CSV list import files, etc. Requirements Nodejs v5+ MySQL v5.5 or MariaDB Redis (optional, disabled by default, used only for session storage) Automatic… Continue Reading
Librenms Tidbits Rumi, March 17, 2018 To identify and see what’s wrong with the NMS, run and check the problem by issuing- ./validate.php If RRD files not being updated in rrd folder, check- ./poller.php -h HOSTNAME -d -f -m os Reset LibreNMS by dropping database- DROP DATABASE `librenms`; CREATE DATABASE `librenms`; php build-base.php Admin password reset… Continue Reading
Install Librenms on Ubuntu 16.04 Rumi, March 17, 2018September 4, 2018 The first step we must do for installing LibreNMS Monitoring Tools is to install some packages needed on the server. Connect to your server and update the repository. ssh root@hakase-labs-server sudo apt update Install all the required packages for LibreNMS from the Ubuntu repository using the following command. apt-get install fping imagemagick… 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
Build NFS Server on CentOS 7 Rumi, March 9, 2018 As the first step, we will install these packages on the CentOS server with yum: yum install nfs-utils Now create the directory that will be shared by NFS: mkdir /var/nfsshare Change the permissions of the folder as follows: chmod -R 755 /var/nfsshare chown nfsnobody:nfsnobody /var/nfsshare We use /var/nfsshare as shared folder, if we… Continue Reading