#1)Define the execution environment of the script #定义脚本的执行环境(执行脚本用英文)#!/usr/bin/bash#2) #号代表注释 #!是特例#3)脚本信息#Author: tang Xiaoming#Created time: 2019/05/07 11:46#Release: 1.0#Scrip Description: nginx install script#4)脚本组成#解释环境 /usr/bin/env bash |python|prel#注释说明#执行代码###nginx install code####yum -y install wget gcc pcre-devel zlib-devel#wget http://nginx.org/download/nginx-1.18.0.tar.gz#tar xf nginx-1.18.0.tar.gz#cd nginx-1.18.0#./configure --prefix=/usr/local/nginx#make -j 2#make install#5)运行脚本#1 给执行权限#2 解释器直接运行 不需要给权限echo \"hello word!\"#
解释环境是什么就用什么,bash就行了
后续,内容为特殊符号应用,完