擐check linux臬血鋆php-mcrypt module9 n V' k7 T, i9 Z/ a
- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆
4 K& V- X2 A1 G: z0 V1 g! z雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:$ t: ^) k$ A }
for CentOS 6.x x86:
+ J) o! [* a+ c3 \8 J% Z% o* _- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
* g5 V3 t8 D- E2 ?; K, t) E# { - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
0 ^: X; t) q7 Z9 j# i, c - # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
r. d5 K, [+ n7 Y- d - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣
6 K4 u2 D2 g G4 ^1 e# D- @$ Mfor CentOS 6.x x64
. [& r% |+ A8 ~4 l+ D- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
( a' h5 c& q4 \4 L2 B - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
0 h- Z3 X3 Q$ ~ u - # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
+ ?8 {0 s6 x }8 s/ q R* H: @ - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿, J' z0 F! P# T: i: Y
- # yum install php-mcrypt
! z/ k& f u+ o, @( b' w - Loaded plugins: fastestmirror, refresh-packagekit
H& E5 h( y! i( L- D, O( u! m - Loading mirror speeds from cached hostfile
! Z4 e) ]# N8 L& N - Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 5 i' w$ v4 k, \2 ~. n5 ~ N
* g9 O" e5 E9 T6 L2 t潭
( u$ u0 E, I: K5 o8 K( p- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣 ( @4 f& O$ a9 s, D" W! O
撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:3 @; p1 [! K5 i
baseurl2 O" h% ^- `4 ]( g* b# G
#mirrorlist7 I1 m2 G& @- A) i
敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠
7 q: A7 @5 O0 \. a- K6 ]- s) L" N8 _7 O/ c! r
; v9 y! e* ]9 k6 y, m$ H
" b( C7 O" N) ~銝apacherestart嚗php-mcrypt module潛雿 |
|