SS-Panel-Smarty-Edition详细安装配置教程

热门标签

, ,

日主题主题

简洁、安全、稳定、响应式布局多功能模板。

¥10 现在购买

特别声明:文章多为网络转载,资源使用一般不提供任何帮助,特殊资源除外,如有侵权请联系!

<p> SS-Panel-Smarty-Edition是一款SSR面板程序,前排友情提醒此面板有很多坑,只适合折腾或者是几个朋友间使用,不适合用在生产环境!</p><p>可能这个面板给我折腾的动力就在于有一个比较亮眼的节点负载实时监控的功能吧。。。</p><p>文章可能较长,分享一首音乐,可以边听边看。。。</p><div id="aplayer1" class="aplayer aplayer-withlrc" data-autoplay="false" data-preload="auto" data-theme="#5cb85c" data-songs="netease_songlist#:1638658" data-loop="all" data-order="list" data-_nonce="591c338fe944663b51e18f8bb3e71555" data-listmaxheight="349px"><div class="aplayer-body"><div class="aplayer-pic"><div class="aplayer-button aplayer-play"></div></div><div class="aplayer-info"><div class="aplayer-music"><span class="aplayer-title">Path To Happiness</span> <span class="aplayer-author">- Kondor</span></div><div class="aplayer-lrc"><div class="aplayer-lrc-contents"><p class="aplayer-lrc-current">此歌曲暂无歌词,请您欣赏</p></div></div><div class="aplayer-controller"><div class="aplayer-bar-wrap"><div class="aplayer-bar"><div class="aplayer-loaded"></div><div class="aplayer-played"></div></div></div><div class="aplayer-time"><span class="aplayer-time-inner"><span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">02:09</span> </span></p><div class="aplayer-volume-wrap"><button class="aplayer-icon aplayer-icon-volume-down" type="button"></button></p><div class="aplayer-volume-bar-wrap"><div class="aplayer-volume-bar"><div class="aplayer-volume"></div></div></div></div><p><button class="aplayer-icon aplayer-icon-loop" type="button"></button></div></div></div><div class="aplayer-notice"></div></div></div><p>准备一台VPS,系统选择CentOS7X64,使用Xshell以root用户身份登录到机器内。</p><p>首先给你的VPS安装一个宝塔WEB面板:</p><pre class="prettyprint"><span class="pln">yum install </span><span class="pun">-</span><span class="pln">y wget </span><span class="pun">&amp;&amp;</span><span class="pln"> wget </span><span class="pun">-</span><span class="pln">O install</span><span class="pun">.</span><span class="pln">sh http</span><span class="pun">:</span><span class="com">//download.bt.cn/install/install.sh &amp;&amp; sh install.sh</span></pre><p>接着用宝塔安装一个LNMP环境,组件如下:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-23-250.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>在安装环境的过程中,我们可以先把这个面板程序下载到本地:</p><p>https://github.com/Ahref-Group/SS-Panel-smarty-Edition/archive/smarty.zip</p><p>等LNMP环境装好,首先打开phpmyadmin:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-17-209.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>添加一个新的数据库,我这里就命名为ss好了:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-12-848.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>接着点用户,编辑如图所示用户的权限:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-02-012.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>点击登录信息,将Host改成任意主机,然后保留旧用户,最后点执行:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-36-265.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>回到之前的用户界面,编辑如图所示的用户:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-03-724.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>勾上全局权限,然后执行:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-17-223.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>此时进入到我们的ss数据库中,按如图导入面板程序的数据库文件:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-17-343.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>该数据库文件在sql/ss-panel.sql目录下。</p><p>回到宝塔面板中添加一个新站点,记住你的站点根目录:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-51-239.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>点击站点设置,配置一下伪静态规则:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-06-612.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>规则如下:</p><pre class="prettyprint"><span class="pln">location </span><span class="pun">~</span><span class="pln"> \.tpl$ </span><span class="pun">{</span><span class="pln"> deny all</span><span class="pun">;</span><span class="pun">}</span></pre><p>此时回到你的Xshell中去,进入到你的站点根目录:</p><pre class="prettyprint"><span class="pln">cd </span><span class="pun">/</span><span class="pln">www</span><span class="pun">/</span><span class="pln">wwwroot</span><span class="pun">/你的站点域名</span></pre><p>下载面板程序文件:</p><pre class="prettyprint"><span class="pln">git clone https</span><span class="pun">:</span><span class="com">//github.com/Ahref-Group/SS-Panel-smarty-Edition.git tmp &amp;&amp; mv tmp/.git . &amp;&amp; rm -rf tmp &amp;&amp; git reset --hard</span></pre><p>进入到lib目录:</p><pre class="prettyprint"><span class="pln">cd lib</span></pre><p>重命名配置文件:</p><pre class="prettyprint"><span class="pln">cp config</span><span class="pun">-</span><span class="pln">sample</span><span class="pun">.</span><span class="pln">php config</span><span class="pun">.</span><span class="pln">php</span></pre><p>进入到lib/Ss/Code目录:</p><pre class="prettyprint"><span class="pln">cd </span><span class="typ">Ss</span><span class="pun">/</span><span class="typ">Code</span></pre><p>重命名配置文件:</p><pre class="prettyprint"><span class="pln">cp config</span><span class="pun">-</span><span class="pln">sample</span><span class="pun">.</span><span class="pln">php config</span><span class="pun">.</span><span class="pln">php</span></pre><p>回到宝塔面板中,打开你的站点根目录下面的lib目录,编辑权限:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-04-105.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>给777:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-31-425.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>进入到这个lib目录中,编辑里面的config.php配置文件:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-23-127.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>修改配置文件内的数据库连接信息为你自己的:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-34-534.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>修改你的站点域名,注意域名后面一定要加/号:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-09-188.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>其他的配置按你自己的需要来修改吧,这里就不多做说明了。修改完成后保存配置文件。</p><p>此时使用浏览器打开你的站点,第一次应该会弹一些报错信息,但里面类似有一句中文“数据库创建成功、导入成功”之类的,接着重新刷新一下,你应该就可以看到这个面板的首页了:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-22-916.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>接下来开始填坑。</p><p>第一坑:</p><p>首先是这个面板的管理员账号不能直接注册得到,需要我们自己在数据库里面插入字段。</p><p>首先回到你的phpmyadmin中,打开invite_code这个表,插入如下图的数据:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-04-481.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>这样我们就生成了一个用户注册邀请码,邀请码为233</p><p>此时我们打开站点的注册页面,通过这个页面注册一个账号,注册完成后,打开ss_user_admin这个表,插入如下图的数据:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-59-637.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>这样我们就把刚才注册的账号提升为了管理员,此时就可以用这个账号登录面板的后台了。该面板后台登录地址:</p><pre class="prettyprint"><span class="pun">你的域名+/</span><span class="pln">admin</span></pre><p>登录界面:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-24-784.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>登录成功后的后台管理界面:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-33-890.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>至此,第一个坑我们算是填完了。</p><p>第二坑:</p><p>现在我们要在后台添加节点了,所以当你添加节点的时候应该会看到如下图的报错:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-40-861.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>很明显这个文件内的PHP代码语法有问题,所以我们打开对应的文件路径先看看是个什么情况:</p><p>https://github.com/Ahref-Group/SS-Panel-smarty-Edition/blob/smarty/admin/node_add.php</p><p>可以看到13行这段,明显多了两个英文逗号。。。</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-39-227.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>估计是写代码的时候这里估计还想着要加点什么功能,但是又没加上去或者是准备阉割掉什么功能后这里忘记改了,所以出了这么个BUG,解决办法很简单,找到我们的站点对应的文件,把这两个逗号删了即可:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-38-388.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>你们可以直接复制替换:</p><pre class="prettyprint"><span class="pln">$query </span><span class="pun">=</span><span class="pln"> $node</span><span class="pun">-&gt;</span><span class="typ">Add</span><span class="pun">(</span><span class="pln">$node_name</span><span class="pun">,</span><span class="pln">$node_type</span><span class="pun">,</span><span class="pln">$node_server</span><span class="pun">,</span><span class="pln">$node_info</span><span class="pun">,</span><span class="pln">$node_status</span><span class="pun">,</span><span class="pln">$node_order</span><span class="pun">,</span><span class="pln">$parameter</span><span class="pun">);</span></pre><p>现在我们就可以来正常打开页面添加节点信息了,请注意务必按照我如下图中的格式来填写节点信息:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-35-093.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>至此,这个坑也算是填完了吧。。。</p><p>第三坑:</p><p>在我们通过后台添加完节点信息后,回到前台的用户列表这块,你会发现又莫名其妙的报了个错:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-04-722.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>如果用户自己看不到节点配置信息,岂不是很蠢?那用户该怎么用我们的服务?所以很无奈,这个BUG也得修。</p><p>首先还是看下源文件:</p><p>https://github.com/Ahref-Group/SS-Panel-smarty-Edition/blob/smarty/user/node.php</p><p>看之前的报错可以断定有一个参数没被定义,问题出在这里:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-24-535.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>所以我这里就用个简单粗暴的办法解决,直接把未定义的参数删了,反正也没卵用,找到我们站点内对应的文件,把如下这串代码删除掉:</p><pre class="prettyprint"><span class="pln">$name </span><span class="pun">=</span><span class="pln"> $node</span><span class="pun">-&gt;</span><span class="typ">Name</span><span class="pun">();</span></pre><p>如图:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-37-496.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>现在来访问一下节点列表,发现可以访问了,不过头顶上方还是有一个警告错误:</p><p>Notice: Undefined variable: name in /www/wwwroot/xxxxxxx/user/node.php on line 54</p><p>看报错信息,还是之前的这个文件,问题在54行:</p><pre class="prettyprint"><span class="pln">$ssurl </span><span class="pun">=</span><span class="pln"> $server</span><span class="pun">.</span><span class="str">":"</span><span class="pun">.</span><span class="pln">$port</span><span class="pun">.</span><span class="str">":"</span><span class="pun">.</span><span class="pln">$protocol</span><span class="pun">.</span><span class="str">":"</span><span class="pun">.</span><span class="pln">$method</span><span class="pun">.</span><span class="str">":"</span><span class="pun">.</span><span class="pln">$obfs</span><span class="pun">.</span><span class="str">":"</span><span class="pun">.</span><span class="pln">base64_url_encode</span><span class="pun">(</span><span class="pln">$pass</span><span class="pun">).</span><span class="str">"/?obfsparam="</span><span class="pun">.</span><span class="pln">base64_url_encode</span><span class="pun">(</span><span class="pln">$parameter</span><span class="pun">).</span><span class="str">"&amp;protoparam="</span><span class="pun">.</span><span class="pln">base64_url_encode</span><span class="pun">(</span><span class="pln">$protoparam</span><span class="pun">).</span><span class="str">"&amp;remarks="</span><span class="pun">.</span><span class="pln">base64_url_encode</span><span class="pun">(</span><span class="pln">$name</span><span class="pun">).</span><span class="str">"&amp;group="</span><span class="pun">.</span><span class="pln">base64_url_encode</span><span class="pun">(</span><span class="str">'Groupname'</span><span class="pun">);</span></pre><p>修改成这样:</p><pre class="prettyprint"><span class="pln">$ssurl </span><span class="pun">=</span><span class="pln"> $server</span><span class="pun">.</span><span class="str">":"</span><span class="pun">.</span><span class="pln">$port</span><span class="pun">.</span><span class="str">":"</span><span class="pun">.</span><span class="pln">$protocol</span><span class="pun">.</span><span class="str">":"</span><span class="pun">.</span><span class="pln">$method</span><span class="pun">.</span><span class="str">":"</span><span class="pun">.</span><span class="pln">$obfs</span><span class="pun">.</span><span class="str">":"</span><span class="pun">.</span><span class="pln">base64_url_encode</span><span class="pun">(</span><span class="pln">$pass</span><span class="pun">).</span><span class="str">"/?obfsparam="</span><span class="pun">.</span><span class="pln">base64_url_encode</span><span class="pun">(</span><span class="pln">$parameter</span><span class="pun">).</span><span class="str">"&amp;protoparam="</span><span class="pun">.</span><span class="pln">base64_url_encode</span><span class="pun">(</span><span class="pln">$protoparam</span><span class="pun">).</span><span class="str">"&amp;group="</span><span class="pun">.</span><span class="pln">base64_url_encode</span><span class="pun">(</span><span class="str">'Groupname'</span><span class="pun">);</span></pre><p>现在再来看看节点列表,已经完全正常了:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-19-629.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>至此,坑基本算是填完了,然后就是后端的搭建了。</p><p>此面板貌似节点这块只支持SSR的none加密方式,所以和以往的后端搭建也有一点点不同。</p><p>首先我们先按常规方法安装SSR后端:</p><pre class="prettyprint"><span class="pln">cd </span><span class="pun">/</span><span class="pln">rootgit clone </span><span class="pun">-</span><span class="pln">b manyuser https</span><span class="pun">:</span><span class="com">//github.com/shadowsocksrr/shadowsocksr.git</span><span class="pln">cd shadowsocksr</span><span class="pun">./</span><span class="pln">setup_cymysql</span><span class="pun">.</span><span class="pln">sh</span><span class="pun">./</span><span class="pln">initcfg</span><span class="pun">.</span><span class="pln">shvi userapiconfig</span><span class="pun">.</span><span class="pln">py</span></pre><p>编辑usermysql.json,将数据库连接信息改成我们自己的:</p><pre class="prettyprint"><span class="pln">vi usermysql</span><span class="pun">.</span><span class="pln">json</span></pre><p>然后编辑user-config.json:</p><pre class="prettyprint"><span class="pln">vi user</span><span class="pun">-</span><span class="pln">config</span><span class="pun">.</span><span class="pln">json</span></pre><p>按如图填写(一定不能错!否则待会你的节点就无法正常连接):</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-27-565.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>因为此面板只支持SSR无加密连接,而又因为SSR这个无加密的特性,所以对应的配置只能如下:</p><pre class="prettyprint"><span class="str">"method"</span><span class="pun">:</span> <span class="str">"none"</span><span class="pun">,</span><span class="str">"protocol"</span><span class="pun">:</span> <span class="str">"auth_chain_a"</span><span class="pun">,</span><span class="str">"obfs"</span><span class="pun">:</span> <span class="str">"tls1.2_ticket_auth"</span><span class="pun">,</span></pre><p>在这样配置完成后,我们就可以把SSR后端放到后台运行了,先关闭防火墙:</p><pre class="prettyprint"><span class="pln">systemctl stop firewalld</span><span class="pun">.</span><span class="pln">service</span></pre><p>运行后端:</p><pre class="prettyprint"><span class="pun">./</span><span class="pln">run</span><span class="pun">.</span><span class="pln">sh</span></pre><p>接着我们来配置这个面板最大的特色功能:节点实时负载。</p><p>回到宝塔面板进入到我们的站点根目录可以找到一个名为serverinfo.py的文件,编辑它:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-00-821.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>按上图所示:</p><p>postrul填写你的站点域名。</p><p>server_id填写你这台机器上对应的节点ID</p><p>节点ID怎么看?在你的面板后台-管理节点:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-09-177.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>修改完成后,保存这个文件。</p><p>回到Xshell中,进入到你的站点根目录:</p><pre class="prettyprint"><span class="pln">cd </span><span class="pun">/</span><span class="pln">www</span><span class="pun">/</span><span class="pln">wwwroot</span><span class="pun">/你的站点域名</span></pre><p>安装screen:</p><pre class="prettyprint"><span class="pln">yum </span><span class="pun">-</span><span class="pln">y install screen</span></pre><p>运行serverinfo.py:</p><pre class="prettyprint"><span class="pln">screen </span><span class="pun">-</span><span class="pln">dmS serverinfo python serverinfo</span><span class="pun">.</span><span class="pln">py</span></pre><p>现在我们就可以在面板内扫描一下节点的二维码,来看看能不能正常使用了:</p><p><img class="img-thumbnail" src="https://lala.im/wp-content/uploads/2018/01/lala.im_2018-01-19-20-602.png" alt="SS-Panel-Smarty-Edition详细安装配置教程" caption="SS-Panel-Smarty-Edition详细安装配置教程" title="SS-Panel-Smarty-Edition详细安装配置教程"/></p><p>至此,这个面板的搭建就算大功告成了,至于面板内置的各种其他功能,比如充值码、邀请码、套餐设置什么的,你们有兴趣就自己研究下吧。</p><p>写在最后:</p><p>写这篇文章是因为看到这个博主的介绍:</p><blockquote class="wp-embedded-content" data-secret="bUfB3UktdF"><p><a href="http://www.hopol.cn/2016/09/599/">ShadowSocks多用户管理系统(SS-Panel-smarty-Edition+SSR+锐速)搭建教程</a></p></blockquote><p><iframe class="wp-embedded-content" title="《ShadowSocks多用户管理系统(SS-Panel-smarty-Edition+SSR+锐速)搭建教程》—HopoL's Blog" src="https://www.hopol.cn/2016/09/599/embed/#?secret=bUfB3UktdF" width="500" height="282" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" sandbox="allow-scripts" data-secret="bUfB3UktdF" data-mce-fragment="1"></iframe></p><p>然后看到他下面有几个网友提的问题,这篇博主没介绍完全,所以我就写了今天这篇文章。。。希望能帮助到需要的人,回见~ </p>
本文最后更新于2018年7月17日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!

未经允许不得转载:作者:yxy021598, 转载或复制请以 超链接形式 并注明出处 红柳客
原文地址:《SS-Panel-Smarty-Edition详细安装配置教程》 发布于2018-07-17

分享到:
赞(1) 打赏

评论 抢沙发

1 + 8 =


SS-Panel-Smarty-Edition详细安装配置教程

长按图片转发给朋友

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

Vieu4.0主题
专业打造轻量级个人企业风格博客主题!专注于前端开发,全站响应式布局自适应模板。
切换注册

登录

忘记密码 ?

您也可以使用第三方帐号快捷登录

Q Q 登 录
微 博 登 录
切换登录

注册