在centos6上安装Ajenti需要 EPEL 附加软件包
安装的办法:
centos32 / 64
## CentOS 6 32-Bit ## # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm ## CentOS 6 64-Bit ## # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm
如何确认已经安装完毕,输入:
# yum repolist
有这行出现就是ok:
epel Extra Packages for Enterprise Linux 6 - i386
注:使用EPEL选择安装最新最流弊的:
# yum --enablerepo=epel install xxxxxxxxx
安装完EPEL之后就可以进入正题,继续安装Ajenti
输入:
wget http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm rpm -i ajenti-repo-1.0-1.noarch.rpm
接着安装:
yum install ajenti
启动Ajenti:
service ajenti restart
Package does not match intended download?
yum clean metadata
安装并启动完毕后,用以下地址访问,注意如果iptables禁用了8000端口要记得去打开
https://ip-address:8000
默认的用户名 / 密码:
root / admin
CentOS 6 安装 Ajenti 前要先做什么?
先安装 EPEL 附加软件包,这是后续安装 Ajenti 的基础。文中分别给出 32 位和 64 位的 rpm 安装方式,装完后可用 yum repolist 检查是否出现 epel 源,确认成功再继续。
Ajenti 安装后怎么启动和访问?
先通过 yum install ajenti 完成安装,再执行 service ajenti restart 启动服务。随后用 https://ip-address:8000 访问面板;如果 iptables 拦住了 8000 端口,需要先放行,否则页面打不开。
提示 Package does not match intended download 怎么办?
文中给出的处理办法是执行 yum clean metadata,清理缓存后再重试安装或更新。这个报错通常和仓库元数据不一致有关,清理后能减少下载包校验失败的问题。







发表回复