Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Openstack Ocata version + Ubuntu 16.04 how to install

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to install Openstack Ocata version + Ubuntu 16.04. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Environment virtualbox, install two nodes, one control node, one compute node, both nodes are 2c8g, both are dual network cards. The hard drive leaves 80GB.

1. Two networks, one management network, for physical nodes online installation software use, mode NAT network. A provider network, for virtual machines to access the Internet, mode Host-only, note: the network card on the provider network must allow "hybrid mode", otherwise the node can not ping the virtual machine created by openstack!

two。 Look at the openstack log. In the / var/log directory, the keystone log is in the / var/log/apache2/keystone directory.

The 3./etc/keystone/keystone-paste.ini is missing a 'pipeline' pipline configuration cannot be commented out.

4. When editing the [placement] column in the / nova/nova.conf file, you should pay attention to changing os_region_name to RegionOne, and you cannot use the original openstack.

5.VIM delete blank line: G / ^ $/ d Delete comment line:% s / ^ #. * $/ / g

6. Match the host name of each host, and be able to access each node through the host name.

7. The APT source of Aliyun ubuntu 16. Modify the / etc/apt/source.list file to the following:

Deb-src http://archive.ubuntu.com/ubuntu xenial main restricted # Added by software-properties

Deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted

Deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe # Added by software-properties

Deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted

Deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe # Added by software-properties

Deb http://mirrors.aliyun.com/ubuntu/ xenial universe

Deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe

Deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse

Deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse

Deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse

Deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse # Added by software-properties

Deb http://archive.canonical.com/ubuntu xenial partner

Deb-src http://archive.canonical.com/ubuntu xenial partner

Deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted

Deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe # Added by software-properties

Deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe

Deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse

8.horizon encountered Permission denied:'/ var/lib/openstack-dashboard/secret_key' error because apache was started as www-data user and did not have permission to access the file. Execute

Chown-R www-data:www-data secret-key Thank you for your reading! This is the end of the article on "Openstack Ocata version + Ubuntu 16.04how to install". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report