摘要: 1、zabbix安装文档 http://blog.csdn.net/yannanxiu/article/details/54924198 2、数据库命令执行有问题,需要使用 3、必须注意agent的hostname。 4、配置网络流量监测 创建item,key是可以修改为网口名称的。 画图 在con 阅读全文
posted @ 2017-07-29 10:25 haha1680737 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1、必须是用sudo启动服务,不然报接入拒绝。 2、docker使用proxy pull First, create a systemd drop-in directory for the docker service: Now create a file called /etc/systemd/s 阅读全文
posted @ 2017-07-22 11:48 haha1680737 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1、neutron port-list | grep -E -B 5 "29\.2\.9\.2" 搜寻 29.2.9.2 阅读全文
posted @ 2017-07-20 18:40 haha1680737 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1、 find ./ -name "*streaming*" 查找文件 2、 grep -r KUBE_LOGTOSTDERR /etc/kubernetes/* 查找内容 阅读全文
posted @ 2017-07-19 20:31 haha1680737 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 1、安装java sudo apt-get install default-jre sudo apt-get install default-jdk 2、添加环境变量 export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-i386 3、运行hadoop ./bin 阅读全文
posted @ 2017-07-18 21:19 haha1680737 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 1、复制当前的2行: 2yy 然后 p https://www.shiyanlou.com/courses/803 2、撤销 u 阅读全文
posted @ 2017-07-16 22:11 haha1680737 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1、lsof -i:8081 查到pid号 2、sudo kill -9 pid号 阅读全文
posted @ 2017-07-15 20:33 haha1680737 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 在线安装 $sudo apt-get install nginx Nginx的版本是1.2.1 ubuntu安装Nginx之后的文件结构大致为: 所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下 启动程序文件在/usr/sb 阅读全文
posted @ 2017-07-15 20:22 haha1680737 阅读(152) 评论(0) 推荐(1) 编辑
摘要: 服务器端: 客户端: 阅读全文
posted @ 2017-07-15 13:39 haha1680737 阅读(165) 评论(0) 推荐(0) 编辑
摘要: import pymysql conn = pymysql.connect(host='192.168.1.210', port=3306, user='root', passwd='ubuntu', db='mysql') cur = conn.cursor() cur.execute("show full columns from trade") row_1 = cur.fetchone()... 阅读全文
posted @ 2017-07-15 13:39 haha1680737 阅读(119) 评论(0) 推荐(0) 编辑