2 Star 1 Fork 18

等兔的风/VeryNginx

forked from 0ldm0s/VeryNginx 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install.passenger.sh 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
0ldm0s 提交于 2016-02-11 23:04 . 修复路径错误
#!/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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/diluga/VeryNginx.git
git@gitee.com:diluga/VeryNginx.git
diluga
VeryNginx
VeryNginx
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385