Selasa, 29 Oktober 2013

Tips Install Nginx stable di ubuntu 12.04

Bila kita install nginx dari default repository ubuntu biasanya belum mendapatkan the last stable update nginxnya. jika kita ingin mendapatkan nginx stable maka kita perlu menambahkan PPA (source list from third party). Begini kurang lebih step-stepnya :
agar bisa menambahkan PPA jalankan perintah ini

1. sudo apt-get install python-software-properties

2. sudo add-apt-repository ppa:nginx/stable

You are about to add the following PPA to your system: Stable version of nginx. The following are no longer updated past 1.2.7, due to PPA build restrictions: * Maverick The following will not be updated past 1.4.1, except for bugfixes which may have been missed: * Lucid * Natty * Oneiric More info: https://launchpad.net/~nginx/+archive/stable Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpUkGTqm/secring.gpg' created gpg: keyring `/tmp/tmpUkGTqm/pubring.gpg' created gpg: requesting key C300EE8C from hkp server keyserver.ubuntu.com gpg: /tmp/tmpUkGTqm/trustdb.gpg: trustdb created gpg: key C300EE8C: public key "Launchpad Stable" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1)

3. sudo apt-get update

4. sudo apt-get install nginx

~$ nginx -v nginx version: nginx/1.4.3
Cukup 4 Langkah ya ...mudah bukan ?? Selamat mencoba

Tidak ada komentar:

Posting Komentar