01 2019 档案

摘要:VIM安装成功后可以使用,但对中文是乱码,解决方法是在vim的配置文档中添加相关设置即可: 找到etc/vimrc 编辑~/.vimrc文件,加上如下几行: set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936 set termencodi 阅读全文
posted @ 2019-01-15 14:57 shadow907080 阅读(581) 评论(0) 推荐(0)
摘要:--- - hosts: test gather_facts: F #开启debug vars: war: "ps -ef | grep tomcat | grep -v grep | awk '{print $2}'" tasks: - name: stop tomcat shell: nohup /bin/bash /tmp/stop_tomcat.sh&... 阅读全文
posted @ 2019-01-10 16:20 shadow907080 阅读(17812) 评论(2) 推荐(0)