Installing the latest version of Nginx from source on Debian and Ubuntu.

[Category: Debian] Share: Bookmark and Share

In a previous post I showed you, how to install nginx on debian, see "Install Nginx, FastCGI, PHP5, MySQL on Debian and Ubuntu.". This step by step guide shows you how to install the latest version of nginx without using the package manager apt-get or aptitude.

This post is intended for more advanced users who want to install the latest version of nginx on Debian or Ubuntu Server.

First create a directory where you can download the source code and unpack it.

mkdir nginxinstallation


cd nginxinstallation

Then download the latest version of nginx. Right now is 0.8.53 the latest version.


unpack the package.

tar -zxvf nginx-0.8.53.tar.gz
cd nginx-0.8.53

To install and configure nginx you need to install other packages too, packages like open ssl library and PCRE Library.

sudo aptitude install libc6 libpcre3 libpcre3-dev libpcrecpp0 libssl0.9.8 libssl-dev zlib1g zlib1g-dev lsb-base
./configure --sbin-path=/usr/local/sbin
sudo make install

nginx is installed in /usr/local/nginx, but nginx binary file is in /usr/local/sbin.

to start nginx run this.

sudo /usr/local/sbin/nginx

that's all. congratulations now you have installed nginx from source code on your server. time to take a cup of tea!

See also

Recent posts

Randomized posts

usr local sbin nginx, make install, make, Installing nginx, install latest version of Nginx, install nginx from source, nginx source, nginx source code, Installieren nginx installieren neueste Version von Nginx, installieren nginx von Quelle, Quelle nginx, nginx Quellcode, Instalación de nginx, instalar la última versión de Nginx, instalar nginx de la fuente, la fuente de nginx, el código fuente de nginx, Установка Nginx, установите последнюю версию Nginx, установить Nginx из источника, Nginx источника, Nginx исходного кода, nginx Pemasangan, memasang versi terbaru dari nginx, install nginx dari sumber, sumber nginx, kod sumber nginx, 설치 nginx는, 소스, nginx 소스, nginx 소스 코드에서 nginx를 설치, Nginx의 최신 버전을 설치, nginx的安装,安装Nginx的最新版本,安装源,nginx的源代码,源代码的nginx nginx的,インストールのnginxは、ソース、nginxのソース、nginxのソースコードからnginxのをインストールするには、Nginxは、最新のバージョンをインストールする, nginx Instalasi, menginstal versi terbaru dari nginx, install nginx dari sumber, sumber nginx, kode sumber nginx, अधिष्ठापन nginx, Nginx का नवीनतम संस्करण स्थापित करें, स्रोत, nginx स्रोत, nginx स्रोत कोड से nginx स्थापित करते हैं, nginx Installation, installer la dernière version de Nginx, installer nginx de la source, la source nginx, le code source nginx, Debian, linux, LINUX, unix, Unix, UNIX


Tell a friend!

Your e-mail:

Your friend's e-mail:

Add CoolLinux to your favorites

apache log files, find log files, apache log files, change hostname, change host name, hostname, host name, change name, hostname file, hostname path, host name path, host path, path host, change hostname, change host name, hostname, host name, change name, hostname file, hostname path, host name path, host path, path host, install lighttpd, lighttpd, web server, lighttpd web server, lighttpd installation, lighttpd debian install, lighttpd debian installation, FreeBSD, SUSE Linux distributions, Red Hat Enterprise, Kubuntu, Fedora Core, Fedora, Edubuntu, ubuntu, Debian, CentOS, game, linux game, unix game, sauerbraten, cube, game, linux game, unix game, OpenArena, game, GPL, linux game, unix game, text login, new mail, warning, message, system message, notice, terminal, text terminal, install, remove, uninstall, Apache, apache, delete, CentOS, Red Hat, Fedora, install apache, remove apache, uninstall apache,, remove, uninstall, Apache, apache, apache debian, apache ubuntu, debian, ubuntu, remove apache, uninstall apache, delete, start, stop, restart, start apache, stop apache, restart apache, Apache, apache, list contents, directory, list directory, PHP, php, contents, content, php list, display date, display time, visitor, PHP, php, date, time, php date, php time, display php, display IP, IP, ip, ip address, IP address, visitor, PHP, php, ip php, word processors, text editor, editor, install, nano, , change, changing, timezone, time zone, reboot, , Learn Persian online!Englisch lernen online kostenlos