zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    python 装饰器
    git
    JS原生方法实现jQuery的ready()
    js获取css属性方法
    列表页调出点击量
    数组操作
    判断IE版本
    判断IE浏览器用IE条件表达式
    [jQuery] Cannot read property ‘msie’ of undefined错误的解决方法
    复选框字段数组拆分后循环选项值,if判断根据选项值,前端输出html
  • 原文地址:https://www.cnblogs.com/anjuncc/p/5874983.html
Copyright © 2011-2022 走看看