摘要: 使用数据卷容器,配置Nginx Docker作为静态文件服务器 . 该方法是直接使用命令行,当然也可使用Dockerfile文件进行创建。 其实,使用docker创建nginx容器是很简单的,但要和数据卷容器结合起来使用,即所有静态文件放在数据卷容器中,然后可以启动多个nginx来访问同一个数据卷容 阅读全文
posted @ 2016-03-09 17:46 junneyang 阅读(3227) 评论(0) 推荐(0) 编辑
摘要: ReactJS: GitHub:https://github.com/facebook/react React 入门实例教程:http://www.ruanyifeng.com/blog/2015/03/react.html 一看就懂的ReactJs入门教程(精华版):http://www.coco 阅读全文
posted @ 2016-03-09 15:29 junneyang 阅读(726) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-03-09 11:33 junneyang 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 【软件系统】 1、操作系统(Minimal最小化安装): CentOS-6.6-x86_64,CentOS 6最后一个版本,官方建议版本。 相对于6.5版本: 强化对 SCSI 设备的处理,有助应付某些指令。 OpenvSwitch 模块现在已成为内核模块。 全面支持 keepalived 及 ha 阅读全文
posted @ 2016-03-09 11:22 junneyang 阅读(764) 评论(0) 推荐(0) 编辑
摘要: 参考 参考: https://www.google.com.hk/?gws_rd=ssl#safe=strict&q=openstack+img+%E5%88%B6%E4%BD%9C http://docs.openstack.org/zh_CN/image-guide/content/ch_mod 阅读全文
posted @ 2016-03-09 11:17 junneyang 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 高可用 概念 级别 陈本 如何实现 分类 Openstack的HA 虚拟机的HA 虚拟机HA 比较 应用级别HA,Heat的HA模板 组件的HA 示意图 Mysql的HA 三种方式之一——主从同步,主备方式 三种方式之二 第三种——一般选择第三者,前面的配置太复杂 比较 Qpid的HA 方式 看一下 阅读全文
posted @ 2016-03-09 11:16 junneyang 阅读(585) 评论(0) 推荐(0) 编辑
摘要: django概述 参考资料:http://blog.javachen.com/2014/01/11/how-to-create-a-django-site.html http://djangobook.py3k.cn/2.0/chapter05/ Django设计MVC理念 Web工作流程 选择Dj 阅读全文
posted @ 2016-03-09 11:12 junneyang 阅读(1928) 评论(0) 推荐(0) 编辑
摘要: 学习思路 议程:代码结构-主干流程-分层架构-业务模型-数据库模型-消息模型 分布式架构:Api:横向扩展 rpc:纵向扩展 分层架构:Controller接口层、View/Manager逻辑层、DAO/Model数据库层 Nova与其他组件交互 业务模型——数据库建模 消息模型 rabbitmqc 阅读全文
posted @ 2016-03-09 11:05 junneyang 阅读(2163) 评论(0) 推荐(0) 编辑
摘要: 参考文档: https://github.com/yongluo2013/osf-openstack-training/blob/master/installation/How-to-setup-openstack-development-environment.md 单元测试: tox类似于jav 阅读全文
posted @ 2016-03-09 11:04 junneyang 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: Namespace实现网络隔离与互通 新建ns: ip netns add foo 查看ns: ip netns 查看ns详细配置: ip netns exec foo ip addr 设置ns内部lo网络up: ip netns exec foo ip link set lo up ip netn 阅读全文
posted @ 2016-03-09 11:02 junneyang 阅读(1876) 评论(0) 推荐(1) 编辑
摘要: 一、参考其他资料即可。可以采用haproxy+apache+horizon方式部署,haproxy/httpd支持ssl。 阅读全文
posted @ 2016-03-09 11:01 junneyang 阅读(460) 评论(2) 推荐(0) 编辑
摘要: 安装 安装参考: https://github.com/yongluo2013/osf-openstack-training/blob/master/installation/openstack-icehouse-for-centos65.md Libvirt安装 yum install kvm q 阅读全文
posted @ 2016-03-09 10:59 junneyang 阅读(941) 评论(0) 推荐(0) 编辑
摘要: Neutron下载安装 下载:git clone -b stable/icehouse https://github.com/openstack/neutron.git pip install -r requirements.txt python setup.py install 安装过程参考: h 阅读全文
posted @ 2016-03-09 10:58 junneyang 阅读(1464) 评论(0) 推荐(0) 编辑
摘要: 源码下载、安装 参考: https://github.com/yongluo2013/osf-openstack-training/blob/master/installation/openstack-icehouse-for-centos65.md http://ericzhong.github. 阅读全文
posted @ 2016-03-09 10:57 junneyang 阅读(708) 评论(0) 推荐(0) 编辑
摘要: 准备 repo配置 yum clean all yum makecache yum install -y make automake autoconf gcc nss-devel wget git glib2 安装corosync 参考:https://github.com/sheepdog/she 阅读全文
posted @ 2016-03-09 10:55 junneyang 阅读(770) 评论(0) 推荐(0) 编辑
摘要: 源码下载安装 git clone -b stable/icehouse https://github.com/openstack/cinder.git pip install -r requirements.txt python setup.py install 安装cinder-api、cinde 阅读全文
posted @ 2016-03-09 10:54 junneyang 阅读(1514) 评论(0) 推荐(0) 编辑
摘要: 下载安装 参考:http://www.linuxidc.com/Linux/2012-08/68964.htm http://www.it165.net/os/html/201402/7246.html http://www.21ops.com/cloud-computing/openstack/8 阅读全文
posted @ 2016-03-09 10:52 junneyang 阅读(624) 评论(0) 推荐(0) 编辑
摘要: Swift安装部署(与keystone依赖包有冲突,需要安装不同版本eventlet) 参考:http://www.server110.com/openstack/201402/6662.html https://github.com/yongluo2013/osf-openstack-traini 阅读全文
posted @ 2016-03-09 10:50 junneyang 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 源码下载、依赖安装 参考:http://www.oschina.net/question/565065_66271 https://github.com/yongluo2013/osf-openstack-training/blob/master/installation/openstack-ice 阅读全文
posted @ 2016-03-09 10:49 junneyang 阅读(2208) 评论(1) 推荐(0) 编辑
摘要: 安装virtualenv相关软件包 安装:yum install python-virtualenv* -y 简介,安装包主要包括, python-virtualenv:virtualenv用于创建独立的Python环境,多个Python相互独立,互不影响。可以在没有权限的情况下安装新套件;可以不同 阅读全文
posted @ 2016-03-09 10:47 junneyang 阅读(418) 评论(0) 推荐(0) 编辑