Created
August 1, 2012 07:20
-
-
Save anhpt379/3224478 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# clone the project | |
git clone http://github.com/wandenberg/nginx-push-stream-module.git | |
NGINX_PUSH_STREAM_MODULE_PATH=$PWD/nginx-push-stream-module | |
cd nginx-push-stream-module | |
# build with 1.1.x, 1.0.x, 0.9.x, 0.8.x series | |
./build.sh master 1.1.15 | |
cd build/nginx-1.1.15 | |
# install and finish | |
sudo make install | |
# check | |
sudo /usr/local/nginx/sbin/nginx -v | |
nginx version: nginx/1.1.15 | |
# test configuration | |
sudo /usr/local/nginx/sbin/nginx -c $NGINX_PUSH_STREAM_MODULE_PATH/misc/nginx.conf -t | |
the configuration file $NGINX_PUSH_STREAM_MODULE_PATH/misc/nginx.conf syntax is ok | |
configuration file $NGINX_PUSH_STREAM_MODULE_PATH/misc/nginx.conf test is successful | |
# run | |
sudo /usr/local/nginx/sbin/nginx -c $NGINX_PUSH_STREAM_MODULE_PATH/misc/nginx.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment