修复更新升级版本,会员投稿互换的 ,没有搭建 忘记截图了 ,看过演示网站是正常没问题的。具体大家自己可研究
centos7.6
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Nginx 1.2
mysql8.0
PHP7.2 Redis扩展
PHP禁用函数全部删除
网站运行目录/public
安装:supervisor
yum -y install supervisor
配置supervisor:
/etc/supervisord.conf
将files = relative/directory/*.ini改为files = /www/wwwroot/ebite/supervisor/*.conf
命令
supervisord -c /etc/supervisord.conf
supervisorctl restart all
伪静态:laravel5
nginx websocket端口转发配置:
location /ws {
proxy_pass http://127.0.0.1:7272;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “Upgrade”;
proxy_set_header X-Real-IP $remote_addr;
rewrite /ws/(.*) /$1 break;
proxy_redirect off;
}
172.17.0.1
常用命令
supervisorctl status
supervisorctl stop ispec
supervisorctl start ispec
supervisorctl restart ispec
supervisorctl reread
supervisorctl update
supervisorctl reload
/usr/bin/python /usr/bin/supervisord -c /etc/supervisord.conf
1.系统仅供学习研究,应在符合当前国家允许的法律许可下合法使用本站程序,如用户违法使用触发当地法律本站免责。
2. 本站服务器续费10年起,永不跑路,励志做全网最全最优质资源站
3. 站长承接所有资源的搭建,二次开发,技术支持等服务,欢迎咨询
4. 会员开通二次开发服务只接受Usdt支付,小白勿扰
5. 本站后期会屏蔽中国境内访问,请保存好本站域名并备好梯子
6. 如有链接无法下载、失效或广告,请联系管理员处理!
7. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!