会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
haha1680737
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2017年7月29日
zabbix-1
摘要: 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
阅读(104)
评论(0)
推荐(0)
2017年7月22日
docker-1
摘要: 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
阅读(138)
评论(0)
推荐(0)
2017年7月20日
正则表达式
摘要: 1、neutron port-list | grep -E -B 5 "29\.2\.9\.2" 搜寻 29.2.9.2
阅读全文
posted @ 2017-07-20 18:40 haha1680737
阅读(111)
评论(0)
推荐(0)
2017年7月19日
find和grep技巧
摘要: 1、 find ./ -name "*streaming*" 查找文件 2、 grep -r KUBE_LOGTOSTDERR /etc/kubernetes/* 查找内容
阅读全文
posted @ 2017-07-19 20:31 haha1680737
阅读(154)
评论(0)
推荐(0)
2017年7月18日
hadoop--安装
摘要: 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
阅读(125)
评论(0)
推荐(0)
2017年7月16日
vim操作
摘要: 1、复制当前的2行: 2yy 然后 p https://www.shiyanlou.com/courses/803 2、撤销 u
阅读全文
posted @ 2017-07-16 22:11 haha1680737
阅读(102)
评论(0)
推荐(0)
2017年7月15日
关闭端口进程
摘要: 1、lsof -i:8081 查到pid号 2、sudo kill -9 pid号
阅读全文
posted @ 2017-07-15 20:33 haha1680737
阅读(140)
评论(0)
推荐(0)
ubuntu安装Nginx
摘要: 在线安装 $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
阅读(159)
评论(0)
推荐(1)
python链接mysql
摘要: 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
阅读(121)
评论(0)
推荐(0)
python核心编程socket备忘
摘要: 服务器端: 客户端:
阅读全文
posted @ 2017-07-15 13:39 haha1680737
阅读(173)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告