快速配置php7 + swoole + redis

安装lnmp

# wget http://soft.vpser.net/lnmp/lnmp1.4.tar.gz 
# tar zxvf lnmp1.4.tar.gz 
# cd lnmp1.4
# ./install.sh

安装redis拓展

# pecl install igbinary && pecl install redis

swoole安装准备工作

安装http2

# wget https://github.com/nghttp2/nghttp2/releases/download/v1.30.0/nghttp2-1.30.0.tar.bz2 
# tar -jxvf nghttp2-1.30.0.tar.bz2 
# cd nghttp2-1.30.0 
# ./configure 
# make 
# make install

安装postgresql

# yum install -y postgresql-devel

安装hiredis

# wget https://codeload.github.com/redis/hiredis/tar.gz/v0.13.3
# tar -zxvf v0.13.3 
# cd hiredis-0.13.3/
# make -j
# make install
# ldconfig 

安装swoole

# pecl install swoole

猜你喜欢

转载自www.cnblogs.com/lixingbaophp/p/8992725.html
今日推荐