OpenStack文件注入排错过程1)撰写功能模块1)因Centos7.0x64文件系统的特殊性(XFS),openztack.nova.virt.disk.api.vfs模块无法识别文件系统,故调用系统命令guestmount,撰写函数IPDB调试代码是否成功程序启动正常看到下面的日志,表示^_^,创建成功启动服务serviceopenstack..
分类:
其他好文 时间:
2014-08-21 19:42:35
阅读次数:
635
1.以root角色运行以下命令来安装TigerVNCserveryuminstalltigervnc-server也可以同时安装vncclientyuminstallvnc2.配置VNCServer2.1创建一个新的配置文件,我这里是开启3号窗口,方法如下:cp/lib/systemd/system/vncserver@.service/lib/systemd/system/vncserver@:3.service2..
分类:
其他好文 时间:
2014-08-21 19:37:05
阅读次数:
318
// 当用户进程使用select()或poll()方式访问active属性文件时,用户进程可能会进入阻塞状态,// 该函数用来唤醒因访问active属性文件而阻塞的进程void console_sysfs_notify(void){if (consdev)sysfs_notify(&consdev-...
分类:
系统相关 时间:
2014-08-21 18:51:44
阅读次数:
280
重新加载网卡时出现的错误如下: 1 [root@vdb1 dev]# service network restart 2 Shutting down interface eth0: Device state: 3 (disconnected) 3 ...
分类:
Web程序 时间:
2014-08-21 12:54:54
阅读次数:
294
巧计方法:love hatelink visited hover active原因:后定义的样式会替换先定义的样式,link是还没有访问过的样式,最开始的样式; visited的动作中包括hover和active中的动作,active中的动作包括hover中...
分类:
其他好文 时间:
2014-08-21 11:03:53
阅读次数:
239
当使用了百度地图sdk的app在64位机中运行时,会出现No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).的错误。这是一个兼容性的问题,要解决这个问题,我们需要将将...
分类:
移动开发 时间:
2014-08-21 11:01:33
阅读次数:
263
微软近期Open的职位:Job posting title: SDEII - Senior SDEJob Location: Beijing or SuzhouBing Index Serve team is hiring! We are one of the core teams in Bing ...
分类:
其他好文 时间:
2014-08-21 02:42:43
阅读次数:
207
C#中test测试地址:http://msdn.microsoft.com/zh-cn/library/ms379625(VS.80).aspx单元测试中 我也碰到a类中调用b类的方法,我想测试a 然后mock b被调用的方法public class A { public in...
分类:
编程语言 时间:
2014-08-21 01:33:03
阅读次数:
361
使用 AR 连接多个相关数据表并取回关联(join)后的数据集。官网中后半段为英文,而且中文的内容比英文少一些。其内容先放到这里,之后有时间再翻译。
分类:
其他好文 时间:
2014-08-20 19:27:12
阅读次数:
351
微软近期Open的职位:Job Description:ResponsibilitiesDo you want to change the way the world interacts with computers? Do you want to be part of a team that pu...
分类:
其他好文 时间:
2014-08-20 02:31:05
阅读次数:
318