添加bash

This commit is contained in:
lsy
2017-10-03 12:03:21 +08:00
parent 1f38c6b537
commit cbe3e04cb6
6 changed files with 27 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
echo "准备开启activemq服务"
cd /opt/tools/apache-activemq-5.15.0/bin
./activemq start
echo "activemq服务开启完毕"
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
echo "准备关闭activemq服务"
cd /opt/tools/apache-activemq-5.15.0/bin
./activemq stop
echo "activemq服务关闭完毕"
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
echo "正在开启redis-server"
redis-server
echo "redis-server开启完毕"
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
echo "准备开启redis-cli"
redis-cli -h 127.0.0.1 -p 6379
echo "redis-cli开启完毕"
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
echo "正在开启vsftpd服务"
systemctl start vsftpd
echo "vsftpd服务开启成功"
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
#!/usr/bin/env bash
echo "正在关闭vsftpd服务"
systemctl stop vsftpd
echo "vsftpd服务关闭成功"