Difference between revisions of "Raspbian: Instalasi nginx dan RTMP"

From OnnoWiki
Jump to navigation Jump to search
(New page: Instalasi aplikasi pendukung sudo apt-get install build-essential libpcre3 libpcre3-dev libssl-dev Download source code cd /usr/local/src wget http://nginx.org/download/nginx-1.6.1.t...)
 
Line 21: Line 21:
 
  make
 
  make
 
  sudo make install
 
  sudo make install
 +
 +
Beberapa catatan penting
 +
 +
nginx path prefix: "/usr/local/nginx"
 +
nginx binary file: "/usr/local/nginx/sbin/nginx"
 +
nginx configuration prefix: "/usr/local/nginx/conf"
 +
nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
 +
nginx pid file: "/usr/local/nginx/logs/nginx.pid"
 +
nginx error log file: "/usr/local/nginx/logs/error.log"
 +
nginx http access log file: "/usr/local/nginx/logs/access.log"
 +
nginx http client request body temporary files: "client_body_temp"
 +
nginx http proxy temporary files: "proxy_temp"
 +
nginx http fastcgi temporary files: "fastcgi_temp"
 +
nginx http uwsgi temporary files: "uwsgi_temp"
 +
nginx http scgi temporary files: "scgi_temp"

Revision as of 08:33, 31 August 2014

Instalasi aplikasi pendukung

sudo apt-get install build-essential libpcre3 libpcre3-dev libssl-dev

Download source code

cd /usr/local/src
wget http://nginx.org/download/nginx-1.6.1.tar.gz
wget https://github.com/arut/nginx-rtmp-module/archive/master.zip

Buka source code

cd /usr/local/src
tar -zxvf nginx-1.6.1.tar.gz
unzip master.zip

Compile

cd /usr/local/src/nginx-1.6.1
./configure --with-http_ssl_module --add-module=../nginx-rtmp-module-master
make
sudo make install

Beberapa catatan penting

nginx path prefix: "/usr/local/nginx"
nginx binary file: "/usr/local/nginx/sbin/nginx"
nginx configuration prefix: "/usr/local/nginx/conf"
nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
nginx pid file: "/usr/local/nginx/logs/nginx.pid"
nginx error log file: "/usr/local/nginx/logs/error.log"
nginx http access log file: "/usr/local/nginx/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"