您好,登錄后才能下訂單哦!
小編給大家分享一下vmware ubuntu14.04如何安裝OpenStack,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!
1在vmware他建三臺虛擬機分別命名為controller,compute,network, 每臺虛擬機安裝ubuntu14.04 server系統(tǒng)
創(chuàng)建虛擬機時為controller節(jié)點添加兩個網卡,分別為:
Adapter 1:
Attached to: Host-only Adapter
Name: Interface 1
Adapter 2:
Attached to: NAT
Adapter Type: Paravirtualized Network
在 Controller 節(jié)點做如下操作:
# 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
創(chuàng)建虛擬機時為compute節(jié)點添加三個網卡,分別為:
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 節(jié)點做以下操作
# 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
創(chuàng)建虛擬機時為network節(jié)點添加四個網卡,分別為:
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 節(jié)點做以下操作
# 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 節(jié)點做以下操作
# ping network
# ping compute
# ping google.com
以上是“vmware ubuntu14.04如何安裝OpenStack”這篇文章的所有內容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內容對大家有所幫助,如果還想學習更多知識,歡迎關注億速云行業(yè)資訊頻道!
免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。