@@ -44,11 +44,14 @@ https://github.com/ssrpanel/ssrpanel/wiki/VPS%E6%8E%A8%E8%8D%90
4444| Sunny Woon| ¥10|
4545| aazzpp678 | ¥26|
4646| 风云_1688| ¥15|
47- 截止目前收到的捐赠:¥389
47+ | Royal| ¥25|
48+ 截止目前收到的捐赠:¥414
4849这些捐赠的用途:
49501.买了1台VPS做开发测试用
50512.一个Beyond Compare 4的正版激活码(2017-10-01)
51523.谢谢大家及时反馈BUG,发现BUG请提到issue里
53+ 4.感谢网友支持一个台Azure给我开发测试用
54+ 开发测试环境:http://13.76.162.123
5255
5356
5457#### PHP7环境配置
@@ -62,25 +65,22 @@ Laravel 5.4 + Metronic 4.7
6265````
6366cd /home/wwwroot/
6467git clone https://github.com/ssrpanel/ssrpanel.git
65- cd ssrpanel/
66- php composer.phar install
67- cp .env.example .env
68- php artisan key:generate
69- chown -R www:www storage/
70- chmod -R 777 storage/
71- ````
68+ ```
7269
73- #### 配置
70+ #### 配置数据库
7471````
7572mysql 创建一个数据库,然后自行导入sql\db.sql
76- config\app.php debug开始或者关闭调试模式
7773config\database.php mysql选项自行配置数据库
7874确保 storage/framework 下有 cache sessions views 三个目录,且 storage 有777权限
7975````
8076
81- #### 发送邮件配置
82- ````
83- config\mail.php 修改其中的配置
77+ #### 配置一下
78+ ```
79+ cd ssrpanel/
80+ php composer.phar install
81+ php artisan key:generate
82+ chown -R www:www storage/
83+ chmod -R 777 storage/
8484````
8585
8686#### NGINX配置文件加入
@@ -90,16 +90,31 @@ location / {
9090}
9191````
9292
93- #### 重新加载NGINX
93+ #### 重启NGINX和PHP-FPM
9494````
95- service nginx reload
95+ service nginx restart
96+ service php-fpm restart
9697````
9798
98- ## SSR服务端
99+ #### 出现500错误
99100````
100- 把 server 目录下的 ssr-3.4.0.zip 拷贝到 /root/,解压缩,怎么运行自己上网搜
101- 把 userapiconfig.py 里的 API_INTERFACE 设置为 glzjinmod
102- 把 user-config.json 里的 connect_verbose_info 设置为 1
101+ 理论上操作到上面那些步骤完了应该是可以正常访问网站了,如果网站出现500错误,请看WIKI,很有可能是fastcgi的错误
102+ 请看WIKI:https://github.com/ssrpanel/ssrpanel/wiki/%E5%87%BA%E7%8E%B0-open_basedir%E9%94%99%E8%AF%AF
103+ 修改完记得重启NGINX和PHP-FPM
104+ ````
105+
106+ ## 定时任务(所有自动发邮件的地方都要用到,所以请务必配置)
107+ ````
108+ 编辑crontab
109+ crontab -e
110+
111+ 然后加入如下(请自行修改ssrpanel路径)
112+ * * * * * php /home/wwwroot/ssrpanel/artisan schedule:run >> /dev/null 2>&1
113+ ````
114+
115+ #### 发送邮件配置
116+ ````
117+ config\mail.php 修改其中的配置
103118````
104119
105120## 日志分析(目前仅支持单机单节点)
@@ -111,13 +126,16 @@ ln -S ssserver.log /root/shadowsocksr/ssserver.log
111126chown www:www ssserver.log
112127````
113128
114- ## 定时任务(所有自动发邮件的地方都要用到,所以请务必配置)
129+ ## SSR
115130````
116- 编辑crontab
117- crontab -e
118-
119- 然后加入如下(请自行修改ssrpanel路径)
120- * * * * * php /home/wwwroot/ssrpanel/artisan schedule:run >> /dev/null 2>&1
131+ cp server/ssr-3.4.0.zip /root/
132+ cd /root
133+ unzip ssr-3.4.0.zip
134+ cd shadowsocksr
135+ sh initcfg.sh
136+ 把 userapiconfig.py 里的 API_INTERFACE 设置为 glzjinmod
137+ 把 user-config.json 里的 connect_verbose_info 设置为 1
138+ 配置 usermysql.json 里的数据库链接,NODE_ID就是节点ID,对应面板后台里添加的节点的自增ID
121139````
122140
123141## 说明
@@ -133,7 +151,6 @@ crontab -e
1331518.后台一键添加加密方式、混淆、协议
1341529.强大的后台配置功能
13515310.更多功能自己发掘
136- 11.ssrpanel的定位:比sspanel强大,比sspanel mod弱鸡
137154````
138155
139156![ Markdown] ( http://i4.bvimg.com/1949/aac73bf589fbd785.png )
0 commit comments