温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

vmware ubuntu14.04如何安装OpenStack

发布时间:2021-11-16 09:22:12 来源:亿速云 阅读:475 作者:小新 栏目:云计算

小编给大家分享一下vmware ubuntu14.04如何安装OpenStack,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

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”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注亿速云行业资讯频道!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI