安装redis
下载
https://redis.io/download
make
make install prefix=/usr/local/redis
后台运行
daemonize yes
修改密码
requirepass 123456
绑定地址
bind 127.0.0.1
PHP扩展下载
http://pecl.php.net
启动redis(/usr/local/redis/bin)
./redis-server ./redis.conf
停止redis
redis-cli shutdown
pkill redis-server
安装git
下载
https://git-scm.com/download/linux
yum install -y gcc gcc-c++ zlib zlib-devel libcurl libcurl-devel
./configure --prefix=/usr/local/git
make && make install
下载composer
https://getcomposer.org/download