Category Archives: Web Server

Web Server.

How To Setup An SSL Certificate

How To Setup An SSL Certificate Ordering an SSL certificate can be as simple as pie or it can make you want to pull your hair out. If you prepare to order an SSL certificate by creating a CSR and … Continue reading

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

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 Varnish Cache HTTP reverse proxy on Ubuntu

Setup Varnish Cache HTTP reverse proxy on Ubuntu Varnish Cache: Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. It stores much of its cached data in memory, creating fewer disk files and fewer … Continue reading

Posted in Apache, Proxy, Varnish | 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

Apache prefork vs worker mpm

Apache: multi-threaded vs multi-process (pre-forked) Apache comes in a few different flavors. The two most common are pre-forked (multi-process) and multi-threaded (worker). The pre-forked flavor runs several copies of itself and each copy is designed to serve one visitor at … Continue reading

Posted in Apache | 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

Monitoring services with Monit

Monitoring services with Monit Check all running service on you machine with their port no, #netstat -atlpvn | grep LISTEN Get and install Monit, #sudo apt-get install monit OR #cd /home/ #wget http://mmonit.com/monit/dist/monit-5.5.tar.gz #tar -zxvf monit-5.5.tar.gz #cd monit-5.5 #./configure #make … Continue reading

Posted in Apache, Gearman, Memcached, MongoDB, Monit, Mysql, Node.js, Redis, Sphinx | Tagged , , , , , , , , | Leave a comment

How node.js works

About The aim of this document is to get you started with developing applications with Node.js, teaching you everything you need to know about “advanced” JavaScript along the way. It goes way beyond your typical “Hello World” tutorial. The code … Continue reading

Posted in Node.js, Server-side Scripting., Web Server | Tagged | Leave a comment

Install Apache-Php-Mysql latest version on Centos

Install Apache-Php-Mysql latest version on Centos A) Install latest Apache Web Server: #cd /usr/local/src/ #wget http://apache.mirrors.pair.com//httpd/httpd-2.4.1.tar.bz2 #tar -jxf httpd-2.4.1.tar.bz2 #cd httpd-2.4.1 Install latest APR & APR-Utils version available (steps are given in Requirements).Unpack them into ./srclib/apr and ./srclib/apr-util (be sure … Continue reading

Posted in Apache, Mysql, Php, Web development | Tagged , , , | Leave a comment