摘要:
1 安装依赖包yum install libevent livevent-devel nc -y 2 yum 安装memcachedyum install -y memcached 3 启动memecachedmemcached -m 16m -p 11211 -d -u root -c 8192 阅读全文
摘要:
mysql 主从1 更改主数据库配置文件cat > /etc/my.cnf <<EOF[mysqld]server-id=1log-binEOF 2 重启mysql/etc/init.d/mysqld restart 3 建立复制账号rep登录mysql grant replication slav 阅读全文