diff --git a/all/bash/activemq_run.sh b/all/bash/activemq_run.sh new file mode 100644 index 0000000..d4828d9 --- /dev/null +++ b/all/bash/activemq_run.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +echo "准备开启activemq服务" +cd /opt/tools/apache-activemq-5.15.0/bin +./activemq start +echo "activemq服务开启完毕" \ No newline at end of file diff --git a/all/bash/activemq_stop.sh b/all/bash/activemq_stop.sh new file mode 100644 index 0000000..52ed3ca --- /dev/null +++ b/all/bash/activemq_stop.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +echo "准备关闭activemq服务" +cd /opt/tools/apache-activemq-5.15.0/bin +./activemq stop +echo "activemq服务关闭完毕" \ No newline at end of file diff --git a/all/bash/redis-server_run.sh b/all/bash/redis-server_run.sh new file mode 100644 index 0000000..2139e9a --- /dev/null +++ b/all/bash/redis-server_run.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +echo "正在开启redis-server" +redis-server +echo "redis-server开启完毕" \ No newline at end of file diff --git a/all/bash/redis_cli_run.sh b/all/bash/redis_cli_run.sh new file mode 100644 index 0000000..be53348 --- /dev/null +++ b/all/bash/redis_cli_run.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +echo "准备开启redis-cli" +redis-cli -h 127.0.0.1 -p 6379 +echo "redis-cli开启完毕" \ No newline at end of file diff --git a/all/bash/vsftpd_run.sh b/all/bash/vsftpd_run.sh new file mode 100644 index 0000000..e910640 --- /dev/null +++ b/all/bash/vsftpd_run.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +echo "正在开启vsftpd服务" +systemctl start vsftpd +echo "vsftpd服务开启成功" \ No newline at end of file diff --git a/all/bash/vsftpd_stop.sh b/all/bash/vsftpd_stop.sh new file mode 100644 index 0000000..f405b57 --- /dev/null +++ b/all/bash/vsftpd_stop.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#!/usr/bin/env bash +echo "正在关闭vsftpd服务" +systemctl stop vsftpd +echo "vsftpd服务关闭成功" \ No newline at end of file