linux
xshwlx
这个作者很懒,什么都没留下…
展开
-
重启 shell脚本
参考 :http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=3602889&page=2 平时在做系统部署时候经常用到重启APP或web 的sh 脚本,但今天写了个脚本如下 : [code="java"]pidlist=`ps -ef|grep jenkins | grep -v "grep"|awk '{print $2}...原创 2014-05-26 12:47:08 · 331 阅读 · 0 评论 -
linux 用户环境变量设置
远程命令执行 报错 : /usr/bin/ssh admin@ip /bin/sh /export/home/tomcat/domains/qone.jd.com/server1/bin/stop.sh Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these ...原创 2015-11-03 10:22:00 · 142 阅读 · 0 评论