How to install WordPress with nginx on Debian Wheezy

Install WordPress

WordPress is the most popular Content Management System (CMS) on the planet. Over 20% of websites, is powered by WordPress. It is free and open-source. WordPress is built with PHP as a server-side language and MySql as a database.

Prerequisites for WordPress Installation

To get started with installing WordPress you’ll need to make sure that your server is ready for it.
You’ll need a Debian based server with root privileges and make sure you’ve Nginx, PHP and MySql installed. If you don’t have these things installed, learn how to install nginx, PHP & MySql.

{ Continue reading }

How to install nginx with PHP & MySQL (LEMP) on Debian

What is Nginx?

nginx [engine x] is a free and open-source HTTP and reverse proxy server. It is also a mail proxy server.

This website is running on a Debian based VPS (Virtual Private Server). The HTTP server behind this website is Nginx.

In this article, you’ll learn how to install Nginx, PHP and MySQL on Debian Wheezy.

So let’s get started:

Installing nginx:

To install nginx, open up your terminal and type the following command:

apt-get install nginx

After getting this installed, we’ll need to start Nginx. To start Nginx, type the following command:

service nginx start

Type your server’s IP address on a browser. If everything is right, you should get a welcome message from Nginx.

The default root for nginx on debian wheezy is usr/share/nginx/www

{ Continue reading }