擐check linux臬血鋆php-mcrypt module
' ]2 c' K5 [0 ~- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆
1 H% d. z* p' D n雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:
, N- `9 S5 C+ kfor CentOS 6.x x86:4 A& J. [, n/ i5 C
- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
; X4 J! U3 y( G* y( D$ r - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm: R+ |% p# O) u" r
- # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm# O+ Z: I% p+ t8 ~! R8 S3 b9 z
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣
3 S4 A5 w& H1 }' V* Y4 b3 _3 S5 hfor CentOS 6.x x646 x9 ?0 d/ r @# w/ o, p
- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm( ]; [! B- t7 a" k! h
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
- h. M1 ~' R( K/ G! L, k1 H - # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm0 U: w' \% y. o3 L; R! D! W
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿( U& @& {" O' K' f$ V: }
- # yum install php-mcrypt' Q0 \% x( X4 O* }# M
- Loaded plugins: fastestmirror, refresh-packagekit& V( d, f3 y8 R/ |! S$ j
- Loading mirror speeds from cached hostfile
' H4 ~- Y8 t9 ^# z - Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 1 a R* A4 l) l4 v+ |5 \
7 x' S7 f+ {% j k5 w- J3 O
潭/ h3 Z5 ^& l" G1 G& s3 S
- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣 + N8 W0 G w8 i( X
撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:
' j& V; B; w% G" j2 w2 n1 Lbaseurl
$ q* P5 ~+ t1 n5 c#mirrorlist
8 q6 D$ Y5 t5 n% J) G- c9 ~敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠
+ D) x r# u6 _" R9 y. i; ^- v7 y8 f
, p6 B0 h' Z+ U% I, i
- C; @# f+ f9 f! d7 F% A; K& v) }. b9 `+ i g5 F3 @
銝apacherestart嚗php-mcrypt module潛雿 |
|