擐check linux臬血鋆php-mcrypt module
- n4 L6 Q" o# w& a- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆. p; z' B! V' P8 i
雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:
' W& Z# f" w! c4 M4 T5 q* ofor CentOS 6.x x86:
( y0 A- m! \- [: C* v- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm( H+ j5 j& O6 B
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm$ F+ {; M- p1 z
- # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
% P ]' Z( p; z - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣
( T8 R" K, n- L" R# }2 a# Xfor CentOS 6.x x64( |3 _% c9 F0 Z# \7 ^: V' K
- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
C* F% s1 e% L$ C( g9 c0 M% P - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
* Z! ^9 p+ H! J; v, s. a - # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
- z; a: o5 ^% O8 @ - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿, s( B% T5 u( {6 I2 u1 @
- # yum install php-mcrypt
3 f. h2 t6 j2 a/ H& D4 Q& i3 ? - Loaded plugins: fastestmirror, refresh-packagekit6 Z" k' d7 `8 z' h W
- Loading mirror speeds from cached hostfile
) B! B" w% m7 L6 Q6 v* y1 { - Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 * x& ^. Q$ _% G# v% E1 j. \
) y4 W& W m, _5 W. I潭0 @. e. E3 b U+ C
- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣
2 X, A% s7 Z3 b: P: V/ x( B: R撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:
! n+ m7 S2 {+ E, m6 \; fbaseurl5 z, [5 I) h3 f: G3 m- L! f
#mirrorlist
1 ^1 n7 D( }& D5 C2 C& P" W8 P敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠# }. B8 P3 P9 ]6 J& E
0 |# c( d4 F0 K- O1 g
7 T! ?$ p4 L- a7 Q9 ~% w3 }+ z
3 g( w7 }0 `7 ]" |9 A銝apacherestart嚗php-mcrypt module潛雿 |
|