Loading... <strong>说明:</strong><code>AMH</code>是由<code>Amysql</code>自主开发的国产免费开源虚拟主机面板,基于<code>Linux</code>、<code>Nginx</code>、<code>MySQL</code>、<code>PHP</code>环境运行,同时具有<code>SSH</code>命令与<code>Web</code>端维护管理<code>Nginx</code>、<code>MySQL</code>、<code>PHP</code>、主机、<code>FTP</code>等,相类似的面板还有宝塔,<code>VestaCP</code>等,都挺好用的,这里说下<code>loc</code>大佬发的<code>AMH4.5</code>安装教程。 <div data-unique="更新"></div> <h2>更新</h2> <ul> <li>更新<code>curl</code>为<code>curl-7.53.0</code>(如果内存没超过<code>1G</code>以上,不建议安装<code>Mysql5.7</code>以及以上系列数据库)。</li> <li>更新:<code>php-5.3.29</code>,<code>php-5.4.45</code>,<code>php-5.5.38</code>,<code>php-5.6.30</code>,<code>php-7.0.17</code>,<code>php-7.1.3</code>,<code>nginx-1.10.3</code>,<code>openssl-1.1.0e</code>,<code>mysql-5.5.54</code>,<code>mysql-5.6.35</code>,<code>mysql-5.7.17</code>,<code>mariadb-5.5.54</code>,<code>mariadb-10.1.21</code>。</li> </ul> <div data-unique="安装"></div> <h2>安装</h2> <strong>1、准备工作</strong> <pre><code class="hljs sql">yum <span class="hljs-keyword">install</span> -y wget yum <span class="hljs-keyword">install</span> -y vim </code></pre> 强烈建议先运行<code>screen</code>,防止<code>ssh</code>中断 <pre><code class="hljs cs">apt-<span class="hljs-keyword">get</span> install screen <span class="hljs-meta">#debian</span> yum -y install screen <span class="hljs-meta">#centos</span> screen -S amh </code></pre> <strong>2、安装脚本</strong> <code>Centos 5 .x</code>和<code>Centos 6.x</code>可直接运行以下命令: <pre><code class="hljs nginx"><span class="hljs-attribute">wget</span> http://www.sxsay.com/amh/amh.sh && chmod <span class="hljs-number">775</span> amh.sh && ./amh.sh <span class="hljs-number">2</span>>&<span class="hljs-number">1</span> | tee amh.log </code></pre> 备用地址: <pre><code class="hljs nginx"><span class="hljs-attribute">wget</span> --<span class="hljs-literal">no</span>-check-certificate https://www.moerats.com/usr/down/amh.sh && chmod <span class="hljs-number">775</span> amh.sh && ./amh.sh <span class="hljs-number">2</span>>&<span class="hljs-number">1</span> | tee amh.log </code></pre> <code>Centos 7.x</code>安装请先运行<code>ifconfig</code>,要是功能不全,就运行以下命令: <pre><code class="hljs sql">yum -y <span class="hljs-keyword">install</span> net-tools.x86_64</code></pre> 再一键运行上面的脚本,最后更改控制面板的端口(<code>8888</code>更改为你想要的端口): <pre><code class="hljs nginx"><span class="hljs-attribute">amh</span> SetParam amh amh_Listen <span class="hljs-number">8888</span> </code></pre> <strong>原文地址:</strong><a href="http://www.hostloc.com/thread-357168-1-1.html" target="_blank" rel="noopener noreferrer">http://www.hostloc.com/thread-357168-1-1.html</a> 最后修改:2022 年 08 月 02 日 © 允许规范转载 打赏 赞赏作者 赞 0 如果觉得我的文章对你有用,请随意赞赏