Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- sudo yum install vim epel-release git nginx rsync wget zip unzip php70w php70w-opcache php70w-devel php70w-fpm php70w-common php70w-gd php70w-mysql php70w-mcrypt php70w-mbstring php70w-xml php70w-soap mariadb mariadb-server gcc g++ -y
- sudo systemctl enable nginx
- sudo systemctl enable firewalld
- sudo systemctl enable mariadb.service
- sudo systemctl enable php-fpm
- sudo systemctl start nginx
- sudo systemctl start firewalld
- sudo systemctl start mariadb.service
- sudo systemctl start php-fpm
- sudo firewall-cmd --permanent --zone=public --add-service=http
- sudo firewall-cmd --permanent --zone=public --add-service=https
- sudo firewall-cmd --permanent --zone=public --add-port=9502/tcp
- sudo firewall-cmd --reload
- sudo /usr/bin/mysql_secure_installation
- sudo vim /etc/selinux/config
- # swoole configure make make install
Add Comment
Please, Sign In to add comment