rpmforge 中 apt.sw.be 源丢失的解决方案
CentOS 6.X 系统在安装erlang中,会用到apt.sw.be源,而此源的资源已经丢失,导致大家在安装过程中出现问题。
从百度搜到的CentOS 6,x自动安装erlang的链接中,都是指向这个apt.sw.be链接。
这里我找到了另外一个替代apt.sw.be源的链接。
具体的操作如下:
[root@localhost ~]# uname -ra Linux localhost.localdomain 2.6.32-431.el6.i686 #1 SMP Fri Nov 22 00:26:36 UTC 2013 i686 i686 i386 GNU/Linux #### 安装Erlang #### [root@localhost ~]# history [root@localhost ~]# yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel gcc gcc-c++ zlib zlib-devel [root@localhost ~]# wget -c http://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm [root@localhost ~]# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm [root@localhost ~]# rpm --import http://www.mirrorservice.org/sites/apt.sw.be/RPM-GPG-KEY.dag.txt [root@localhost ~]# rpm --import http://binaries.erlang-solutions.com/debian/erlang_solutions.asc [root@localhost ~]# wget -O /etc/yum.repos.d/erlang_solutions.repo http://binaries.erlang-solutions.com/rpm/centos/erlang_solutions.repo [root@localhost ~]# yum update [root@localhost ~]# yum install erlang
运行完毕后,erlang就可以直接安装成功,不需要再自己编译了,很是方便啊。。
以此备注。。。