如何在 Rocky Linux 9 上安装 aaPanel

Linux命令 Edge插件网 2年前 (2023-03-04) 510次浏览 已收录 0个评论

aaPanel是一个免费的开源托管控制面板,只需单击一下即可轻松安装LANMP / LAMP(Linux Apache / Nginx,MySQL,PHP)和OpenLiteSpeed。作为一个基于 Web 的 GUI 控制面板,它凭借其广泛的功能可以轻松管理远程和本地机器。如何在 Rocky Linux 9 上安装 aaPanel

在 Rocky Linux 9 上安装 aaPanel

第 1 步。第一步是将系统更新到最新版本的软件包列表。为此,请运行以下命令:

<span class="pln">sudo dnf check</span><span class="pun">-</span><span class="pln">update
sudo dnf install dnf</span><span class="pun">-</span><span class="pln">utils</span>

第 2 步。在 Rocky Linux 9安装 aaPanel

默认情况下,aaPanel 在 Rocky Linux 9 基础存储库中不可用。现在运行以下命令,将 aaPanel 脚本安装下载到您的 Rocky Linux 系统:

<span class="pln">curl </span><span class="pun">-</span><span class="pln">sSO http</span><span class="pun">:</span><span class="com">//www.aapanel.com/script/new_install_en.sh</span>

下载完成后,在 Rocky Linux 上运行安装程序脚本:

<span class="pln">sudo bash new_install_en</span><span class="pun">.</span><span class="pln">sh forum</span>

输出:

<span class="pun">+----------------------------------------------------------------------</span>
<span class="pun">|</span><span class="pln"> aaPanel </span><span class="lit">6.8</span><span class="pln"> FOR </span><span class="typ">CentOS</span><span class="pun">/</span><span class="typ">Ubuntu</span><span class="pun">/</span><span class="typ">Debian</span>
<span class="pun">+----------------------------------------------------------------------</span>
<span class="pun">|</span> <span class="typ">Copyright</span> <span class="pun">©</span> <span class="lit">2015</span><span class="pun">-</span><span class="lit">2099</span><span class="pln"> BT</span><span class="pun">-</span><span class="pln">SOFT</span><span class="pun">(</span><span class="pln">http</span><span class="pun">:</span><span class="com">//www.aapanel.com) All rights reserved.</span>
<span class="pun">+----------------------------------------------------------------------</span>
<span class="pun">|</span> <span class="typ">The</span> <span class="typ">WebPanel</span><span class="pln"> URL will be http</span><span class="pun">:</span><span class="com">//SERVER_IP:8888 when installed.</span>
<span class="pun">+----------------------------------------------------------------------</span>

<span class="typ">Do</span><span class="pln"> you want to install aaPanel to the </span><span class="pun">/</span><span class="pln">www directory now</span><span class="pun">?(</span><span class="pln">y</span><span class="pun">/</span><span class="pln">n</span><span class="pun">):</span><span class="pln"> y
</span><span class="pun">........</span>
<span class="typ">Dependencies</span><span class="pln"> resolved</span><span class="pun">.</span>
<span class="pun">=============================================================================</span>
 <span class="typ">Package</span>              <span class="typ">Arch</span>      <span class="typ">Version</span>                   <span class="typ">Repository</span>    <span class="typ">Size</span>
<span class="pun">=============================================================================</span>
<span class="typ">Installing</span><span class="pun">:</span><span class="pln">
 gcc                  x86_64    </span><span class="lit">8.5</span><span class="pun">.</span><span class="lit">0</span><span class="pun">-</span><span class="lit">4.el8_5</span><span class="pln">             appstream     </span><span class="lit">24</span><span class="pln"> M
</span><span class="typ">Upgrading</span><span class="pun">:</span><span class="pln">
 glibc                x86_64    </span><span class="lit">2.28</span><span class="pun">-</span><span class="lit">164.el8</span><span class="pln">              baseos       </span><span class="lit">4.6</span><span class="pln"> M
 glibc</span><span class="pun">-</span><span class="pln">common         x86_64    </span><span class="lit">2.28</span><span class="pun">-</span><span class="lit">164.el8</span><span class="pln">              baseos       </span><span class="lit">1.3</span><span class="pln"> M
 glibc</span><span class="pun">-</span><span class="pln">langpack</span><span class="pun">-</span><span class="pln">en    x86_64    </span><span class="lit">2.28</span><span class="pun">-</span><span class="lit">164.el8</span><span class="pln">              baseos       </span><span class="lit">827</span><span class="pln"> k
 libgcc               x86_64    </span><span class="lit">8.5</span><span class="pun">.</span><span class="lit">0</span><span class="pun">-</span><span class="lit">4.el8_5</span><span class="pln">             baseos        </span><span class="lit">78</span><span class="pln"> k
 libgomp              x86_64    </span><span class="lit">8.5</span><span class="pun">.</span><span class="lit">0</span><span class="pun">-</span><span class="lit">4.el8_5</span><span class="pln">             baseos       </span><span class="lit">215</span><span class="pln"> k
 libxcrypt            x86_64    </span><span class="lit">4.1</span><span class="pun">.</span><span class="lit">1</span><span class="pun">-</span><span class="lit">6.el8</span><span class="pln">               baseos        </span><span class="lit">76</span><span class="pln"> k
</span><span class="typ">Installing</span><span class="pln"> dependencies</span><span class="pun">:</span><span class="pln">
 cpp                  x86_64    </span><span class="lit">8.5</span><span class="pun">.</span><span class="lit">0</span><span class="pun">-</span><span class="lit">4.el8_5</span><span class="pln">             appstream     </span><span class="lit">12</span><span class="pln"> M
 glibc</span><span class="pun">-</span><span class="pln">devel          x86_64    </span><span class="lit">2.28</span><span class="pun">-</span><span class="lit">164.el8</span><span class="pln">              baseos       </span><span class="lit">2.0</span><span class="pln"> M
 glibc</span><span class="pun">-</span><span class="pln">headers        x86_64    </span><span class="lit">2.28</span><span class="pun">-</span><span class="lit">164.el8</span><span class="pln">              baseos       </span><span class="lit">512</span><span class="pln"> k
 isl                  x86_64    </span><span class="lit">0.16</span><span class="pun">.</span><span class="lit">1</span><span class="pun">-</span><span class="lit">6.el8</span><span class="pln">              appstream    </span><span class="lit">908</span><span class="pln"> k
 kernel</span><span class="pun">-</span><span class="pln">headers       x86_64    </span><span class="lit">4.18</span><span class="pun">.</span><span class="lit">0</span><span class="pun">-</span><span class="lit">348.2</span><span class="pun">.</span><span class="lit">1.el8_5</span><span class="pln">      baseos       </span><span class="lit">8.6</span><span class="pln"> M
 libxcrypt</span><span class="pun">-</span><span class="pln">devel      x86_64    </span><span class="lit">4.1</span><span class="pun">.</span><span class="lit">1</span><span class="pun">-</span><span class="lit">6.el8</span><span class="pln">               baseos        </span><span class="lit">26</span><span class="pln"> k

</span><span class="typ">Transaction</span> <span class="typ">Summary</span>
<span class="pun">======================================</span>
<span class="pun">.................</span>
<span class="typ">Complete</span><span class="pun">!</span><span class="pln">
success
</span><span class="pun">==================================================================</span>
<span class="typ">Congratulations</span><span class="pun">!</span> <span class="typ">Installed</span><span class="pln"> successfully</span><span class="pun">!</span>
<span class="pun">==================================================================</span><span class="pln">
aaPanel </span><span class="typ">Internet</span> <span class="typ">Address</span><span class="pun">:</span><span class="pln"> http</span><span class="pun">:</span><span class="com">//192.168.1.124:8888/e3ada478</span><span class="pln">
aaPanel </span><span class="typ">Internal</span> <span class="typ">Address</span><span class="pun">:</span><span class="pln"> http</span><span class="pun">:</span><span class="com">//192.168.1.123:8888/e3ada478</span><span class="pln">
username</span><span class="pun">:</span><span class="pln"> meilan4
password</span><span class="pun">:</span><span class="pln"> mari4
</span><span class="typ">Warning</span><span class="pun">:</span>
<span class="typ">If</span><span class="pln"> you cannot access the panel</span><span class="pun">,</span><span class="pln"> 
release the following port </span><span class="pun">(</span><span class="lit">8888</span><span class="pun">|</span><span class="lit">888</span><span class="pun">|</span><span class="lit">80</span><span class="pun">|</span><span class="lit">443</span><span class="pun">|</span><span class="lit">20</span><span class="pun">|</span><span class="lit">21</span><span class="pun">)</span> <span class="kwd">in</span><span class="pln"> the security </span><span class="kwd">group</span>
<span class="pun">==================================================================</span>
<span class="typ">Time</span><span class="pln"> consumed</span><span class="pun">:</span> <span class="lit">4</span> <span class="typ">Minute</span><span class="pun">!</span>

第 3 步。配置防火墙。

默认情况下,aaPanel 侦听端口 8888。如果您的服务器上安装并配置了任何防火墙,则需要通过 firewalld 允许端口。您可以使用以下命令允许它们:

<span class="pln">sudo firewall</span><span class="pun">-</span><span class="pln">cmd </span><span class="pun">--</span><span class="kwd">add</span><span class="pun">-</span><span class="pln">port</span><span class="pun">=</span><span class="lit">8888</span><span class="pun">/</span><span class="pln">tcp </span><span class="pun">--</span><span class="pln">permanent
sudo firewall</span><span class="pun">-</span><span class="pln">cmd </span><span class="pun">--</span><span class="pln">reload</span>

有关安装防火墙的其他资源,请阅读下面的帖子:

  • 如何在 Rocky Linux √ 上安装 firewalld

第5步。访问 aaPanel Web UI。

成功安装后,打开 Web 浏览器并键入 URL 。您应该看到aaPanel登录页面:http://your-IP-address:8888

如何在 Rocky Linux 9 上安装 aaPanel

感谢您使用本教程在您的 Rocky Linux 9 系统上安装 aaPanel 免费和开源托管控制面板。有关其他帮助或有用信息,我们建议您查看aaPanel官方网站


Edge插件网 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:如何在 Rocky Linux 9 上安装 aaPanel
喜欢 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址