發表文章

目前顯示的是有「Kilo」標籤的文章

devstack安裝all in one openstack(kilo)

環境說明: 這邊利用virtualbox開啟一台vm,網卡第一張設定Bridge Adapter模式,第二張設定Host-only Network模式 OS 14.04 kernel 3.19.0-30-generic Host Private IP (Management IP)/Interface(eth1) Public IP/Interface(eth0) controller 192.168.100.4 172.20.3.53 首先建立一個user為stack $ adduser stack $ echo 'stack ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/stack $ chmod 0440 /etc/sudoers.d/stack 更新軟體清單以及套件 $ apt-get update && apt-get -y upgrade 安裝ntp並設定 $ apt-get install -y git ntp # 編輯ntp.conf 加入以下server $ vim /etc/ntp.conf server time.stdtime.gov.tw 切換stack並clone devstack $ su stack $ cd $ git clone https://github.com/openstack-dev/devstack.git $ cd devstack $ git checkout stable/kilo (Optional) 如果想使用murano,必須另外下載source code,如果沒有要用murano可跳過這步 $ git clone https://github.com/openstack/murano.git -b stable/kilo $ cd murano/contrib/devstack # 複製murano source code $ export DEVSTACK_DIR=~/devstack $ cp lib/murano ${DEVST...

利用opensource 安裝openstack 結合 linuxbridge與vxlan– All In One (kilo)

圖片
環境說明 http://www.chenshake.com/centos-7-x-openstack-liberty-linux-bridgevxlan/ 這邊利用virtualbox開啟一台vm,網卡第一張設定Bridge Adapter模式,第二張設定Nat Network模式 OS 14.04 kernel 3.19.0-30-generic Host Private IP (Management IP)/Interface(eth0) Public IP/Interface(eth1) controller 172.20.3.53 編輯/etc/hosts,方便利用主機名稱進行訪問 $ cat >> /etc/hosts << EOF 172.20.3.53 controller EOF 首先我們在 host : controller 更新套件 $ apt-get update; apt-get dist-upgrade -y;reboot 設定環境參數 $ cat >> .bashrc << EOF MY_IP= 172.20.3.53 MY_PRIVATE_IP= 172.20.3.53 MY_PUBLIC_IP= 172.20.3.53 CONTROLLER_IP= 172.20.3.53 EOF $ source .bashrc 安裝rabbit-mq及相關設定 # 安裝rabbitmsq-server套件 $ apt-get install -y rabbitmq-server # 我們這邊是採用預設的guest使用者,如果想要新增使用者可以用下列的cmd執行: $ rabbitmqctl add_user newUser password # 設定newUser存取權限: $ rabbitmqctl set_permissions newUser ".*" ".*" ".*" ===============================分隔線==...