离线安装脚本[4]

centos7一键离线安装脚本-nginx

使用方法sh install_nginx.shinstall_nginx.sh接收$1参数,可指定安装路径,默认安装路径为/usr/localinstall_nginx.sh#!/bin/bashdirectory=$1current_dir=`pwd`function select

centos7一键离线安装脚本-mysql5.7

使用方法source install_mysql.shinstall_mysql.sh接收$1参数,设置mysql密码,默认密码为mysql初始密码,会打印出来。$2为安装路径,默认安装路径为/usr/local.$3为数据存储路径,默认安装路径为/usr/local/mysql/data.inst

centos7一键离线安装脚本-jdk.18

source install_jdk8.shinstall_jdk8.sh接收$1参数,可指定安装路径,默认安装路径为/usr/local