Memcached for Linux安装


安装环境:Oracle Linux 5.6
 
(1).尝试安装memcached失败,因缺少EPEL扩展包。
 [root@njdyw ~]# yum install memcached
 Loaded plugins: rhnplugin, security
 This system is not registered with ULN.
 ULN support will be disabled.
 Setting up Install Process
 No package memcached available.
 Nothing to do
 
(2).repolist检查
 [root@njdyw ~]# yum repolist
 Loaded plugins: rhnplugin, security
 This system is not registered with ULN.
 ULN support will be disabled.
 repolist: 0
 
(3).安装EPEL扩展包(Extra Packages for Enterprise Linux)
 [root@njdyw ~]# rpm -ivh http://dl.Fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
 Retrieving http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
 warning: /var/tmp/rpm-xfer.Bw4fvR: Header V3 DSA signature: NOKEY, key ID 217521f6
 Preparing...                ########################################### [100%]
    1:epel-release          ########################################### [100%]
   
 (4).repolist再次检查
 [root@njdyw ~]# yum repolist
 Loaded plugins: rhnplugin, security
 This system is not registered with ULN.
 ULN support will be disabled.
 epel                                                                                                        | 3.7 kB    00:00   
 epel/primary_db                                                                                              | 3.8 MB    00:16   
 repo id                                repo name                                                                      status
 epel                                  Extra Packages for Enterprise Linux 5 - x86_64                                enabled: 7,228
 repolist: 7,228
 
(5).再次安装memcached成功
 [root@njdyw ~]# yum install memcached
 Loaded plugins: rhnplugin, security
 This system is not registered with ULN.
 ULN support will be disabled.
 Setting up Install Process
 Resolving Dependencies
 --> Running transaction check
 ---> Package memcached.x86_64 0:1.4.5-1.el5 set to be updated
 --> Finished Dependency Resolution
 Dependencies Resolved
 ====================================================================================================================================
 Package                        Arch                        Version                              Repository                  Size
 ====================================================================================================================================
 Installing:
 memcached                      x86_64                      1.4.5-1.el5                          epel                        72 k
 Transaction Summary
 ====================================================================================================================================
 Install      1 Package(s)
 Upgrade      0 Package(s)
 Total download size: 72 k
 Is this ok [y/N]: y
 Downloading Packages:
 memcached-1.4.5-1.el5.x86_64.rpm                                                                            |  72 kB    00:01   
 warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
 epel/gpgkey                                                                                                  | 1.7 kB    00:00   
 Importing GPG key 0x217521F6 "Fedora EPEL <epel@fedoraproject.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
 Is this ok [y/N]: y
 Running rpm_check_debug
 Running Transaction Test
 Finished Transaction Test
 Transaction Test Succeeded
 Running Transaction
  Installing    : memcached                                                                                                    1/1
 Installed:
  memcached.x86_64 0:1.4.5-1.el5                                                                                                   
 Complete!
  • 1
  • 2
  • 下一页

相关内容