-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to install this patch ? #1
Comments
install freebsd 10.x pkg install git #Therefore, one way to grant a normal user with superuser privileges is to add the #user to the wheel group. To add a user to the wheel group, use this pw groupmod #command (replace the highlighted username): #sammy would be your username #after that the su root command should work. ntpdate -v -b in.pool.ntp.org git clone https://github.com/multiplay/lancache.git how to download compile and install nginx can we use the current version ? #how to apply this patch ? https://github.com/multiplay/nginx-range-cache.git exampleInstall nginx curl -o nginx-1.10.0.tar.gz http://nginx.org/download/nginx-1.10.0.tar.gz #get patch files command ? cd ngnix-1.10.0 patch -p1 < ../nginx-range-cache/range_filter.patch ./configure #--with-range_cache_size --with-http_ssl_module --with-http_slice_module --#with-file-aio --with-threads make make install |
did it patch correct ? what is the correct ./configure command ? |
ok applied the zip that was sent now I am getting this ===> License BSD2CLAUSE accepted by the user Stop. Stop. |
===> License BSD2CLAUSE accepted by the user |
mkdir /usr/portbuild/ cd /usr/portbuild/www/nginx/work wget "https://codeload.github.com/wandenberg/nginx-push-stream-module/tar.gz/0.5.1?dummy=/wandenberg-nginx-push-stream-module-0.5.1_GH0.tar.gz" wget "http://labs.frickle.com/files/ngx_cache_purge-2.3.tar.gz" wget "https://codeload.github.com/multiplay/nginx-range-cache/tar.gz/0.2?dummy=/multiplay-nginx-range-cache-0.2_GH0.tar.gz" ./configure --add-module=/usr/portbuild/www/nginx/work/nginx-push-stream-module-0.5.1 ./configure --add-module=/usr/portbuild/www/nginx/work/ngx_cache_purge-2.3 ./configure --add-module=/usr/portbuild/www/nginx/work/nginx-range-cache-0.2 #cd to src location then run ./configure --prefix=/usr/local/etc/nginx --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --user=www --group=www --modules-path=/usr/local/libexec/nginx --with-file-aio --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-scgi-temp-path=/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp --http-log-path=/var/log/nginx/access.log --add-module=/usr/portbuild/www/nginx/work/ngx_cache_purge-2.3 --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --add-module=/usr/portbuild/www/nginx/work/nginx-range-cache-0.2 --with-http_realip_module --with-http_slice_module --with-http_stub_status_module --with-pcre --with-http_v2_module --with-stream=dynamic --with-stream_ssl_module --with-stream_ssl_preread_module --with-http_ssl_module but getting this error about GD Library |
fixed the GD library with now on to this error |
#to fix the GeoIP library looking good |
getting this error now |
ok looking good still testing this is what I have so far pkg install GeoIP mkdir "/usr/portbuild/www/nginx/work" mkdir "/data/www/cache/installs" cd /usr/portbuild/www/nginx/work nano /boot/defaults/loader.conf tar zxvf "0.5.1?dummy=%2Fwandenberg-nginx-push-stream-module-0.5.1_GH0.tar.gz" wget "http://labs.frickle.com/files/ngx_cache_purge-2.3.tar.gz" tar zxvf "ngx_cache_purge-2.3.tar.gz" tar zxvf "0.2?dummy=%2Fmultiplay-nginx-range-cache-0.2_GH0.tar.gz" ./configure --add-module=/usr/portbuild/www/nginx/work/nginx-push-stream-module-0.5.1 ./configure --add-module=/usr/portbuild/www/nginx/work/ngx_cache_purge-2.3 ./configure --add-module=/usr/portbuild/www/nginx/work/nginx-range-cache-0.2 #./configure: error: the HTTP image filter module requires the GD library. #wget "https://github.com/libgd/libgd/releases/download/gd-2.2.5/libgd-2.2.5.tar.gz" #tar zxvf "gd-2.2.5/libgd-2.2.5.tar.gz" #cd libgd-2.2.5 #./configure #make #make install or pkg install libgd #cd to src location then run ./configure --prefix=/usr/local/etc/nginx --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --user=www --group=www --modules-path=/usr/local/libexec/nginx --with-file-aio --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-scgi-temp-path=/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp --http-log-path=/var/log/nginx/access.log --add-module=/usr/portbuild/www/nginx/work/ngx_cache_purge-2.3 --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --add-module=/usr/portbuild/www/nginx/work/nginx-range-cache-0.2 --with-http_realip_module --with-http_slice_module --with-http_stub_status_module --with-pcre --with-http_v2_module --with-stream=dynamic --with-stream_ssl_module --with-stream_ssl_preread_module --with-http_ssl_module make make install |
#how to apply this patch ? https://github.com/multiplay/nginx-range-cache
example
#Install nginx
curl http://nginx.org/download/nginx-1.10.0.tar.gz | tar zx
#where does the patch files go?
cd ngnix-1.10.0
./configure --with-range_cache_size --with-http_ssl_module --with-http_slice_module --with-file-aio --with-threads
make
sudo make install
The text was updated successfully, but these errors were encountered: