当前位置:网站首页>Rapid establishment of devstack cloud computing platform
Rapid establishment of devstack cloud computing platform
2022-07-23 18:55:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
This semester, the school opened a course , It's called cloud computing platform building , The book used is OpenStack, This is a popular cloud computing platform , The official explanation for this platform is OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all managed through a dashboard that gives administrators control while empowering their users to provision resources through a web interface.(OpenStack It is a large-scale calculation that can be controlled through the database 、 Storage 、 Operating system of network pool , All operations are performed through a DashBoard controller , meanwhile , Allow their users to prepare their application sources , Through a network-based example ), English literal translation , In some places, the translation is not good , Understanding, huh ~
Because really OpenStack Multiple servers are required to act as different node roles , It's not very convenient for people who want to experience or understand this platform , Officials provided one DevStack The platform of , It can make OpenStack Run in notebook 、 Even in virtual machines , But I want to run it , Configuration is also enough , In the process of configuration , I often meet Can’t allocate memory The problem of , about DevStack Problems with the operating environment , Official documents do not say memory problems , Baidu's results are not satisfactory , Most people focus on configuration DevStack Part of , Virtual machine configuration is rarely mentioned , Finally over the wall Goggle For a moment , Find at least 4G The above memory allocation , Although it says 2G You can run, too , But the actual test proves ,2G There will also be insufficient memory during installation , Even now 4G Memory quota , Also very tight . therefore , Proposal distribution 4G Above memory !
Okay , Let's talk about installation .
1、 System :Ubuntu 14.04/16.04, Fedora 23/24, CentOS/RHEL 7, The official recommendation 16.04, The system must 64 Of
I use Ubuntu Server 14.04 LTS 64 position
2、 Change the software source
I use Tsinghua software source :https://mirror.tuna.tsinghua.edu.cn/
3、 install python-pip
sudo apt-get install python-pip
4、 Replace pip Source
mkdir ~/.pip
Create... In this directory pip.conf, Add the following .
PIP I use watercress
[global] trusted-host = pypi.douban.com index-url = http://pypi.douban.com/simple
5、 install git
sudo apt-get install git
4、 obtain DevStack Source file
git clone https://git.openstack.org/openstack-dev/devstack5、 Get into DevStack, newly build loacl.conf file , The contents are as follows
[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORDamong , The first is password , After setting , database , The default login is to use this password
6、 Get into DevStack/tools Folder , Run the command
sudo ./create-stack-user.sh
7、 To give stack User executable rights
sudo chown -R stack:stack /home/ubuntu/devstack/( my devstack stay home/ubuntu Next , Change here to your own path )
8、 Turn on su Account
sudo passwd
Then set the password
9、 Get into stack Account
su stack
10、 Execution and installation
./stack.sh
Installation depends on the network , I pretended to be fast 6 Hours = =....
Finally, you will get the following interface
It means success !
The browser enters the ip The following interface can be obtained from the address
After landing
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/126721.html Link to the original text :https://javaforall.cn
边栏推荐
- Analysis on the implementation of Flink exactly once delivery
- MQ [messagequeue graphic explanation and four MQ comparisons]
- ThreadPoolExecutor源码分析
- 1259. 不相交的握手 动态规划
- Flink Exactly-Once 投递实现浅析
- 【游戏建模模型制作全流程】用ZBrush制作游戏士兵角色
- MySql【从了解到掌握 一篇就够】
- 有人是靠自学建模找到工作的吗?千万别让这些思维害了你
- 代码整洁,高效的系统方法
- How does Apache, the world's largest open source foundation, work?
猜你喜欢

Is 3D modeling promising? Is employment guaranteed with high salary or is it more profitable to take orders in sideline industry
![[whole process of game modeling model production] 3ds Max and ZBrush produce radio receivers](/img/c9/302a52d2c9f6fc3b5971e9a0ea55e6.png)
[whole process of game modeling model production] 3ds Max and ZBrush produce radio receivers

Flink Exactly-Once 投递实现浅析

ThreadPoolExecutor源码分析

Crack WiFi password with Kail

80 + guests took the stage, users from more than 10 countries attended the meeting, and 70000 + viewers watched the end of "Gwei 2022 Singapore"

Rhcsa notes 3

Building virtual private network based on softther

Gradle【图文安装及使用演示 精讲】

建模刚学习很迷茫,次世代角色建模流程具体该怎么学习?
随机推荐
Have a safe summer vacation, no holidays! Please keep these summer safety tips
Opencv (13): brief introduction to cv2.findcontours, cv:: findcontours and description of cv2.findcontours function in various versions of opencv
Redis [super superfine introductory tutorial]
零基础要学建模该从何开始?如何才能学好游戏建模?
识别引擎ocropy->ocropy2->OCRopus3总结
【2018】【论文笔记】石墨烯场效应管及【1】——GFETs的种类和原理,GFETs特性,GFETs在太赫兹中的应用和原理
PCL:多直线拟合(RANSAC)
Navigation component of jetpack compose uses
MQ [messagequeue graphic explanation and four MQ comparisons]
Database modeling
Redis【超强超细 入门教程】
电子元件-电阻
一文详解:TMP1750芯片 三通道线性LED驱动器
【2013】【论文笔记】太赫兹波段纳米颗粒表面增强拉曼——
Redis【2022最新面试题】
moxa串口服务器型号,moxa串口服务器产品配置说明
The first layer of OSI model: physical layer, the cornerstone of existence!
【论文阅读】GETNext: Trajectory Flow Map Enhanced Transformer for Next POI Recommendation
Where should we start to learn modeling from zero foundation? How to learn game modeling well?
[sharing 3D modeling and production skills] how ZBrush turns pictures into relief models