2017年4月26日

cnblogs add counter

摘要: 方式1: #使用amazingcounters 步骤1:注册账号 http://www.amazingcounters.com/sign-up.php 步骤2: 选择counter的风格。 步骤3: 填写网页的info。(关键是Site URL ) 步骤4: 把Counter的代码拷贝到博客园的 " 阅读全文

posted @ 2017-04-26 21:48 yaoweilei 阅读(105) 评论(0) 推荐(0) 编辑

cnblogs add tipping

摘要: 1. 初期准备 ①.因为需要用到Js,所以需要联系管理员,添加JS的功能 #方法: 写个邮件给博客园的管理员,告诉他你想追加一个打赏需要用到JS,麻烦开一下。 #管理员邮箱: contact@cnblogs.com ,我发了之后两小时,管理员回复了邮件,添加好了。 ②.准备你的微信和支付宝的收款图片 阅读全文

posted @ 2017-04-26 18:10 yaoweilei 阅读(145) 评论(0) 推荐(0) 编辑

2017年4月20日

devstack setup record

摘要: 缘由: 看IBM的cloudman博客【每天5分钟玩转Openstack】学习的时候,有用到devstack,以前也看到devstack,遂想自己也踩踩坑装一个。 每天5分钟玩转Openstack地址: https://www.ibm.com/developerworks/community/blo 阅读全文

posted @ 2017-04-20 13:57 yaoweilei 阅读(737) 评论(3) 推荐(0) 编辑

2016年10月20日

lsof

摘要: (list open files) 列出当前系统打开的文件 1) 显示网络连接 #lsof -i # lsof -i tcp # lsof -i :9696 # lsof -i tcp:80 # lsof -a -u openstack -i 2) 谁在打开某个文件 # lsof /filepath 阅读全文

posted @ 2016-10-20 14:11 yaoweilei 阅读(142) 评论(0) 推荐(0) 编辑

2016年6月14日

patch

摘要: 文件:isp1161-2.6.12.patch(在/root下) linux-2.6.12/drivers/usb/Makefile 2005-06-17 22:48:29.000000000 +0300 +++ linux-2.6.12-new/drivers/usb/Makefile 2005- 阅读全文

posted @ 2016-06-14 09:40 yaoweilei 阅读(177) 评论(0) 推荐(0) 编辑

2016年6月10日

mariadb

摘要: yum install mariadb mariadb-serversystemctl start mariadbsystemctl enable mariadbmysql_secure_installation 阅读全文

posted @ 2016-06-10 16:28 yaoweilei 阅读(94) 评论(0) 推荐(0) 编辑

2016年6月7日

yum config

摘要: /etc/yum.conf keepcache=1 阅读全文

posted @ 2016-06-07 19:03 yaoweilei 阅读(113) 评论(0) 推荐(0) 编辑

2016年5月24日

openstack shell example

摘要: get vpn router: vpn_routers=(`neutron vpn-service-list -c router_id | head -n -1 | tail -n +4 | awk '{print $2}' | sort`) get router without gateway: 阅读全文

posted @ 2016-05-24 15:41 yaoweilei 阅读(117) 评论(0) 推荐(0) 编辑

shell cmd example

摘要: get ip address: LANG=C ip a show eth0 | grep 'inet' | grep -v 'inet6' | awk '{print $2;}' | cut -d'/' -f1` get terminal user: who | awk -F '(' '{print 阅读全文

posted @ 2016-05-24 15:37 yaoweilei 阅读(128) 评论(0) 推荐(0) 编辑

2016年2月15日

route

摘要: route delete -net 10.8.0.0/24 gw 192.168.28.10 dev qr-ea6e69b3-4e route add -net 10.8.0.0/24 gw 192.168.28.22 dev qr-ea6e69b3-4e ip route add default 阅读全文

posted @ 2016-02-15 11:36 yaoweilei 阅读(109) 评论(0) 推荐(0) 编辑

导航