擐check linux臬血鋆php-mcrypt module9 f5 X8 _% V5 X; T3 C/ j
- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆; L& _$ `0 a+ ~, _( |2 R
雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:
- a$ @3 O! G8 c1 y3 B; d6 ofor CentOS 6.x x86:
; Q0 x7 [ S# `9 L. }1 L- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm! b# n: I0 m) n9 }3 G6 g; e% G
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
0 u' t! L6 b8 ]2 k - # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm" w9 d& H I9 h5 M" Q- i
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣
1 O, ^9 X# `/ W: E h& s; bfor CentOS 6.x x643 O- _+ N' B/ q
- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
% P1 ]2 I; m$ }2 r - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm# a6 Y0 R5 w: b% a8 m, S }
- # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm! G/ S+ m5 ~- l$ w8 M$ Q
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿
) z2 I% B) r5 }5 `# I! o" C8 i; |- # yum install php-mcrypt x7 `$ p0 i( I6 m: ~
- Loaded plugins: fastestmirror, refresh-packagekit1 J; l: Y+ j7 s; N8 |
- Loading mirror speeds from cached hostfile
) J5 f$ R$ }% i; K8 X - Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 6 _) O4 t5 T$ @+ y
9 o1 p+ u9 K! |# P9 x
潭# Z3 _% z) F* c; d* i9 {
- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣 % p w7 ~, x1 o
撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:; u: c ^1 ?2 I8 B, B: ]! m9 A: j
baseurl
$ ?& D3 M9 a* |1 U#mirrorlist
1 u5 _: D. X4 n) \2 \敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠
- I6 O# j6 `- c) t# x
* C- N$ A; e2 u, n
3 N/ V( J, u) A9 X9 Q0 m" A/ m) e2 S- K4 N) f
銝apacherestart嚗php-mcrypt module潛雿 |
|