Date Posted:12-02-2017 In this article, we are gonna explain on how to setup varnish to listen on port 80(http) and forward request to backend webserver(our example, we deals with nginx as backend server). The backend server can be anything, either Apache or Nginx webserver. Assumption: Apache or nginx webserver. This post… Continue Reading Install Varnish on Ubuntu 16

Date Posted:28-01-2017 In the modern era, deploying the code on the multiple server is a challenging one. In classic, people normally use FTP/SFTP to upload the files and restart application. In this article, we are gonna explain how to use code deploy aws service to deploy the code on aws… Continue Reading Setup AWS codedeploy on Linux

Date Posted:05-01-2016 By default, apache logs the IP address where the request comes from. Consider a scenario where webserver(in our post, we deals with apache) behind load balancer either EC2 load balancer or haproxy load balancer,etc., where the request will come to load balancer and loadbalancer transfer the request to… Continue Reading Enable remote IP address logging on apache2 behind load balancer

Date Posted on:04-01-2017 Ubuntu 16.04 doesn’t have php 5.6 by default. Normally, if we install php on ubuntu 16.04, it will install php 7. Many application (at the time of this post 04-01-2017) runs only with php 5.6 and may face issue with Php7. In this post, we are gonna… Continue Reading Install apache 2.4, php5.6 on Ubuntu 16.04

This post assumes that nginx already installed on the server. If its not installed, please refer the following post to install nginx. We assumes that host is ubuntu and installation path is /etc/nginx. You can follow the same post incase of different OS or installation path is different. You may… Continue Reading Configure multiple domains(virtualhost) on nginx webserver

Nginx is the fastest webserver when compared to Apache. In this post, we are gonna explain on how to secure your website using SSL certificate on ubuntu 16.04. Assumption: Ubuntu 16.04 Nginx webserver. If nginx is not installed, please follow the post to install nginx You must have private key,… Continue Reading Install SSL Certificate on Nginx Ubuntu 16.04

In this post, we gonna explain on how to install and configure SSL on centos. The main advantage of using letsencrypt is its free and the certificate is valid for 90 days. You need to execute simple command to renew it again. Let’s Encrypt is a new Certificate Authority.It’s free, automated,… Continue Reading Install and Configure SSL using LetsEncrypt

In this post, we will explain how to setup failover on rundeck. Rundeck officially doesn’t supports failover. This approach we tested on Centos 6 and its working fine. Moreover, use this approach on your own risk 😛 Assumption: This post assumes that rundeck is running on host1 listens on port… Continue Reading Rundeck Failover Setup

The following script will help you to create a temporary user on the host and delete all the content associated with the user after 3 hours. These scenario will be working incase if a user wants to access the hosts for sometime, troubleshoot issues, verify logs, etc., Replace variable with… Continue Reading Create temporary User on Linux Host

Sometimes, you would need to give sudo privilege to many users. For providing sudo privilege for a single user, refer the following post.   —– https://blog.pheonixsolutions.com/wheel-user-to-become-as-root-su-without-password/ —–   For providing sudo privilege for many users, create a group and add all the users in that group. So, if we give… Continue Reading Providing sudo privilege for a group.