Memached搭建
2016-06-17 15:56
162 查看
独立搭一台建memached
[root@nginx2 ~]# ls /software/
libevent-2.0.20-stable.tar.gz memcached-1.4.24.tar.gz
[root@nginx2 ~]# cd /software/
[root@nginx2 software]# tar zxf libevent-2.0.20-stable.tar.gz
[root@nginx2 software]# cd libevent-2.0.20-stable
[root@nginx2 libevent-2.0.20-stable]# ./configure
[root@nginx2 libevent-2.0.20-stable]# make && make install
[root@nginx2 libevent-2.0.20-stable]# echo "/usr/local/lib" > /etc/ld.so.conf.d/libevent.conf
[root@nginx2 libevent-2.0.20-stable]# ldconfig
[root@nginx2 libevent-2.0.20-stable]# ldconfig -v | grep --color libevent
[root@nginx2 libevent-2.0.20-stable]# cd /software
[root@nginx2 software]# tar zxf memcached-1.4.24.tar.gz
[root@nginx2 software]# cd memcached-1.4.24
[root@nginx2 memcached-1.4.24]# ./configure
[root@nginx2 memcached-1.4.24]# make && make install
[root@nginx2 memcached-1.4.24]# cd /usr/local/bin
[root@nginx2 bin]# ./memcached -l 192.168.1.1 -u root -c 200 -m 500M -n 10 -f 2 -d
[root@nginx2 bin]# netstat -tulnp | grep 11211
[root@nginx2 ~]# ls /software/
libevent-2.0.20-stable.tar.gz memcached-1.4.24.tar.gz
[root@nginx2 ~]# cd /software/
[root@nginx2 software]# tar zxf libevent-2.0.20-stable.tar.gz
[root@nginx2 software]# cd libevent-2.0.20-stable
[root@nginx2 libevent-2.0.20-stable]# ./configure
[root@nginx2 libevent-2.0.20-stable]# make && make install
[root@nginx2 libevent-2.0.20-stable]# echo "/usr/local/lib" > /etc/ld.so.conf.d/libevent.conf
[root@nginx2 libevent-2.0.20-stable]# ldconfig
[root@nginx2 libevent-2.0.20-stable]# ldconfig -v | grep --color libevent
[root@nginx2 libevent-2.0.20-stable]# cd /software
[root@nginx2 software]# tar zxf memcached-1.4.24.tar.gz
[root@nginx2 software]# cd memcached-1.4.24
[root@nginx2 memcached-1.4.24]# ./configure
[root@nginx2 memcached-1.4.24]# make && make install
[root@nginx2 memcached-1.4.24]# cd /usr/local/bin
[root@nginx2 bin]# ./memcached -l 192.168.1.1 -u root -c 200 -m 500M -n 10 -f 2 -d
[root@nginx2 bin]# netstat -tulnp | grep 11211
相关文章推荐
- mssql2005数据库镜像搭建教程
- Redis 集群搭建和简单使用教程
- 搭建SSH时的思考和遇到的几个问题的解决方法
- 推荐一个比较不错简单的php运行平台软件PHPnow 搭建 PHP 环境[安装图文教程]
- 浅谈本地WAMP环境的搭建
- Windows下搭建apache、php、mysql过程分享
- ASP.NET 之 MVC框架及搭建教程(推荐)
- 从零开始搭建MySQL MMM架构
- 快速使用Bootstrap搭建传送带
- Centos6.5和Centos7 php环境搭建方法
- asp.net 学习之路 项目整体框架简单的搭建
- 使用ASP.NET.4.5.1+MVC5.0 搭建一个包含 Ninject框架 项目
- Ubuntu中搭建Nginx、PHP环境最简单的方法
- Python开发之快速搭建自动回复微信公众号功能
- Ubuntu搭建Java开发环境笔记
- Linux环境下nginx搭建简易图片服务器
- Hadoop伪分布配置与基于Eclipse开发环境搭建
- CentOS 7 YUM 搭建Kubernetes 1.0
- Mac OS 搭建phonegap开发环境
- Docker私有仓库Registry V2 搭建(附带CA证书自签名)