Shell脚本一键部署LNMP架构Shell脚本一键部署LNMP架构
Shell脚本一键部署LNMP架构具体安装流程:安装nginx→安装MySQL数据库→安装PHP工具#!/bin/bash#远程挂载df -hT | grep -o "cifs"if [ $? -ne 0 ];thenecho "Start mount"yum install expect -yread -p "请输入提供硬盘主机IP:" gongip/usr/bin/exp...