安装nginx
yum install nginx -y
vim /etc/ngixn/nginx.conf
安装php
yum install php php-devel -y
安装php memcached 模块
yum install php-pear -y
yum install php-pecl-memcache -y
vim /etc/php.ini
添加如下模块
安装php-fpm
yum install php-fpm -y
vim /etc/php-fpm.d/www.conf
修改用户名与nginx同用户名
安装memcached
yum install memcached -y
systemctl start memcached
安装memadmin
wget http://www.junopen.com/memadmin/memadmin-1.0.12.tar.gz
tar zxvf memadmin-1.0.12.tar.gz
mv memadmin /var/www/html/
启动nginx
nginx
启动php-fpm
systemctl start php-fpm
访问http://ip/memadmin/index.php
用户名:admin
密码:admin