memcache can't run as root without the -u switch
来源:互联网 发布:淘宝网手套男 编辑:程序博客网 时间:2024/05/16 01:56
memcached是一款高速、分布式的内存缓存系统。其官方主页在http://www.danga.com/memcached/
1。安装前的准备
要安装memcached,需要有libevent的支持。
centos通过
yum install libevent-devel
安装即可
其它版本可通过安装libevent的源文件获得
2。下载安装 目前最新版本为 memcached-1.2.6.tar.gz
cd /usr/src
wget http://www.danga.com/memcached/dist/memcached-1.2.6.tar.gz
tar xzf memcached-1.2.6.tar.gz
cd memcached-1.2.6
./configure --prefix=/usr/local/memcached
make
make install
3。启动
/usr/local/memcached/bin/memcached -d -m 512 -l 127.0.0.1 -p 10000 -u root
表示已守护进程的方式启动,监听于 127.0.0.1 的10000端口,使用root用户,最大使用512M内存
可以同时开多个memcached,但要监听在不同的端口.
说明:如果没有带 -u root 的话就会报:
can't run as root without the -u switch
解决:带-u root就行!
1。安装前的准备
要安装memcached,需要有libevent的支持。
centos通过
yum install libevent-devel
安装即可
其它版本可通过安装libevent的源文件获得
2。下载安装 目前最新版本为 memcached-1.2.6.tar.gz
cd /usr/src
wget http://www.danga.com/memcached/dist/memcached-1.2.6.tar.gz
tar xzf memcached-1.2.6.tar.gz
cd memcached-1.2.6
./configure --prefix=/usr/local/memcached
make
make install
3。启动
/usr/local/memcached/bin/memcached -d -m 512 -l 127.0.0.1 -p 10000 -u root
表示已守护进程的方式启动,监听于 127.0.0.1 的10000端口,使用root用户,最大使用512M内存
可以同时开多个memcached,但要监听在不同的端口.
说明:如果没有带 -u root 的话就会报:
can't run as root without the -u switch
解决:带-u root就行!
0 0
- memcache can't run as root without the -u switch
- chromium can not run as root
- don't run elasticsearch as root.
- don't run elasticsearch as root.
- don't run elasticsearch as root
- don't run elasticsearch as root
- Can't Change to Run as User 'Mysql'. Please Check That the User Exists!
- Can't change to run as user 'mysql' Please check that the user exists
- Google Chrome can not be run as root 解决办法
- Google Chrome can not be run as root (redhat6)
- ubuntu Google Chrome can not be run as root
- google-chrome can not be run as root
- ubuntu13.10: google chrome can not be run as root
- Chromium can not be run as root错误
- google chrome can not be run as root
- ubuntu google chorme can not be run as root
- can not run elasticsearch as root at org.elasticsearch.boots
- ElasticSearch中don't run elasticsearch as root
- 美国2016年大选希拉里和小布什弟弟成热门
- linux 重启网络服务(克隆虚拟主机问题)
- spark培训视频
- SOJ-1640 Zig-Zag
- [Linux]Fedora 20 sublime text 安装
- memcache can't run as root without the -u switch
- [Unity3D]playMaker插件
- ios iAd
- 1、安装: Centos 5.5下安装samba,具体步骤如下:
- SQL注入攻击
- phpadmin的安装与使用
- Java数据库编程
- Open Class
- JAVA算法之 二分查找法<又称折半查找>