You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
613 B
22 lines
613 B
2 years ago
|
#!/usr/bin/bash
|
||
|
|
||
|
printf "%-10s\t%-30s\t%-100s\n" 序号 功能 描述
|
||
|
printf "%-10s\t%-30s\t%-100s\n" "01" yum安装mysql 通过yum安装mysql数据库,支持5.5-8.0安装,处理了旧数据
|
||
|
printf "%-10s\t%-30s\t%-100s\n" "02" "系统初始化" "新系统初始化,安装了常用软件,进行了部分系统优化,检查相关信息,并修改静态ip地址"
|
||
|
printf "%-10s\t%-30s\t%-100s\n" "q" "退出脚本"
|
||
|
echo ""
|
||
|
read -p "请输入功能序号:" num
|
||
|
case $num in
|
||
|
01|1)
|
||
|
source ./mysql.sh
|
||
|
;;
|
||
|
02|2)
|
||
|
source ./osinit.sh
|
||
|
;;
|
||
|
q|Q|quit)
|
||
|
:
|
||
|
;;
|
||
|
*)
|
||
|
echo "该功能暂未添加,敬请期待"
|
||
|
esac
|