06 2019 档案
摘要:1.在idea中用maven将程序打成jar,放到运行的目录中。 2.去github上面下载winsw: https://github.com/kohsuke/winsw/releases 3. 将WinSW.NET4.exe文件复制到java程序所在文件夹中 4.将java程序重命名,去掉名称中的
阅读全文
摘要:#!/bin/bash # this is a init script ping -c 1 -i 0.1 -W 1 baidu.com a=`echo $?` if [ ${a} == 0 ];then echo "network success" else echo "network failer" exit 2 fi systemctl stop firewalld ...
阅读全文