启动ssh服务
service sshd start
yum -y update
查看centos版本
centos 5 执行:
centos 6 执行:
yum安装php
安装完成
whereis php
启动php-fpm
安装Redis server
- > yum install wget make gcc gcc-c++ zlib-devel openssl openssl-devel
- > pcre-devel kernel keyutils patch perl
- >
- > mkdir /tmp/redis
- >
- > cd /tmp/redis
- >
- > wget http://download.redis.io/releases/redis-2.8.8.tar.gz
- >
- > tar xzf redis-*
- >
- > cd redis-*
- >
- > make
- >
- > sudo make install clean
- >
- > mkdir /etc/redis
- >
- > cp redis.conf /etc/redis/redis.conf
新闻热点
疑难解答