.. include:: /includes.txt ==== RHEL ==== Zercurity is supported on RHEL/CentOS/Fedora. .. note:: This installation assumes you are installing Zercurity as a system user called **admin** under the working directory ``/home/admin``. You can install Zercurity to any system directory. Just make sure to update the volumes section within the ``docker-compose.yml`` file. Installing Docker ================= As the user **root** run the following commands to install Docker. .. code-block:: bash yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum install -y docker-ce docker-ce-cli # Add the docker user to your user group to avoid permission errors # we're using the user admin in this example. usermod -aG docker admin systemctl start docker Installing Docker Compose ========================= In order to deploy Zercurity and keep it up-to-date Docker Compose is required. .. code-block:: bash yum install -y python3-pip pip3 install --upgrade docker-compose .. include:: ../download.txt Starting Zercurity ================== To setup Zercurity copy across the installation files. Provided to you by your account manager. The ``./setup.sh`` script will guide you through the process. .. code-block:: bash # You'll be required to enter the domain name you want to use # which will update your **production.dev** file which stores all # configuration settings. The setup will also download the latest # version of Zercurity for Docker. ./setup.sh systemctl start zercurity .. include:: ../post_install.txt Updating Zercurity ================== .. code-block:: bash # There is no need to shutdown Zercurity. The new image containers will # be fetched and used the next time the service is restarted. ./update.sh systemctl restart zercurity