update zuul from scratch docs
Change-Id: Ia8508acedb30193158cc1cc5a66346ae58429b14
This commit is contained in:
parent
fcf619b22e
commit
059a037539
|
@ -46,7 +46,7 @@ which we will use in these instructions.
|
|||
sudo yum update -y
|
||||
sudo systemctl reboot
|
||||
sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm
|
||||
sudo yum install -y git python35u python35u-pip python35u-devel java-1.8.0-openjdk
|
||||
sudo yum install -y git2u-all python35u python35u-pip python35u-devel java-1.8.0-openjdk
|
||||
sudo alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 10
|
||||
sudo alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.5 10
|
||||
sudo pip3 install python-openstackclient bindep
|
||||
|
|
|
@ -51,8 +51,10 @@ source directory. To use it, do the following steps.
|
|||
|
||||
.. code-block:: shell
|
||||
|
||||
pushd nodepool/
|
||||
sudo cp etc/nodepool-launcher.service /etc/systemd/system/nodepool-launcher.service
|
||||
sudo chmod 0644 /etc/systemd/system/nodepool-launcher.service
|
||||
popd
|
||||
|
||||
If you are installing Nodepool on ``CentOS 7`` and copied the provided service
|
||||
file in previous step, please follow the steps below to use corresponding
|
||||
|
@ -60,7 +62,9 @@ systemd drop-in file so Nodepool service can be managed by systemd.
|
|||
|
||||
.. code-block:: shell
|
||||
|
||||
pushd nodepool/
|
||||
sudo mkdir /etc/systemd/system/nodepool-launcher.service.d
|
||||
sudo cp etc/nodepool-launcher.service.d/centos.conf \
|
||||
/etc/systemd/system/nodepool-launcher.service.d/centos.conf
|
||||
sudo chmod 0644 /etc/systemd/system/nodepool-launcher.service.d/centos.conf
|
||||
popd
|
||||
|
|
|
@ -54,12 +54,14 @@ directory. To use them, do the following steps.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ pushd zuul/
|
||||
$ sudo cp etc/zuul-scheduler.service /etc/systemd/system/zuul-scheduler.service
|
||||
$ sudo cp etc/zuul-executor.service /etc/systemd/system/zuul-executor.service
|
||||
$ sudo cp etc/zuul-web.service /etc/systemd/system/zuul-web.service
|
||||
$ sudo chmod 0644 /etc/systemd/system/zuul-scheduler.service
|
||||
$ sudo chmod 0644 /etc/systemd/system/zuul-executor.service
|
||||
$ sudo chmod 0644 /etc/systemd/system/zuul-web.service
|
||||
$ popd
|
||||
|
||||
If you are installing Zuul on ``CentOS 7`` and copied the provided service
|
||||
files in previous step, please follow the steps below to use corresponding
|
||||
|
@ -67,6 +69,7 @@ systemd drop-in files so Zuul services can be managed by systemd.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ pushd zuul/
|
||||
$ sudo mkdir /etc/systemd/system/zuul-scheduler.service.d
|
||||
$ sudo cp etc/zuul-scheduler.service.d/centos.conf \
|
||||
/etc/systemd/system/zuul-scheduler.service.d/centos.conf
|
||||
|
@ -79,3 +82,4 @@ systemd drop-in files so Zuul services can be managed by systemd.
|
|||
$ sudo cp etc/zuul-web.service.d/centos.conf \
|
||||
/etc/systemd/system/zuul-web.service.d/centos.conf
|
||||
$ sudo chmod 0644 /etc/systemd/system/zuul-web.service.d/centos.conf
|
||||
$ popd
|
||||
|
|
Loading…
Reference in New Issue