[研究] php-pear-Mail 安裝(CentOS 6.4 x64)
CentOS 6.4 的 yum 預設沒有 php-pear-Mail 套件
yum list | grep php-pear
只看到 php-pear.noarch 而已
解決方法:
連上
http://download.fedoraproject.org/pub/epel/6/
網站尋找最新版EPEL,例如
http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
安裝
wget http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm
yum -y install php-pear-Auth-SASL php-pear-Mail.noarch php-pear-Mail-Mime.noarch php-pear-Net-SMTP.noarch php-pear-Net-Socket.noarch
檢查
[root@hadoop1 hadoop-mapreduce-project]# yum list | grep php-pear-Mail
php-pear-Mail.noarch 1.2.0-1.el6 @epel
php-pear-Mail-Mime.noarch 1.8.4-1.el6 @epel
php-pear-Mail-mimeDecode.noarch 1.5.5-1.el6 epel
[root@hadoop1 hadoop-mapreduce-project]#
Fedora Wiki - EPEL
http://fedoraproject.org/wiki/EPEL
其他可以下載 epel-release-6-8.noarch.rpm 的地方
http://dl.fedoraproject.org/pub/epel/6/
http://www.rpmfind.net/linux/RPM/epel/6/
(完)
[研究] php-pear-Mail 安裝(CentOS 6.4 x86_64)
http://shaurong.blogspot.tw/2013/11/php-pear-mail-centos-64-x64.html
[研究] php-pear-Mail 安裝(CentOS 6.3 x86)
http://shaurong.blogspot.tw/2013/02/php-pear-mail-centos-63-x86.html
[研究] php-pear-Mail 安裝(CentOS 6.2 x86)
http://shaurong.blogspot.tw/2012/05/centos-62-php-pear-mail.html
沒有留言:
張貼留言