技术标签: packstack Openstack openstack RDO centos
今天帮人部署,就写了个文档总结一下整个流程。
$ sudo systemctl disable firewalld
$ sudo systemctl stop firewalld
$ sudo systemctl disable NetworkManager
$ sudo systemctl stop NetworkManager
$ sudo systemctl enable network
$ sudo systemctl start network
安装NTP服务
$ sudo yum install ntp
$ vim ~/.bash_profile
/etc/environment
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
$ sudo yum install -y centos-release-openstack-ocata
sudo yum install -y centos-release-openstack-mitaka
更新
$ sudo yum update -y
$ sudo yum install -y openstack-packstack
$ sudo packstack --allinone
# Enter the selfsigned CAcert subject common name.
CONFIG_SELFSIGN_CACERT_SUBJECT_CN=kube-os-m
CONFIG_SELFSIGN_CACERT_SUBJECT_MAIL=admin@kube-os-m
# Service to be used as the AMQP broker. Allowed values are: rabbitmq
# ['rabbitmq']
CONFIG_AMQP_BACKEND=rabbitmq
# IP address of the server on which to install the AMQP service.
CONFIG_AMQP_HOST=192.168.57.166
# Specify 'y' to enable SSL for the AMQP service. ['y', 'n']
CONFIG_AMQP_ENABLE_SSL=n
# Specify 'y' to enable authentication for the AMQP service. ['y',
# 'n']
CONFIG_AMQP_ENABLE_AUTH=n
# Password for the NSS certificate database of the AMQP service.
CONFIG_AMQP_NSS_CERTDB_PW=PW_PLACEHOLDER
# User for AMQP authentication.
CONFIG_AMQP_AUTH_USER=amqp_user
# Password for AMQP authentication.
CONFIG_AMQP_AUTH_PASSWORD=PW_PLACEHOLDER
# IP address of the server on which to install MariaDB. If a MariaDB
# installation was not specified in CONFIG_MARIADB_INSTALL, specify
# the IP address of an existing database server (a MariaDB cluster can
# also be specified).
CONFIG_MARIADB_HOST=192.168.57.166
# User name for the MariaDB administrative user.
CONFIG_MARIADB_USER=root
# Password for the MariaDB administrative user.
CONFIG_MARIADB_PW=281fc220d9a344ab
# Password to use for the Identity service (keystone) to access the
# database.
CONFIG_KEYSTONE_DB_PW=9c794805486d40f7
# Enter y if cron job for removing soft deleted DB rows should be
# created.
CONFIG_KEYSTONE_DB_PURGE_ENABLE=True
# Default region name to use when creating tenants in the Identity
# service.
CONFIG_KEYSTONE_REGION=RegionOne
# Token to use for the Identity service API.
CONFIG_KEYSTONE_ADMIN_TOKEN=0f3a77ed3fc34b78b4087ff44673c322
# Email address for the Identity service 'admin' user. Defaults to
CONFIG_KEYSTONE_ADMIN_EMAIL=root@localhost
# User name for the Identity service 'admin' user. Defaults to
# 'admin'.
CONFIG_KEYSTONE_ADMIN_USERNAME=admin
# Password to use for the Identity service 'admin' user.
CONFIG_KEYSTONE_ADMIN_PW=cf3b1ac5fedc4e25
# Password to use for the Identity service 'demo' user.
CONFIG_KEYSTONE_DEMO_PW=45443be22c714b69
# Identity service API version string. ['v2.0', 'v3']
CONFIG_KEYSTONE_API_VERSION=v2.0
# Identity service token format (UUID or PKI). The recommended format
# for new deployments is UUID. ['UUID', 'PKI']
CONFIG_KEYSTONE_TOKEN_FORMAT=UUID
# Name of service to use to run the Identity service (keystone or
# httpd). ['keystone', 'httpd']
CONFIG_KEYSTONE_SERVICE_NAME=httpd
# Type of Identity service backend (sql or ldap). ['sql', 'ldap']
CONFIG_KEYSTONE_IDENTITY_BACKEND=sql
# URL for the Identity service LDAP backend.
CONFIG_KEYSTONE_LDAP_URL=ldap://192.168.57.166
# User DN for the Identity service LDAP backend. Used to bind to the
# LDAP server if the LDAP server does not allow anonymous
# authentication.
CONFIG_KEYSTONE_LDAP_USER_DN=
# User DN password for the Identity service LDAP backend.
CONFIG_KEYSTONE_LDAP_USER_PASSWORD=
# Base suffix for the Identity service LDAP backend.
CONFIG_KEYSTONE_LDAP_SUFFIX=
# Query scope for the Identity service LDAP backend. Use 'one' for
# onelevel/singleLevel or 'sub' for subtree/wholeSubtree ('base' is
# not actually used by the Identity service and is therefore
# deprecated). ['base', 'one', 'sub']
CONFIG_KEYSTONE_LDAP_QUERY_SCOPE=one
# Query page size for the Identity service LDAP backend.
CONFIG_KEYSTONE_LDAP_PAGE_SIZE=-1
# User subtree for the Identity service LDAP backend.
CONFIG_KEYSTONE_LDAP_USER_SUBTREE=
# User query filter for the Identity service LDAP backend.
CONFIG_KEYSTONE_LDAP_USER_FILTER=
# User object class for the Identity service LDAP backend.
CONFIG_KEYSTONE_LDAP_USER_OBJECTCLASS=
# User ID attribute for the Identity service LDAP backend.
CONFIG_KEYSTONE_LDAP_USER_ID_ATTRIBUTE=
# User name attribute for the Identity service LDAP backend.
CONFIG_KEYSTONE_LDAP_USER_NAME_ATTRIBUTE=
# User email address attribute for the Identity service LDAP backend.
CONFIG_KEYSTONE_LDAP_USER_MAIL_ATTRIBUTE=
# User-enabled attribute for the Identity service LDAP backend.
CONFIG_KEYSTONE_LDAP_USER_ENABLED_ATTRIBUTE=
# Bit mask integer applied to user-enabled attribute for the Identity
# service LDAP backend. Indicate the bit that the enabled value is
# stored in if the LDAP server represents "enabled" as a bit on an
# integer rather than a boolean. A value of "0" indicates the mask is
# not used (default). If this is not set to "0", the typical value is
# "2", typically used when
# "CONFIG_KEYSTONE_LDAP_USER_ENABLED_ATTRIBUTE = userAccountControl".
CONFIG_KEYSTONE_LDAP_USER_ENABLED_MASK=-1
# Value of enabled attribute which indicates user is enabled for the
# Identity service LDAP backend. This should match an appropriate
# integer value if the LDAP server uses non-boolean (bitmask) values
# to indicate whether a user is enabled or disabled. If this is not
# set as 'y', the typical value is "512". This is typically used when
# "CONFIG_KEYSTONE_LDAP_USER_ENABLED_ATTRIBUTE = userAccountControl".
CONFIG_KEYSTONE_LDAP_USER_ENABLED_DEFAULT=TRUE
# Specify 'y' if users are disabled (not enabled) in the Identity
# service LDAP backend (inverts boolean-enalbed values). Some LDAP
# servers use a boolean lock attribute where "y" means an account is
# disabled. Setting this to 'y' allows these lock attributes to be
# used. This setting will have no effect if
# "CONFIG_KEYSTONE_LDAP_USER_ENABLED_MASK" is in use. ['n', 'y']
CONFIG_KEYSTONE_LDAP_USER_ENABLED_INVERT=n
# Comma-separated list of attributes stripped from LDAP user entry
# upon update.
CONFIG_KEYSTONE_LDAP_USER_ATTRIBUTE_IGNORE=
# Identity service LDAP attribute mapped to default_project_id for
# users.
CONFIG_KEYSTONE_LDAP_USER_DEFAULT_PROJECT_ID_ATTRIBUTE=
# Specify 'y' if you want to be able to create Identity service users
# through the Identity service interface; specify 'n' if you will
# create directly in the LDAP backend. ['n', 'y']
CONFIG_KEYSTONE_LDAP_USER_ALLOW_CREATE&
文章浏览阅读331次。TF卡也叫Micro SD卡。也就是小型SD卡。SD卡的三围大概是24mm3*2mm*2.1mm.而TF卡体积缩小到15mm*11mm*1mm.这里华为还推出了更小体积的NM存储卡,比TF卡更小。可以直接放在SIM卡里使用。但价格比较高。:最常用的存储卡设备。体积小,被广泛地于使用便携式装置上,例例如数码相机、平板电脑和多媒体播放器MP3,MP4,行车记录仪等。:主要用于相机等拍摄设备。体积比SD卡大,但安全性和稳定性传输速度上更高。当然价格也更高。_tf卡三围
文章浏览阅读8.1k次,点赞5次,收藏31次。原项目系统中已经引入了 Mybatis 和 pagehelper ,当引入Mybatis-plus 后启动项目报错 SqlSessionFactory 错误,排查原因后为依赖冲突导致,需排除部分jar包,并修改相关配置。5. 修改配置文件,将原 mybatis 改成 mybatis-plus。根据自己xml的实际路径修改。4.引入autoconfigure。3.引入Mybatis-plus。2. pagehelper 中。1.mybatis中。_mybatisplus和mybatis可以一起导入吗
文章浏览阅读2.3k次。使用diskpart磁盘工具创建VHD虚拟磁盘以及磁盘的挂载、格式化及驱动器盘符分配。_vhd工具
文章浏览阅读501次。Qt Data Visualization 专栏链接地址:Qt Data Visualization 3D可视化https://blog.csdn.net/qq_36583051/article/details/107627747Q3DBarshttps://blog.csdn.net/qq_36583051/article/details/107790125_shadows are not yet supported for opengl es2
文章浏览阅读2.5k次。如果进入外壳:print type(dct.viewkeys())它将返回:dict_keys是一个Dictionary view对象,在Python 2.7中是新的。从PEP 3106:The dictionary methods keys(), values(), and items() are different in Python 3.x. They return an object ca..._dict.viewkeys方法
文章浏览阅读994次。字符串排序:用Java编写一个能对一组字符串按字典序升序排序的程序 输入为N和N行字符串,需要按行输出字符串升序排序的结果输入:3 Abc Abe Abd输出:Abc Abd Abeimport java.io.*;import java.util.*;import java.math.*;public class Main { public stati..._学堂在线java程序设计清华大学 编程题答案
文章浏览阅读2.8k次,点赞3次,收藏29次。本节讲述怎么把设备树(dtb)传给内核。uboot只要,然后在时,把这块内存的传给内核(通过寄存器)。_uboot设备树和内核设备树
文章浏览阅读2.7k次。**项目需求:**根据后台数据,生成pie,并绘制在地图上,点击pie时实现点击事件。一开始在div内生成echarts饼图,再通过经纬度将div放在指定位置,但是div的范围内地图自身的滚轮和双击事件失效,几经周折,找到了另一种解决方案:将div内的echarts饼图以图片的形式输出,隐藏掉当前div,再将图片通过经纬度绘制在地图上。当点击时,通过hitTest()判断是点击在地图上还是图片上..._echarts地图上面贴图怎么让他触发下面的事件
文章浏览阅读186次。该系统基于C语言,运用了指针、结构体和文件读写等技术路线实现了一些功能:包括(输入学生数据,修改学生数据,查找学生资料,排列学生数据,保存学生成绩,调出学生成绩,显示学生资料等7个功能)1、首先,定义学生结构体:typedef struct Link{int number;char name[10];char sex[4];int Chinese;int English;int Match;..._goto endp
文章浏览阅读4.7k次。网络应用的需求与传输层服务网络应用对传输服务的需求:数据丢失/可靠性某些网络应用能够容忍一定的数据丢失:网络电话某些网络应用要求百分之百可靠的数据传输:文件传输,telnet时间延迟有些应用只有在延迟足够低时才有效网络电话/网络游戏带宽:某些应用只是有在带宽达到最低要求时才有效:网络视频某些应用能够适应任何带宽-------弹性应用:eamilInternet提供的传输服务TCP服务:面向连接:客户机/服务器进程间需要建立连接可靠传输流量控制:发送方不会发送速度过快,超过接收_应用对网络需求
文章浏览阅读2.3k次。本文将介绍MIT韩松课题组在自动驾驶方面的最新工作,他们提出了一种高效且通用的多任务多传感器融合框架BEVFusion。它统一了共享鸟瞰(BEV)表示空间中的多模态特征,很好地保留了几何信息和语义信息。_bevfusion
文章浏览阅读1.7k次。实验一:单机放大器附件:实验前准备工作共发射极放大电路的分析与综合 一、电路原理图二、直流分析如图,β=2002. 欲使UCQ=6V,求:Pot1URc?Vcc?UCQ?12V?6V?6VICQ?ICQURc?1.176mA RCIBQ???5.882?AUCEQ?Vcc?IEQ?Re1?Re2??ICQR3?VCC?ICQ(R3?Re1?Re2)?4.68V UB?UBE?IEQ(Re1?Re2...