本文介绍在Debian 10(Buster)/Debian 9 Linux服务器上安装Ajenti控制面板(Ajenti Control Panel)的方法。由于在APT仓库中都可以使用所有软件包,因此只需很少的步骤即可在Debian 10/Debian 9上安装Ajenti,我们将更新系统并添加所需的存储库。
一、更新系统 确保系统和软件包已经更新,运行以下命令: sudo apt update sudo apt -y upgrade 建议升级后重新引导服务器: sudo reboot 参考:在Debian/Ubuntu上配置自动安全更新(无人值守升级)的方法。
二、安装python-imaging(仅限Debian 10) Ajenti依赖于python-imaging,但在APT存储库上不可用。 下载.deb软件包: wget http://security.ubuntu.com/ubuntu/pool/universe/p/pillow/python-imaging_4.1.1-3build2_all.deb 安装它: $ sudo pkg -i python-imaging_4.0.0-4_all.deb sudo: pkg: command not found debian@deb10:~$ sudo dpkg -i python-imaging_4.0.0-4_all.deb Selecting previously unselected package python-imaging. (Reading database ... 28519 files and directories currently installed.) Preparing to unpack python-imaging_4.0.0-4_all.deb ... Unpacking python-imaging (4.0.0-4) ... Setting up python-imaging (4.0.0-4) ...
三、安装Ajenti Control Panel 1、在Debian 10/Debian 9上安装Ajenti控制面板 可以选择安装Ajenti V2或Ajenti1.x,在本文中,我们将在Debian 10(Buster)上安装Ajenti v2: sudo apt -y install gnupg2 wget http://repo.ajenti.org/debian/key -O- | sudo apt-key add - echo "deb http://repo.ajenti.org/debian main main debian" | sudo tee /etc/apt/sources.list.d/ajenti.list 2、安装Ajenti控制面板(针对Debian 10) 添加存储库后,请使用以下命令安装Ajenti控制面板: sudo apt update sudo apt -y install ajenti 现在启动并启用Ajenti服务: sudo systemctl status ajenti sudo systemctl enable ajenti 默认情况下,Ajenti将侦听HTTPS端口8000:
使用以下信息登录到Ajenti: 默认用户名:root 默认密码:admin
至此,可以在Debian 10上运行Ajenti了。
相关主题 |