linux 自定义简单脚本文件
#docker 启动mysql
#!/bin/bash systemctl stop NetworkManager; service network restart; service docker start; docker start mysql;
chmod +x 赋予执行权限。在该目录下执行 ./****.sh 执行
#docker 启动mysql
#!/bin/bash systemctl stop NetworkManager; service network restart; service docker start; docker start mysql;
chmod +x 赋予执行权限。在该目录下执行 ./****.sh 执行