centos - 无法使用命令行在 centOS 上安装 eJabberd

标签 centos xmpp ejabberd

我正在尝试使用 ssh (putty) 在我的 CentOS 上安装 eJabberd。

我关注 this文章。

[root@server ~]# yum repolist
Loaded plugins: fastestmirror, tsflags, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 208.100.0.204
* base: centos.mirror.lstn.net
* epel: mirror.steadfast.net
* extras: mirror.cs.uwp.edu
* updates: mirror.cs.uwp.edu
repo id         repo name                                              status
EA4             EA4 ( EasyApache 4 )                                       23614
base            CentOS-6 - Base                                          6634+62
epel            Extra Packages for Enterprise Linux 6 - x86_64         11484+746
extras          CentOS-6 - Extras                                             63
updates         CentOS-6 - Updates                                        741+67
repolist: 42536
[root@server ~]#

我启用了 EPEL。然后我正在尝试安装 ejabberd。所以下面的输出来了
[root@server ~]# yum install ejabberd
Loaded plugins: fastestmirror, tsflags, universal-hooks
Setting up Install Process
Loading mirror speeds from cached hostfile
* EA4: 208.100.0.204
* base: centos.mirror.lstn.net
* epel: mirror.steadfast.net
* extras: mirror.cs.uwp.edu
* updates: mirror.cs.uwp.edu
No package ejabberd available.
Error: Nothing to do
[root@server ~]#

请帮我。我应该怎么办?

最佳答案

您可以使用另一种方法(ejabberd 软件包似乎不在 EPEL 上;至少我在 CentOS 6.x linux 机器上找不到它)。

通过 SSH 在 WHM 服务器上以 root 身份登录。然后这样做:

wget -c https://www.process-one.net/downloads/ejabberd/17.01/ejabberd-17.01-0.x86_64.rpm
rpm -Uhv ejabberd-17.01-0.x86_64.rpm

当然,如果您的操作系统是 32 位,那么您必须下载 .rpm 包的 32 位版本

关于centos - 无法使用命令行在 centOS 上安装 eJabberd,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41953510/

相关文章:

json - Collectd 的curl_json 插件不向 Graphite 发送数据

centos - 从 .tbz 文件中提取选定的文件

c++ - 使用 Gloox C/C++ 的 XMPP 握手流程

php - 以 root/普通用户身份运行 eJabberd 注册用户命令

xmpp - 如何在 XMPP ejabberd 服务器中使用 Rosters 访问所有用户

ruby-on-rails - 无法在 CentOS 上安装 Ruby

testing - 使用 Jmeter 和 Blazemeter 对 XMPP 聊天应用程序进行性能测试

ios - XMPPFramework - 群聊实现

erlang - 如何在 Erlang 中创建全局变量

php - Exec ("adduser myownuser") 无法在 CentOS 服务器上工作