devstack安装镜像

devstack安装镜像

pip镜像:

pip 镜像我使用清华大学的,在可信列表( 豆瓣的可坑死啦,不在信任列表,安装会跳问题:豆瓣源『http://pypi.douban.com/simple』)

In file “~/.pip/pip.conf”

[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple

Ubuntu Apt 镜像

apt镜像反正看你喜欢咯!!!

In file “/etc/apt/sources.list”

openstack@openstack deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe m ultiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe mu ltiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe m ultiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiv erse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted univer se multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted univers e multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted univer se multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted unive rse multiverse


## openstack git 镜像

In file ?/local.conf (官网并没说丢在哪里。。。我就 devstack 文件夹和用户主目录都丢了个)

[[local|localrc]] ADMIN_PASSWORD=openstack DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD

# Define images to be automatically downloaded during the DevStack built process. DOWNLOAD_DEFAULT_IMAGES=False IMAGE_URLS="http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img”

#change github to trystack GIT_BASE=${GIT_BASE:-http://git.trystack.cn} NOVNC_REPO=${NOVNC_REPO:-http://git.trystack.cn/kanaka/noVNC.git}


这个镜像下载速度我家 20M 水管,下载速度为600+kiB/s

## 小问题
pypi 包更新的时候(~/devstack/file/get-pip.py文件)很容易断,我直接手机[GoodReader](https://itunes.apple.com/us/app/goodreader/id777310222?mt=8)下载好后,再电脑用 GoodReader 上的地址下的,速度很快。

虚拟机内存1G 不够!!!会报错!!!

哇靠。。。我电脑反正玩不来了,虚拟机给了2g 交换空间1g 全部占满,难怪听说要4g 内存。我还是光看看代码吧

其他的安装就按 devstack 官网就行了


reads

Avatar
MorningTZH

喵?

下一页
上一页

相关