Tag Archives: Nginx

Install nginx on CentOS

Install nginx on CentOS 6.2/6.1/6/5.8 ## Remi Dependency on CentOS 6 ## rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm ## CentOS 6 ## rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm ## Remi Dependency on CentOS 5 ## rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm ## CentOS 5 ## rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm Create … Continue reading

Posted in Linux Operating System, Nginx | Tagged , | Leave a comment

Setup Nginx as Load Balancer

Setup Nginx as Load Balancer Loadbalancing is a useful mechanism to distribute incoming traffic around several capable VIrtual Private servers. The Round Robin algorithm for load balancing sends visitors to one of a set of IPs. Install Nginx: #sudo apt-get … Continue reading

Posted in Nginx, Proxy | Tagged , | Leave a comment

Setup Nginx as reverse proxy to apache on ubuntu

Setup nginx as reverse proxy to apache Install PHP and Apache: Install php and apache Configure virtual host: Configure virtual host Install nginx : Install nginx  Configure nginx: Open up the nginx configuration. #sudo vim /etc/nginx/sites-enabled/default The following configuration will … Continue reading

Posted in Apache, Nginx, Proxy | Tagged , , | Leave a comment

Setup Lemp on ubuntu 12.04

I have seen some online guides about this but really was after one specific to Ubuntu 12.04. So here goes: Step 1 – Installing Nginx From Source , Install Prerequisites Begin by ensuring that your system’s package database and installed … Continue reading

Posted in Mysql, Nginx, Php | Tagged , , , | Leave a comment