2. 安装宝塔以及宝塔安装插件
<p>为了方便、快捷的安装PyOne,推荐使用宝塔面板进行操作!当然能力强者可参考本文手动安装软件。</p>
<h3>安装宝塔</h3>
<p>参考宝塔安装页面操作:<a href="https://www.bt.cn/bbs/thread-1186-1-1.html"><a href="https://www.bt.cn/bbs/thread-1186-1-1.html">https://www.bt.cn/bbs/thread-1186-1-1.html</a></a></p>
<h3>宝塔安装插件</h3>
<p>上面安装好宝塔面板,登录宝塔面板。初次安装会提示安装LNMP或者LAMP,我们只需要勾选:<strong>Nginx</strong>即可。</p>
<p>然后到<strong>软件管理-运行环境-选择安装MongoDB和Redis</strong>。</p>
<p>整个安装过程<strong>预计需要30分钟</strong>!</p>
<p><img src="https://i.niupic.com/images/2019/07/26/_377.png" alt="" /></p>
<p><strong>总结本文</strong></p>
<ol>
<li>安装宝塔</li>
<li>在宝塔已经安装:<strong><code>Nginx</code>、<code>Redis</code>、<code>MongoDB</code></strong>。</li>
</ol>
<p><strong>备注</strong>
某些精简系统,可能由于没有安装sudo,Redis和MongoDB无法运行,可自行安装:</p>
<ul>
<li>Centos: <code>yum install sudo</code></li>
<li>Ubuntu/Debian: <code>apt-get install sudo</code></li>
</ul>