Shenzhen letter lion campus Openstack installation process

First, the current operating system update
yum -y upgrade
reboot
the system after installing version View: lsb_release -a (yum install -y redhat -lsb)
to view the kernel version: uname -ar
Second, install git
yum -y install git
Third, create Devstack user
useradd -s / bin / bash -d / opt / Stack Stack
Stack when users do not need to use sudo password
echo "Stack ALL = (ALL) NOPASSWD: ALL" | sudo TEE /etc/sudoers.d/stack
sudo su - stack
Fourth, pull devstack git repository installation file
is set to DNS: 8.8.4.4
git clone https://github.com/openstack-dev/devstack.git
switching project name (select the appropriate version)
cd devstack
git Branch -a
git checkout -b local project name project name remotely
upload files localrc
rz
five, change the pip source
mkdir ~ / the .pip
vim ~ / the .pip / pip.conf
[, Ltd. Free Join]
index-url = http: //pypi.douban.com/simple
6, installation Devstack
CD devstack
./stack.sh
seven error solution
as given "raise ReadTimeoutError (self._pool, None, 'Read timed out.')" execute the following commands:
PIP = --default timeout 100 the install -U-PIP

Published 29 original articles · won praise 0 · Views 589

Guess you like

Origin blog.csdn.net/drrui520/article/details/105133657