diff --git a/customize b/customize index 91825d0..9b57c43 100755 --- a/customize +++ b/customize @@ -21,22 +21,6 @@ mkdir -p /opt/local/etc/nginx/sites-available mkdir -p /opt/local/etc/nginx/globals mkdir -p /var/db/ssl -# build nginx in /root because /root gets cleaned up automatically -NGINXVERSION=1.7.4 -# PURGEVERSION=2.1 - -cd /root -curl -kLO http://nginx.org/download/nginx-${NGINXVERSION}.tar.gz -curl -kLO https://github.com/FRiCKLE/ngx_cache_purge/archive/master.zip -# curl -kLO http://labs.frickle.com/files/ngx_cache_purge-${PURGEVERSION}.tar.gz -tar -xvzf nginx-${NGINXVERSION}.tar.gz -unzip master.zip -# tar -xvzf ngx_cache_purge-${PURGEVERSION}.tar.gz -cd nginx-${NGINXVERSION} -# ./configure --user=www --group=www --with-ld-opt='-L/opt/local/lib -Wl,-R/opt/local/lib' --prefix=/opt/local --sbin-path=/opt/local/sbin --conf-path=/opt/local/etc/nginx/nginx.conf --pid-path=/var/db/nginx/nginx.pid --lock-path=/var/db/nginx/nginx.lock --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/db/nginx/client_body_temp --http-proxy-temp-path=/var/db/nginx/proxy_temp --http-fastcgi-temp-path=/var/db/nginx/fstcgi_temp --with-mail_ssl_module --with-http_ssl_module --with-http_dav_module --with-http_realip_module --with-ipv6 --with-http_stub_status_module --with-http_geoip_module --add-module=$HOME/ngx_cache_purge-${PURGEVERSION} --with-http_spdy_module -./configure --user=www --group=www --with-ld-opt='-L/opt/local/lib -Wl,-R/opt/local/lib' --prefix=/opt/local --sbin-path=/opt/local/sbin --conf-path=/opt/local/etc/nginx/nginx.conf --pid-path=/var/db/nginx/nginx.pid --lock-path=/var/db/nginx/nginx.lock --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/db/nginx/client_body_temp --http-proxy-temp-path=/var/db/nginx/proxy_temp --http-fastcgi-temp-path=/var/db/nginx/fstcgi_temp --with-mail_ssl_module --with-http_ssl_module --with-http_dav_module --with-http_realip_module --with-ipv6 --with-http_stub_status_module --with-http_geoip_module --add-module=$HOME/ngx_cache_purge-master --with-http_spdy_module -make -make install svcadm enable nginx svcadm enable php-fpm svcadm restart nginx