标签:一键部署 sql useradd param uip local system oca config
先下载好nginx安装包,解包之后可以执行下面的脚本,一键部署
cd nginx-1.12.2
useradd -s /sbin/nologin nginx
./configure
make
make install
yum -y install mariadb mariadb-server mariadb-devel
yum -y install php php-rpm php-mysql
sed -i ‘65,71s/#//‘ $file
sed -i ‘SCRUIPT_FILENAME/d‘ $file
sed -i ‘fastcgi_params/s/fastcgi_params/fastcgi.conf‘ $file
/usr/local/nginx/sbin/nginx
systemctl start php-fpm
systemctl start mariadb
标签:一键部署 sql useradd param uip local system oca config
原文地址:https://www.cnblogs.com/zgqbky/p/11656393.html