CentOS 7.x 通过yum install 安装 Mysql 8.x + Php7.2.x + supervisord + supervisord + redis + beanstalkd + Nginx 环境
rpm -ivh http://repo.mysql.com/mysql80-community-release-el7.rpm
yum install mysql-server
systemctl enable mysqld
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum -y install php72w php72w-cli php72w-common php72w-devel php72w-embedded php72w-fpm php72w-gd php72w-mbstring php72w-mysqlnd php72w-opcache php72w-pdo php72w-xml php72w-pecl-memcached php72w-pecl-redis
systemctl enable php-fpm
yum install supervisor
systemctl enable supervisord.service
yum install memcached
systemctl enable memcached
vi /etc/sysconfig/memcached
PORT="11211"
USER="memcached"
MAXCONN="1024"
CACHESIZE="64"
OPTIONS="-l 127.0.0.1"
yum install redis
systemctl enable redis
yum install beanstalkd
systemctl enable beanstalkd
vi /etc/sysconfig/beanstalkd 编辑配置
ADDR=-l 127.0.0.1
PORT=-p 11300
USER=-u beanstalkd
MAX_JOB_SIZE=-z 65535
BINLOG_DIR=-b /var/lib/beanstalkd/binlog
BINLOG_SIZE=-s 10485760
yum install nginx
systemctl enable nginx
无评论