1.You'll likely need to install the development package for libevent

  • Ubuntu:apt-get install libevent-dev
  • Redhat/Fedora:yum install libevent-devel

Get

wget http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz
tar
-zxvf memcached-1.x.x.tar.gz
cd memcached
-1.x.x

Config

Optional install destination

If your compiling from source you likely want to specify a destination directory as well, replace /usr/local/memcached with whatever you fancy.

./configure --prefix=/usr/local/memcached

Make and install

make && make test
sudo make install

相关文章:

  • 2022-01-06
  • 2022-02-05
猜你喜欢
  • 2021-12-09
  • 2021-08-10
  • 2021-07-08
  • 2022-01-27
  • 2022-02-07
  • 2021-08-25
  • 2021-08-14
相关资源
相似解决方案