摘要: 1. 移动光标到 0:0 位置 printf "\033[0;0H" 2. 清屏 printf "\033[2J" 3. awk接收 外部变量 awk -v var='afs' 4.移动光标到 2:1 printf "\033[2;1H" 5. 清除当前行 printf "\033[K" 阅读全文
posted @ 2017-03-15 16:03 jackchen007 阅读(184) 评论(0) 推荐(0)
摘要: j2文件中使用变量的时候,不需要 {{}} 遇到if,for等条件判断语句,变量的话,只需要变量名即可, 字符串需要 加上引号。 阅读全文
posted @ 2017-03-15 10:49 jackchen007 阅读(3695) 评论(0) 推荐(0)
摘要: 不知道 报啥错的时候 ,改这个 vim /usr/java/latest/jre/lib/security/java.security 原值: securerandom.source=file:/dev/random 改为:securerandom.source=file:/dev/urandom 阅读全文
posted @ 2017-03-13 09:32 jackchen007 阅读(1047) 评论(0) 推荐(0)
摘要: 1、拉取代码 #git clone https://github.com/ireaderlab/zkdash.git #git clone https://github.com/ireaderlab/zkdash.git #git clone https://github.com/ireaderla 阅读全文
posted @ 2017-03-10 15:26 jackchen007 阅读(257) 评论(0) 推荐(0)
摘要: 1、拉取代码 #git clone https://github.com/DeemOpen/zkui.git #git clone https://github.com/DeemOpen/zkui.git #git clone https://github.com/DeemOpen/zkui.git 阅读全文
posted @ 2017-03-10 15:25 jackchen007 阅读(1411) 评论(0) 推荐(0)
摘要: 安装依赖包 1 2 yum -y install perl perl-Net-Telnet perl-Net-DNS perl-LDAP perl-libwww-perl perl-RadiusPerl perl-IO-Socket-SSL perl-Socket6 perl-CGI-SpeedyC 阅读全文
posted @ 2017-03-10 10:15 jackchen007 阅读(1043) 评论(0) 推荐(0)
摘要: hosts ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [test] 0.0.0.0 ansible_ssh_user=test ansible_ssh_pass=123445 ansible_sudo_pass= 阅读全文
posted @ 2017-03-07 11:56 jackchen007 阅读(2227) 评论(0) 推荐(0)
摘要: 大概原因如下: 目的主机不可达,也就是 跟主机不在一个网段,也没有路由跳转 一般是远端交换机或HUB流量超过负载,即堵塞 应该是你的网络中存在环路路由,也就是到达你ping的主机有一条以上的路由路径,一般出现在使用static route的网络环境 有可能是ICMP REDIRECT造成的,在三层交 阅读全文
posted @ 2017-03-02 14:25 jackchen007 阅读(2835) 评论(0) 推荐(0)
摘要: http://szgb2016.blog.51cto.com/340201/1669731 安装 yum -y install ansible expect 生成key,ssh-keygen -t rsa -f ~/.ssh/id_rsa 两种办法 ssh+expect 出自oldbody cat 阅读全文
posted @ 2017-02-22 14:46 jackchen007 阅读(616) 评论(0) 推荐(0)
摘要: 转自:http://blog.csdn.NET/webdesman/article/details/4062069 如果您是一个站长,或是一个SEO,您一定对于网站统计系统不会陌生,对于SEO新手来说,统计系统中的一些概念不是很清楚,今天讲讲什么是PV和UV! 网站流量统计之UV(Unique Vi 阅读全文
posted @ 2017-02-21 15:37 jackchen007 阅读(3212) 评论(0) 推荐(0)