Mastering Nginx

(Ron) #1
Preface

[ 3 ]

What you need for this book


Any modern Linux PC should be sufficient to run the code samples in the book.


The installation instructions are given in each chapter that uses code samples.


Basically, it boils down to:



  • A build environment: Compiler, header files, and a few more

  • NGINX: Most recent version should be fine

  • Ruby: Best installed from https://rvm.io

  • Perl: Default version should be fine


Who this book is for


This book is for experienced systems administrators or systems engineers, familiar


with installing and configuring servers to meet specific needs. You do not need
to have experience using NGINX already.


Conventions


In this book, you will find a number of styles of text that distinguish between
different kinds of information. Here are some examples of these styles, and an


explanation of their meaning.


Code words in text are shown as follows: "NGINX will attempt to build a dependent


library statically if you include a ––with-= option to configure."


A block of code is set as follows:


$ export BUILD_DIR=`pwd`
$ export NGINX_INSTALLDIR=/opt/nginx
$ export VAR_DIR=/home/www/tmp
$ export LUAJIT_LIB=/opt/luajit/lib
$ export LUAJIT_INC=/opt/luajit/include/luajit-2.

When we wish to draw your attention to a particular part of a code block, the relevant
lines or items are set in bold:


$ export BUILD_DIR=`pwd`
$ export NGINX_INSTALLDIR=/opt/nginx
$ export VAR_DIR=/home/www/tmp
$ export LUAJIT_LIB=/opt/luajit/lib
$ export LUAJIT_INC=/opt/luajit/include/luajit-2.
Free download pdf