vmwareubuntu14.04如何安装OpenStack
小编给大家分享一下vmware ubuntu14.04如何安装OpenStack,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!
专注于为中小企业提供成都网站建设、网站建设服务,电脑端+手机端+微信端的三站合一,更高效的管理,为中小企业尼金平免费做网站提供优质的服务。我们立足成都,凝聚了一批互联网行业人才,有力地推动了上1000+企业的稳健成长,帮助中小企业通过网站建设实现规模扩充和转变。
1在vmware他建三台虚拟机分别命名为controller,compute,network, 每台虚拟机安装ubuntu14.04 server系统
创建虚拟机时为controller节点添加两个网卡,分别为:
Adapter 1:
Attached to: Host-only Adapter
Name: Interface 1
Adapter 2:
Attached to: NAT
Adapter Type: Paravirtualized Network
在 Controller 节点做如下操作:
# nano /etc/hostname
controller
# nano /etc/network/interfaces
auto eth0
iface eth0 inet static
address 10.10.10.10
netmask 255.255.255.0
auto eth2
iface eth2 inet dhcp
Configuring Name resolution
# nano /etc/hosts
10.10.10.10 controller
10.10.10.11 compute
10.10.10.12 network
# reboot
# sudo apt-get update
创建虚拟机时为compute节点添加三个网卡,分别为:
Adapter 1:
Attached to: Host-only Adapter
Name: Interface 1
Adapter 2:
Attached to: Host-only Adapter
Name: Interface 2
Adapter 3:
Attached to: NAT
在Compute 节点做以下操作
# nano /etc/hostname
compute
# nano /etc/network/interfaces
auto eth0
iface eth0 inet static
address 10.10.10.11
netmask 255.255.255.0
auto eth2
iface eth2 inet static
address 10.20.20.11
netmask 255.255.255.0
auto eth3
iface eth3 inet dhcp
# reboot
# ping controller
# ping network
# ping google.com
创建虚拟机时为network节点添加四个网卡,分别为:
Adapter 1:
Attached to: Host-only Adapter
Name: Interface 1
Adapter 2:
Attached to: Host-only Adapter
Name: Interface 2
Adapter 3:
Attached to: Host-only Adapter
Name: Interface 3
Adapter 4:
Attached to: NAT
在Network 节点做以下操作
# nano /etc/hostname
network
# nano /etc/network/interfaces
auto eth0
iface eth0 inet static
address 10.10.10.12
netmask 255.255.255.0
auto eth2
iface eth2 inet static
address 10.20.20.12
netmask 255.255.255.0
auto eth3
iface eth3 inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down
auto eth4
iface eth4 inet dhcp
# reboot
# ping controller
# ping compute
# ping google.com
在Controller 节点做以下操作
# ping network
# ping compute
# ping google.com
以上是“vmware ubuntu14.04如何安装OpenStack”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注创新互联行业资讯频道!
当前名称:vmwareubuntu14.04如何安装OpenStack
网页地址:http://scyanting.com/article/iphipo.html