centos下安装memcached

[root@localhost init.d]# 
[root@localhost init.d]# 
[root@localhost init.d]# 
[root@localhost init.d]# 
[root@localhost init.d]# cls
-bash: cls: command not found
[root@localhost init.d]# clear
[root@localhost init.d]# rpm -qa | grep yum
yum-fastestmirror-1.1.16-21.el5.centos
yum-metadata-parser-1.1.2-4.el5
yum-security-1.1.16-21.el5.centos
yum-3.2.22-40.el5.centos
yum-updatesd-0.9-5.el5
[root@localhost init.d]# 
[root@localhost init.d]# wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
--2013-10-12 06:51:30--  http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
Resolving docs.linuxtone.org... 117.79.157.57
Connecting to docs.linuxtone.org|117.79.157.57|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1426 (1.4K) [application/octet-stream]
Saving to: `CentOS-Base.repo'


100%[======================================>] 1,426       --.-K/s   in 0s      


2013-10-12 06:51:31 (61.8 MB/s) - `CentOS-Base.repo' saved [1426/1426]


[root@localhost init.d]# yum update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.neu.edu.cn
 * epel: mirrors.neusoft.edu.cn
 * extras: mirror.neu.edu.cn
 * updates: mirror.neu.edu.cn
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update
[root@localhost init.d]# yum makecache
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.neu.edu.cn
 * epel: mirrors.neusoft.edu.cn
 * extras: mirror.neu.edu.cn
 * updates: mirror.neu.edu.cn
base                                                     | 1.1 kB     00:00     
epel                                                     | 3.4 kB     00:00     
epel/filelists_db                                        | 5.6 MB     00:05     
epel/updateinfo                                          | 529 kB     00:00     
epel/other_db                                            | 2.4 MB     00:02     
epel/group_gz                                            | 167 kB     00:00     
extras                                                   | 2.1 kB     00:00     
updates                                                  | 1.9 kB     00:00     
Metadata Cache Created
[root@localhost init.d]# yum search mysql
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.neu.edu.cn
 * epel: mirrors.neusoft.edu.cn
 * extras: mirror.neu.edu.cn
 * updates: mirror.neu.edu.cn
================================ Matched: mysql ================================
libgda-mysql.x86_64 : MySQL provider for libgda
libgda-mysql-devel.i386 : MySQL provider for libgda pkgconfig file
libgda-mysql-devel.x86_64 : MySQL provider for libgda pkgconfig file
mod_auth_mysql.x86_64 : Basic authentication for the Apache web server using a
                      : MySQL database.
mysql-connector-java.x86_64 : Official JDBC driver for MySQL
pam_mysql.i386 : PAM module for auth UNIX users using MySQL data base
pam_mysql.x86_64 : PAM module for auth UNIX users using MySQL data base
qt-MySQL.x86_64 : MySQL drivers for Qt's SQL classes.
koffice-kexi-driver-mysql.x86_64 : Mysql-driver for kexi
MySQL-python.x86_64 : An interface to MySQL
MySQL-zrm.noarch : MySQL backup manager
apr-util-mysql.x86_64 : APR utility library MySQL DBD driver
bacula-director-common.x86_64 : Common Bacula Director files
bacula-director-mysql.x86_64 : Bacula Director with MySQL database support
bacula-storage-common.x86_64 : Common Bacula storage daemon files
bacula-storage-mysql.x86_64 : MySQL Bacula storage daemon files
bugzilla.noarch : Bug tracking system
bytefx-data-mysql.x86_64 : MySQL database connectivity for Mono
cacti.noarch : An rrd based graphing tool
callweaver-mysql.x86_64 : MySQL support for CallWeaver
collectd-mysql.x86_64 : MySQL module for collectd
dbmail.x86_64 : A database backed mail storage system
dbmail-mysql.x86_64 : A database backed mail storage system - mysql backend
dmlite-plugins-mysql.x86_64 : MySQL plugin for dmlite
dpm-copy-server-mysql.x86_64 : DPM copy server with MySQL database back-end
dpm-name-server-mysql.x86_64 : DPM name server with MySQL database back-end
dpm-server-mysql.x86_64 : Disk Pool Manager (DPM) server with MySQL database
                        : back-end
dpm-srm-server-mysql.x86_64 : DPM SRM server with MySQL database back-end
dspam-mysql.x86_64 : MySQL storage driver for libdspam
freeradius-mysql.x86_64 : MySQL bindings for freeradius
freeradius2-mysql.x86_64 : MySQL support for freeradius
gallery2.noarch : Customizable photo gallery web site
gnokii-smsd-mysql.x86_64 : MySQL support for Gnokii SMS daemon
holland-mysqldump.noarch : Logical mysqldump backup plugin for Holland
holland-mysqllvm.noarch : Holland LVM snapshot backup plugin for MySQL
holland-xtrabackup.noarch : Xtrabackup plugin for Holland
innotop.noarch : A MySQL and InnoDB monitor program
ipplan.noarch : Web-based IP address manager and tracker
lfc-server-mysql.x86_64 : LCG File Catalog (LFC) server with MySQL database
                        : back-end
libdbi-dbd-mysql.x86_64 : MySQL plugin for libdbi
libnss-mysql.i386 : NSS library for MySQL
libnss-mysql.x86_64 : NSS library for MySQL
lighttpd-mod_mysql_vhost.x86_64 : Virtual host module for lighttpd that uses a
                                : MySQL database
limph.noarch : A PHP5-compatible network host/service poller with web interface
lua-dbi.x86_64 : Database interface library for Lua
lua-sql.x86_64 : Database connectivity for the Lua programming language
lua-sql-mysql.x86_64 : MySQL database connectivity for the Lua programming
                     : language
maatkit.noarch : Essential command-line utilities for MySQL
mantis.noarch : Web-based issue tracking system
mydns-mysql.x86_64 : MyDNS compiled with MySQL support
mysql++.i386 : C++ wrapper for the MySQL C API
mysql++.x86_64 : C++ wrapper for the MySQL C API
mysql++-devel.i386 : MySQL++ developer files (headers, examples, etc.)
mysql++-devel.x86_64 : MySQL++ developer files (headers, examples, etc.)
mysql++-manuals.x86_64 : MySQL++ user and reference manuals
mysql.i386 : MySQL client programs and shared libraries
mysql.x86_64 : MySQL client programs and shared libraries
mysql-bench.x86_64 : MySQL benchmark scripts and data
mysql-connector-odbc.x86_64 : ODBC driver for MySQL
mysql-connector-odbc64.x86_64 : ODBC driver for MySQL
mysql-devel.i386 : Files for development of MySQL applications
mysql-devel.x86_64 : Files for development of MySQL applications
mysql-mmm.noarch : Multi-Master Replication Manager for MySQL
mysql-mmm-agent.noarch : MMM Database Server Agent Daemon and Libraries
mysql-mmm-monitor.noarch : MMM Monitor Server Daemon and Libraries
mysql-mmm-tools.noarch : MMM Control Scripts and Libraries
mysql-proxy.x86_64 : A proxy for the MySQL Client/Server protocol
mysql-server.x86_64 : The MySQL server and related files
mysql-test.x86_64 : The test suite distributed with MySQL
mysqlreport.noarch : A friendly report of important MySQL status values
mysqltuner.noarch : MySQL configuration assistant
mytop.noarch : A top clone for MySQL
nagios-plugins-mysql.x86_64 : Nagios Plugin - check_mysql
ndoutils-mysql.x86_64 : Contains the ndoutils ndo2db for mysql
ocsinventory.noarch : Open Computer and Software Inventory Next Generation
openscada-DB-MySQL.x86_64 : Open SCADA database
openser.x86_64 : Open Source SIP Server
openser-mysql.x86_64 : MySQL Storage Support for the OpenSER
opensips.x86_64 : Open Source SIP Server
opensips-mysql.x86_64 : MySQL Storage Support for the OpenSIPS
pam_mapi.i386 : PAM module for authentication via MAPI against a Zarafa server
pam_mapi.x86_64 : PAM module for authentication via MAPI against a Zarafa server
pdns-backend-mysql.x86_64 : MySQL backend for pdns
perl-Config-Extend-MySQL.noarch : Extend your favorite .INI parser module to
                                : read MySQL configuration file
perl-DBD-MySQL.x86_64 : A MySQL interface for perl
perl-DBIx-DBSchema.noarch : Database-independent schema objects
perl-DateTime-Format-MySQL.noarch : Parse and format MySQL dates and times
perl-Time-Piece-MySQL.noarch : MySQL-specific methods for Time::Piece
php-mysql.x86_64 : A module for PHP applications that use MySQL databases.
php-pdo.x86_64 : A database access abstraction module for PHP applications
php-pear-CodeGen.noarch : Framework to create code generators that operate on
                        : XML descriptions
php-pear-MDB2-Driver-mysql.noarch : MySQL MDB2 driver
php-voms-admin.noarch : Web based interface to control VOMS parameters written
                      : in PHP
php53-mysql.x86_64 : A module for PHP applications that use MySQL databases
php53-pdo.x86_64 : A database access abstraction module for PHP applications
phpMyAdmin.noarch : Handle the administration of MySQL over the World Wide Web
phpMyAdmin3.noarch : Handle the administration of MySQL over the World Wide Web
poco-mysql.i386 : The Data/MySQL POCO component
poco-mysql.x86_64 : The Data/MySQL POCO component
proftpd-mysql.x86_64 : Module to add MySQL support to the ProFTPD FTP server
pure-ftpd.x86_64 : Lightweight, fast and secure FTP server
pyicq-t-mysql.noarch : MySQL backend for ICQ transport
python-openid.noarch : Python OpenID libraries
python-shove.noarch : Common object storage frontend
python-sqlobject.noarch : SQLObject -Object-Relational Manager, aka database
                        : wrapper
python-storm.x86_64 : An object-relational mapper (ORM) for Python
python-storm-mysql.x86_64 : MySQL backend for python-storm
python26-mysqldb.x86_64 : An interface to MySQL
qt4-mysql.x86_64 : MySQL drivers for Qt's SQL classes
root-sql-mysql.x86_64 : MySQL client plugin for ROOT
roundcubemail.noarch : Round Cube Webmail is a browser-based multilingual IMAP
                     : client
rsyslog.x86_64 : Enhanced system logging and kernel message trapping daemon
rsyslog-mysql.x86_64 : MySQL support for rsyslog
rsyslog5.x86_64 : Enhanced system logging and kernel message trapping daemon
rsyslog5-mysql.x86_64 : MySQL support for rsyslog
ruby-mysql.x86_64 : A Ruby interface to MySQL
rubygem-rails.noarch : Web-application framework
soci-mysql.i386 : MySQL back-end for soci
soci-mysql.x86_64 : MySQL back-end for soci
soci-mysql-devel.i386 : MySQL back-end for soci
soci-mysql-devel.x86_64 : MySQL back-end for soci
sphinx.x86_64 : Free open-source SQL full-text search engine
sysbench.x86_64 : System performance benchmark
tcl-mysqltcl.x86_64 : MySQL interface for Tcl
unixODBC.i386 : A complete ODBC driver manager for Linux
unixODBC.x86_64 : A complete ODBC driver manager for Linux
unixODBC64.x86_64 : A complete ODBC driver manager for Linux
voms-mysql-plugin.x86_64 : VOMS server plugin for MySQL
zabbix20-proxy-mysql.x86_64 : Zabbix proxy compiled to use MySQL
zabbix20-server-mysql.x86_64 : Zabbix server compiled to use MySQL
zabbix20-web-mysql.x86_64 : Zabbix web frontend for MySQL
zikula.noarch : Zikula is a free open source Web Application Framework
[root@localhost init.d]# yum search memcached
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.neu.edu.cn
 * epel: mirrors.neusoft.edu.cn
 * extras: mirror.neu.edu.cn
 * updates: mirror.neu.edu.cn
============================== Matched: memcached ==============================
dmlite-plugins-memcache.x86_64 : Memcached plugin for dmlite
libmemcached.i386 : Client library and command line tools for memcached server
libmemcached.x86_64 : Client library and command line tools for memcached server
libmemcached-devel.i386 : Header files and development libraries for
                        : libmemcached
libmemcached-devel.x86_64 : Header files and development libraries for
                          : libmemcached
memcached.x86_64 : High Performance, Distributed Memory Object Cache
memcached-devel.i386 : Files needed for development using memcached protocol
memcached-devel.x86_64 : Files needed for development using memcached protocol
perl-Cache-Memcached.noarch : Perl client for memcached
php-pecl-memcache.x86_64 : Extension to work with the Memcached caching daemon
php-pecl-memcached.x86_64 : Extension to work with the Memcached caching daemon
python-memcached.noarch : A Python memcached client library
python-shove.noarch : Common object storage frontend
redis.x86_64 : A persistent key-value database
[root@localhost init.d]# 
[root@localhost init.d]# 
[root@localhost init.d]# yum install memcached
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.neu.edu.cn
 * epel: mirrors.neusoft.edu.cn
 * extras: mirror.neu.edu.cn
 * updates: mirror.neu.edu.cn
Setting up Install Process
Package memcached-1.4.5-1.el5.x86_64 already installed and latest version
Nothing to do
[root@localhost init.d]# rpm -uvh memcached-1.4.5-1.el5.x86_64
-uvh: unknown option
[root@localhost init.d]# rpm
RPM version 4.4.2.3
Copyright (C) 1998-2002 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL


Usage: rpm [-aKfgpWHqV] [-aKfgpWHqVcdils] [-aKfgpWHqVcdilsaKfgpWHqV] [-aKfgpWHqVcdilsaKfgpWHqV] [-aKfgpWHqVcdilsaKfgpWHqV] [-aKfgpWHqVcdilsaKfgpWHqVK] [-aKfgpWHqVcdilsaKfgpWHqVK] [-aKfgpWHqVcdilsaKfgpWHqVKi] [-aKfgpWHqVcdilsaKfgpWHqVKiv] [-aKfgpWHqVcdilsaKfgpWHqVKiv] [-aKfgpWHqVcdilsaKfgpWHqVKiv?] [-a|--all] [-f|--file] [-g|--group]
        [-p|--package] [-W|--ftswalk] [--pkgid] [--hdrid] [--fileid]
        [--specfile] [--triggeredby] [--whatrequires] [--whatprovides]
        [--nomanifest] [-c|--configfiles] [-d|--docfiles] [--dump] [-l|--list]
        [--queryformat=QUERYFORMAT] [-s|--state] [--nomd5] [--nofiles]
        [--nodeps] [--noscript] [--comfollow] [--logical] [--nochdir]
        [--nostat] [--physical] [--seedot] [--xdev] [--whiteout]
        [--addsign] [-K|--checksig] [--delsign] [--import] [--resign]
        [--nodigest] [--nosignature] [--initdb] [--rebuilddb] [--aid]
        [--allfiles] [--allmatches] [--badreloc] [-e|--erase +]
        [--excludedocs] [--excludepath=] [--fileconflicts] [--force]
        [-F|--freshen +] [-h|--hash] [--ignorearch] [--ignoreos]
        [--ignoresize] [-i|--install] [--justdb] [--nodeps] [--nomd5]
        [--nocontexts] [--noorder] [--nosuggest] [--noscripts]
        [--notriggers] [--oldpackage] [--percent] [--prefix=]
        [--relocate==] [--repackage] [--replacefiles]
        [--replacepkgs] [--test] [-U|--upgrade +] [--quiet]
        [-D|--define 'MACRO EXPR'] [-E|--eval 'EXPR'] [--macros=]
        [--nodigest] [--nosignature] [--rcfile=] [-r|--root ROOT]
        [--querytags] [--showrc] [--quiet] [-v|--verbose] [--version]
        [-?|--help] [--usage] [--scripts] [--setperms] [--setugids]
        [--conflicts] [--obsoletes] [--provides] [--requires] [--info]
        [--changelog] [--xml] [--triggers] [--last] [--dupes]
        [--filesbypkg] [--fileclass] [--filecolor] [--filecontext]
        [--fscontext] [--recontext] [--fileprovide] [--filerequire]
        [--redhatprovides] [--redhatrequires] [--buildpolicy=]
        [--with=

你可能感兴趣的:(NoSQL)