擐check linux臬血鋆php-mcrypt module
6 o3 T0 m Y, _) P3 A- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆
3 q2 M0 \. o" e) P/ G1 b& d雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:
1 l: B# C! s5 _7 kfor CentOS 6.x x86:- e& h9 F: [8 I+ H
- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
; K* a1 E0 @ Q - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
( C, f& h: y% U3 f/ c' D - # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm$ C7 }$ p \% z) Y3 d( V
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 " G/ ?8 D3 Z4 @# C9 W1 B w. V4 p
for CentOS 6.x x64
4 W ?3 A! @, i9 {1 m9 U7 p4 K- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
2 a I ~! P/ x @ - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm" a8 @2 w. I: J+ Z
- # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
' B4 D, H, R) \2 z$ Q A+ ^) [: G - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿
( {: @$ O5 ], L$ N a) I% {& {- # yum install php-mcrypt) j7 H0 t- Q1 F1 H# {6 O9 b
- Loaded plugins: fastestmirror, refresh-packagekit8 V' R- [! p+ G% I
- Loading mirror speeds from cached hostfile
% ^# Z5 Z5 W$ W1 i - Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣
2 }5 {) H$ x# F7 o6 ^9 K
0 [7 g# ^5 A" I1 M潭
3 r. |3 d; [( X( u- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣 $ Q1 [2 p3 `- o8 q+ `) u
撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:
' E8 Y: C7 p) y( t% d' ~baseurl
5 e' f% `( _4 b! ~% i#mirrorlist
/ S7 A7 k) F# {, Q: B敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠. N1 t' p Z. N9 E% \
3 q, G/ Q& C/ {- S
$ {! F# j+ O5 W6 X6 d/ d! }4 e" m- q; ^: \) p# V
銝apacherestart嚗php-mcrypt module潛雿 |
|