摘要: 本文教大家怎么利用virsh自带的console功能登陆Ubuntu类型的guest虚机。非常方便。 阅读全文
posted @ 2017-12-15 20:50 changxun 阅读(715) 评论(0) 推荐(0) 编辑
摘要: I do a lot of development without an internet connection, so being able to install packages into a virtual environment without a connection to PyPI is pretty useful. 阅读全文
posted @ 2017-12-15 18:17 changxun 阅读(929) 评论(0) 推荐(0) 编辑
摘要: 为避免自己开发的so库不在系统路径,有几种方法: 1.修改环境变量 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:{自定义库路径} 2.设置链接器参数 gcc main.c Wl, rpath=./lib [root@nlocalhostl] readelf a a.out |g 阅读全文
posted @ 2017-11-29 15:26 changxun 阅读(2635) 评论(0) 推荐(1) 编辑
摘要: 首先安装smbclient yum install samba client or apt install samba client 1,列出某个IP地址所提供的共享文件夹 smbclient L 198.168.0.1 U username W domain (会提示输密码) smbclient 阅读全文
posted @ 2017-11-22 18:19 changxun 阅读(17394) 评论(0) 推荐(0) 编辑
摘要: 分区 大小 说明 /boot 500M 启动分区 /home 10240M 用户分区 /swap 1.在 8GB 64GB 物理内存的机器上, 分区为 0.5 Memory Size 2.在 64GB物理内存的机器上,分区为32GB 交换分区 / 剩余所有空间 根目录 阅读全文
posted @ 2017-11-07 11:23 changxun 阅读(957) 评论(0) 推荐(0) 编辑
摘要: 理解了OVN logical flow,对流量转发行为和路径分析来说有很大帮助。 ovn-trace命令就是工作在logical_flow层面的,从这个角度来看,我们可以忽略logical_flow 转换成ovs flow后是什么样子的,我们相信翻译之后的流表会按logical flow中定义的规则那样工作,因此,我们把重心放在logical flow中规则的设计与分析. 阅读全文
posted @ 2017-11-07 11:14 changxun 阅读(1500) 评论(0) 推荐(0) 编辑
摘要: gitlab 通过https方式访问,需要以下设置: git config global http.sslverify=false vim 粘贴代码时总是自动缩进导致代码格式变乱,只需粘贴前做如下设置: :set paste 启动一个web server python2: python m Simp 阅读全文
posted @ 2017-11-03 17:28 changxun 阅读(146) 评论(0) 推荐(0) 编辑
摘要: run code online console.log('小薰,加载完毕!') 阅读全文
posted @ 2017-10-22 17:54 changxun 阅读(141) 评论(0) 推荐(0) 编辑
摘要: <! 右下角聊天 { margin: 0; padding: 0; } body { font size: 12px; } .chatroom feedback { position: absolute; bottom: 3px; background: EEE; width: 159px; hei 阅读全文
posted @ 2017-10-18 20:52 changxun 阅读(131) 评论(0) 推荐(0) 编辑
摘要: nginx.spec 阅读全文
posted @ 2017-10-10 15:32 changxun 阅读(304) 评论(0) 推荐(0) 编辑