制作一个系统镜像上传到/mnt/p_w_picpath目录下:
centos6.5.img$glancep_w_picpath-create–namecentos6.5–disk-format=qcow2–container-format=bare–is-public=True–file=/mnt/p_w_picpath/centos6.5.img
解释:
–nameNAME上传完镜像在openstack中显示的名称..
分类:
其他好文 时间:
2014-07-26 03:09:27
阅读次数:
636
rpm-Uvhhttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum-yinstalldocker-io#仅此一条命令就可以搞定;
servicedockerstart#启动docker
chkconfigdockeron#加入开机启动
dockerpullcentos:latest#从docker.io中下载centos镜像到本地/var/lib..
分类:
Web程序 时间:
2014-07-26 03:08:07
阅读次数:
313
Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction ...
分类:
其他好文 时间:
2014-07-26 01:23:26
阅读次数:
229
概览布局容器.container类用于固定宽度并支持响应式布局的容器。.container-fluid类用于 100% 宽度,占据全部视口(viewport)的容器。这两种 容器类不能互相嵌套栅格系统简介“行(row)”必须包含在.container(固定宽度)或.container-fluid(1...
分类:
Web程序 时间:
2014-07-26 00:03:06
阅读次数:
410
一个int占多少个字节?这个问题我们往往得到的答案是4.可是int究竟占多少个字节,却跟你的机器环境有关.As you can see, the typical data type sizes match the ILP32LL model, which is what most compilers...
分类:
其他好文 时间:
2014-07-25 19:05:41
阅读次数:
272
1.由于有前后台交互功能,需要在Spring上下文中注册一个用于提供服务的bean,对于这个bean使用Spring提供的@Component标注,如果需要使用@Component注解,需要在项目中WebContent->WEB-INF->dorado-home目录下的app-context.xml...
分类:
其他好文 时间:
2014-07-25 02:29:54
阅读次数:
737
在上一篇中,我们完成了SQLServer2012的安装和配置。现在跟大家分享SCCM安装前的准备工作。2.1SCCM2012R2准备工作2.1.1创建并分配SystemManagement容器权限打开ADSI编辑器,连接到“默认命名上下文”---右击“system”新建对象---选择“container”—下一步---填写值“systemma..
分类:
其他好文 时间:
2014-07-24 23:43:34
阅读次数:
355
ExtJS 5.0版本官方网站给的图表例子,以散点图作说明:Ext.create('Ext.Container', { //renderTo: Ext.getBody(), width: 600, height: 400, layout: 'fit', items:...
分类:
Web程序 时间:
2014-07-24 22:41:13
阅读次数:
546
Spring.1
1. 目录... 1
2. 认识spring. 1
2.1 术语介绍... 1
2.1.1轻量级(Lightweight)1
2.1.2容器(Container)1
2.1.3 Inversion of Control与Dependency Injection.2
2.1.4 AOP(Aspect-oriented programming)2
2.1.5 持久层...2
2.1.6 其它企业服务的封装...2
2.2 spring环境搭建... 2
...
分类:
编程语言 时间:
2014-07-23 17:08:12
阅读次数:
699
bean的scope属性1:singleton(默认单例)—每次从spring container 中返回一个单例对象,不进行新对象的创建;2:prototype—每次从spring container中返回不同的对象,每次进行新对象的创建3:request—返回一个single bean...
分类:
编程语言 时间:
2014-07-23 16:48:21
阅读次数:
234