openstack install

git clone https://github.com/yyuu/pyenv.git ~/.pyenv
git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
echo ‘export PYENV_ROOT="$HOME/.pyenv"‘ >> ~/.bash_profile
echo ‘export PATH="$PYENV_ROOT/bin:$PATH"‘ >> ~/.bash_profile
echo ‘eval "$(pyenv init -)"‘ >> ~/.bash_profile
echo ‘eval "$(pyenv virtualenv-init -)"‘ >> ~/.bash_profile

echo ‘export JAVA_HOME=/opt/jdk‘>> ~/.bash_profile
echo ‘export M2_HOME=/opt/maven‘>> ~/.bash_profile
echo ‘export TOMCAT_HOME=/opt/tomcat‘>> ~/.bash_profile
echo ‘PATH=$JAVA_HOME/bin:$M2_HOME/bin:$TOMCAT_HOME/bin:$PATH‘>>~/.bash_profile

yum install sqlite-devel readline-devel bzip2-devel -y

yum install ntp
systemctl enable ntpd

vim /etc/sysctl.conf
net.ipv4.ip_forward=1
net.ipv4.conf.all.rp_filter=0
net.ipv4.conf.default.rp_filter=0
sysctl -p

yum install -y python-pip gcc gcc-c++ make libtool patch automake python-devel libxslt-devel MySQL-python openssl-devel libudev-devel git wget libvirt-python libvirt qeu-kvm gedit python-numdisplay device-mapper brige-utils libffi-devel libffi lrzsz

hostnamectl set-hostname openstak01

vim /.pip/pip.conf
[global]
index-url=https://pypi.doubanio.com/simple/

pip install -r openstack.txt -i https://pypi.doubanio.com/simple/

https://launchpad.net/keystone/liberty/8.0.0/+download/keystone-8.0.0.tar.gz
https://launchpad.net/nova/liberty/12.0.0/+download/nova-12.0.0.tar.gz
https://launchpad.net/glance/liberty/11.0.0/+download/glance-11.0.0.tar.gz
https://launchpad.net/horizon/liberty/8.0.0/+download/horizon-8.0.0.tar.gz
https://launchpad.net/neutron/liberty/7.0.0/+download/neutron-7.0.0.tar.gz
https://launchpad.net/cinder/liberty/7.0.0/+download/cinder-7.0.0.tar.gz

cat */requirement.txt|sort -n|uniq >openstack.txt

yum install mariadb-server rabbitmq-server

时间: 2024-10-13 22:00:06

openstack install的相关文章

openstack HAVANA部署controller控制端

openstack install system version:centos6.5_64 openstack controller:192.168.1.123 openstack centos6.5_64(具体实施环境中要修改为openstackcontroller端的IP地址) openstack controller:192.168.1.124 node centos6.5_64(具体实施环境中要修改为openstackcomputing node端的IP地址) ntp server:21

OpenStack IceHouse 部署 - 1 - 架构说明

参考架构 Architecture from OpenStack Install Guide Reference Architecture Network Isolation 在本次部署中,我们采用了OpenStack中新的网络管理组件(neutron),具体参见安装指导.右图为该网络部署结构的示意,分为三类节点: 控制节点 负责整个OpenStack机群的管控,由于它不承担kvm虚拟机的实际运行,负载交轻,一般将管理性(仅仅负责调度,监控)的服务部署在其上如 neutron 网络管理服务 no

devstack screen 详解

n my previous blog i discussed how to install devstack based openstack. Now if I need to restart individual services of openstack, in a typical openstack install I would restart the service of each component, example nova-network service, horizon etc

Install and Configure OpenStack Database Service (Trove)

Based on OpenStack Icehouse release we will install Database service on controller node 1. 这个还不完善,以后更新 Install and Configure OpenStack Database Service (Trove),布布扣,bubuko.com

Openstack组建部署 — Glance Install

目录 目录 前文列表 Image service overview Openstack Image service包含的组件 Install and configure Prerequisites 先决条件 To create the database To create the service credentials Install and configure components Install the packages Edit the etcglanceglance-apiconf fi

Install OpenStack Kilo

安装openstack k版本 OS:CentOS Linux release 7.0.1406 (Core)host: node1  (管理):10.10.0.10   10.20.0.10 10.30.0.10node2(网络):10.10.0.20    10.20.0.20  10.30.0.20    192.168.74.211node2(计算):10.10.0.30    10.20.0.30   10.30.0.30 1:环境准备1):关闭防火墙 systemctl stop f

Openstack组件部署 — Keystone Install & Create service entity and API endpoints

目录 目录 前文列表 Install and configure Prerequisites 先决条件 Create the database for identity service 生成一个随机数 Install and configure components Configure the Apache HTTP server Create the service entity and API endpoints Prerequisites 先决条件 Create the service e

Centos7 install Openstack - (第四节)添加计算服务(Nova)

Centos7 install Openstack - (第四节)添加计算服务(Nova) 我的blog地址:http://www.cnblogs.com/caoguo 该文根据openstack官方文档配置 官方文档地址: http://docs.openstack.org/juno/install-guide/install/yum/content/# 0x01. Install and configure controller node (在控制节点安装配置一下内容) 一) 配置基本环境

apt-get install openstack pkg 故障处理

操作系统为Ubuntu14.04 在Openstack软件包安装过程中,主机的DNS没问题,软件源的仓库也是正确的,为什么总是出现软件包安装错误呢? 报错如下: # apt-get install cinder-api cinder-scheduler cinder-volume python-cinderclient -y Reading package lists... Done Building dependency tree Reading state information... Do