In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly analyzes the relevant knowledge points of how to accelerate for devstack, the content is detailed and easy to understand, the operation details are reasonable, and has a certain reference value. If you are interested, you might as well follow the editor to have a look, and follow the editor to learn more about "how to accelerate devstack".
I. replace the system source
System dependencies are installed during devstack configuration, so configuring the system source is of course the first step
Centos root execution:
Curl firxiao.com/sh/chrepo.sh | sh
Ordinary ubuntu users execute:
Curl firxiao.com/sh/chapt.sh | sudo sh
The script automatically configures the source as the source of aliyun
II. Replace the pip source
Openstack is a python project. A lot of dependencies have to use pip install. Of course, you have to switch to pip sources.
Just execute the following command
Mkdir ~ / .pipcat ~ / .pip/ pip.conf.global] index-url = http://mirrors.aliyun.com/pypi/simple/trusted-host = mirrors.aliyun.comEOF III. Replace the git source
In the process of implementing devstack, you should go to the official source code of clone
The git:// protocol is used by default. If you find that it is stuck in git clone every time.
Then you can change it to https:// protocol.
Just change the GIT_BASE in stackrc
Diff-- git a/stackrc b/stackrcindex d16fcf6..2290edd 100644-an Accord stackrcages @-161 7 + 161 https://git.openstack.org-GIT_BASE=${GIT_BASE:-git://git.openstack.org}+#GIT_BASE=${GIT_BASE:-git://git.openstack.org}+GIT_BASE=${GIT_BASE:-https://git.openstack.org 8 @ @ USE_CONSTRAINTS=$ (trueorfalse False USE_CONSTRAINTS) # Base GIT Repo URL # Another option is https://git.openstack.org-GIT_BASE=${GIT_BASE:-git://git.openstack.org}+#GIT_BASE=${GIT_BASE:-git://git.openstack.org}+GIT_BASE=${GIT_BASE:-https://git.openstack.org } # Which libraries should we install from git instead of using released # versions on pypi? This is the end of the introduction on "how to accelerate for devstack". More related content can be searched for previous articles, hoping to help you answer questions and questions, please support the website!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.