擐check linux臬血鋆php-mcrypt module8 e- ^1 b& _( p
- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆
( P: r! W- q+ \8 T雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:
' p" P. c: _8 f( t0 k$ _for CentOS 6.x x86:
m# U9 u) o. z4 O2 a X- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm" I) B0 w3 t$ Z! r+ o
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
" @% k! b* h E3 g# p" G0 M - # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
1 }7 ?6 n- G8 Q; @, F - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣
0 t; P! K' E9 ^7 L! M" @for CentOS 6.x x64) U# O1 i7 {* E# J8 A4 P8 I4 F
- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm, _( P2 K% J8 T3 @3 U, i/ W
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm& {3 s8 m; s, w
- # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
* x* v1 C( n5 y% D+ u& f: B- D - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿
( ^5 J" {& q0 H& k- # yum install php-mcrypt' d- ?" f: ]4 X
- Loaded plugins: fastestmirror, refresh-packagekit% `7 f" g2 r7 ]9 r2 w1 z
- Loading mirror speeds from cached hostfile
* Y* Y7 L9 ?+ \4 G5 Y9 e( P, j - Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 9 R6 W0 s. a* R7 f
9 L3 m) J) f% _, o z$ ^
潭
! U3 g# H$ U! G# ?- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣
2 g# @; P2 I* Q9 P撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:
$ y6 x+ S! {8 o& Y6 v5 Kbaseurl) T+ L" y. P5 j- M# q9 X5 y
#mirrorlist
6 g9 z# q/ ?9 m/ ? {敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠
3 G: ?$ [( D" [( [! [8 S& B7 n0 _* Y% x( X9 E
2 {7 O9 y/ U2 [; U8 D, X; t
$ o- k. f7 L9 k0 c- }銝apacherestart嚗php-mcrypt module潛雿 |
|