Hello World Jan 01, 0001

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

$ hexo new "My New Post"

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

More info: Deployment

How enable OpenStack allinone vm to access external network Jan 01, 0001

首先需要为OpenStack添加一个公网网络,假设All-in-one环境建的公网网段为10.10.10.0/24,公网网关为10.10.10.1。这样为虚拟机绑定公网IP后,由于网关是不存在的,虚拟机无法访问外网。那虚拟机如果想访问外网怎么办呢?

...
How to disable ubuntu services Jan 01, 0001

To toggle a service from starting or stopping permanently you would need to:

echo manual | sudo tee /etc/init/SERVICE.override

where the stanza manual will stop Upstart from automatically loading the service on next boot. Any service with the .override ending will take precedence over the original service file. You will only be able to start the service manually afterwards. If you do not want this then simply delete the .override. For example:

...
How to use docker compose to deploy a flask app Jan 01, 0001

The flask app is very simple, you have an index page where your can write and read comments.

To start

So what we need ?

In my case a Digital Ocean droplet (I’m using Fedora 21).

So, first of all we connect to our vm with ssh.

$ ssh root@yourvmip

Now that we are inside we need to install git, Docker and docker-compose.

$ yum -y install git docker python-pip
$ pip install docker-compose==1.1.0-rc2
$ systemctl start docker
$ systemctl enable docker

That’s all we need to play with Docker.

...
Hypernetes The multi tenant Kubernetes distribution Jan 01, 0001

The Caas Revolution”. This is what we believe is happening today in the Cloud ecosystem. This revolution has been started by the now famous project (and company) Docker, and embraced by Cloud providers like Google and AWS.

However, most multi-tenant CaaS solutions today run on a public IaaS, and use fully isolated virtual machine clusters to schedule containers. This is in contrast to the solely container-based implementation provided in private CaaS deployments. The public “hybrid” VM/container isolation approach is a direct result from the shared kernel architecture in container technology.

...
Hypernetes wechat share Jan 01, 0001

今天给大家介绍下最近在Hypernetes上做的工作。

Hypernetes是一个真正多租户的Kubernetes Distro。

Hypernetes在Kubernetes基础上增加了多租户认证授权、容器SDN网络、基于Hyper的容器执行引擎以及基于Cinder的持久化存储等。

...
Installing nova docker on OpenStack Juno Jan 01, 0001

This post comes about indirectly by a request on IRC in #rdo for help getting nova-docker installed on Fedora 21. I ran through the process from start to finish and decided to write everything down for posterity.

Getting started I started with the Fedora 21 Cloud Image, because I’m installing onto OpenStack and the cloud images include some features that are useful in this environment.

We’ll be using OpenStack packages from the RDO Juno repository. Because there is often some skew between the RDO packages and the current Fedora selinux policy, we’re going to start by putting SELinux into permissive mode (sorry, Dan):

...
Installing Realtek rltwifi driver for Ubuntu 14.10 Jan 01, 0001

安装方法

Ubuntu 14默认内核版本没有带RTL8192ee的网卡驱动,因而就无法通过无线网络联网,并且Reltek官方网站也没有提供合适的驱动。而最新的Linux内核已经带了相应驱动,所以一般建议修复的方法就是升级内核版本到最新。但如果不想内核升级咋办呢?幸好Github上已经有人将这个驱动写好了,直接安装即可:

...
Integrating Openstack and Kubernetes with Murano Jan 01, 0001

There’s a perceived competition between OpenStack and containers such as Docker, but in reality, the two technologies are a powerful combination. They both solve similar problems, but on different layers of the stack, so combining the two can give users more scalability and automation than ever before.

That containers app you wrote needs to run somewhere. This is particularly true for orchestrated container applications, such as those managed by Kubernetes. What’s more, if your application is complicated enough that it needs to scale up and down, you need to be running it in an environment that can, itself, scale up and down. This is where OpenStack comes in.

...
Linux kernel network call flow Jan 01, 0001

Refer http://blog.csdn.net/night_elf_1020/article/details/19935813