代码拉取完成,页面将自动刷新
同步操作将从 0ldm0s/VeryNginx 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/sh
apt-get install -y software-properties-common
apt-get install -y python-software-properties
apt-add-repository ppa:brightbox/ruby-ng-experimental
apt-get update
apt-get install -y ruby2.2 ruby2.2-dev
apt-get install -y sqlite3
apt-get install libcurl4-openssl-dev
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7
apt-get install -y build-essential git-core bison openssl libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 autoconf libc6-dev libpcre3-dev curl libcurl4-nss-dev libxml2-dev libxslt-dev imagemagick nodejs libffi-dev
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7
apt-get install -y apt-transport-https ca-certificates
sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger trusty main > /etc/apt/sources.list.d/passenger.list'
apt-get update
apt-get install -y nginx-extras passenger
apt-get install -y nginx-extras
service nginx stop
mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.bak
cp ./nginx.passenger.conf /etc/nginx/nginx.conf
cp -r ./VeryNginx /etc/nginx/VeryNginx
service nginx start
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。