web server

Use Nginx as an HTTP Load Balancer in Linux

How NGINX is different from Apache Web-server ?

NGINX VS APACHE Main difference is how it handles the Requests. Nginx is Process-oriented, for each connection Nginx generates thread. These threads requires huge space but In Nginx web-server it uses asynchronous requests event-driven handler for requests. Means connections which come-in treated indenpendently, they can share memory space. Which Leads to more accurately provide predictable […]

How NGINX is different from Apache Web-server ? Read More »

How to enable rewrite rule and other apache module in centos and ubuntu ? 1

How to enable rewrite rule and other apache module in centos and ubuntu ?

How to enable rewrite rule modules in apache (Centos and Ubuntu) for nginx Please scroll down Centos httpd -M vim /etc/httpd/conf.modules.d/00-base.conf ##Add this line LoadModule rewrite_module modules/mod_rewrite.so Do not forget to reboot web server sudo systemctl restart httpd Ubuntu How to enable module in ubuntu ? Enable and restart the web server a2enmod rewrite service

How to enable rewrite rule and other apache module in centos and ubuntu ? Read More »

symfony installation

Basic apache(httpd) virtualhost with symfony project setup

Complete Setup of symfony in Linux Apache Server Virtualhost Configure HTTPD virtual host This is the basic configuration file in which each line is important and necessary. To add it into the virtual host. Edit this file according to your requirement. Open terminal using (ssh connection) cd /etc/httpd/conf.d/ vim filename.conf <VirtualHost *:80> ServerAdmin webmaster@your_domain.com DocumentRoot “/var/www/html/project_directory/” ServerName your_domain.com

Basic apache(httpd) virtualhost with symfony project setup Read More »

Letsencrypt SSL certificate installation on centos and ubuntu with nginx and apache 2

Letsencrypt SSL certificate installation on centos and ubuntu with nginx and apache

Hello Everyone SSL is very important for any website to have a secure connection and I will tell you to How easily you can perform free ssl installation to your website. 1. SSL installation on Centos 6.* server with apache 2. SSL installation on Centos 6.* server with nginx 3. SSL installation on Centos 7

Letsencrypt SSL certificate installation on centos and ubuntu with nginx and apache Read More »

How to install and configure php7 , nginx on centos 7 3

How to install and configure php7 , nginx on centos 7

How to install nginx in centos 7 Update your server yum update Add epel repo as nginx is not available in Default repo yum install epel-release Install nginx yum install nginx Start the nginx services systemctl start nginx Enable the nginx so that when ever server restart , it should automatically start systemctl enable nginx

How to install and configure php7 , nginx on centos 7 Read More »