摘要: cat mem.sh#!/bin/bashIP=`ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk -F ' ' '{print $2}'| awk -F':' '{print $2}'| head -n 1` //获取IPMAX_mem=95M... 阅读全文
posted @ 2015-01-13 21:11 samu 阅读(267) 评论(0) 推荐(0)
摘要: #!/bin/sh# Source the common setup functions for startup scriptstest -r /etc/rc.common || exit 1. /etc/rc.commonSCRIPT="/usr/local/Cellar/mysql/5.6.22... 阅读全文
posted @ 2015-01-13 11:21 samu 阅读(276) 评论(0) 推荐(0)
摘要: 参考:http://blog.csdn.net/ichsonx/article/details/146428971、 为什么使用Nexus 如果没有私服,我们所需的所有构件都需要通过maven的中央仓库和第三方的Maven仓库下载到本地,而一个团队中的所有人都重复的从maven仓库下载构件无疑加大了... 阅读全文
posted @ 2015-01-13 10:33 samu 阅读(219) 评论(0) 推荐(0)
摘要: After Update from jre-7_21 to jre-7_45: Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory() failed; error='Cannot allocate memory' (e... 阅读全文
posted @ 2015-01-13 10:24 samu 阅读(969) 评论(0) 推荐(0)