
Set the BASE_DIR, BACKUP_DIR environment variablesĭocker stop codebeamerx-httpd_codebeamerx-httpd_1 codebeamerx-httpd_codebeamerx-app_1 Start back application and httpd container Sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-composeĭocker-compose version 1.26.0, build d4451659 Reboot the host to apply selinux change and check if docker daemon started sudo reboot Prepare for codebeamer X installation Create directories cd /home/centos

Sudo chmod +x /usr/local/bin/docker-compose Sudo yum install docker-ce docker-ce-cli containerd.io -nobestĭocker version 19.03.11, build 42e35e61f3 Docker-compose part sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose Sudo yum install docker-ce docker-ce-cli containerd.io Sudo systemctl restart firewalld Verify if docker daemon and docker-compose are installed Docker part Sudo firewall-cmd -zone=public -add-masquerade -permanent Run the following command as root user or use sudo: SELINUX=disabled Verifiy firewalld serviceįirewallD is included by default with CentOS 7 but it’s inactive.ĬentOS 8 is starting with activated FirewallD service though and so it has to be aligned to handle source NAT rules. Installation steps Disable selinux by editing /etc/selinux/config file and set SELINUX to disabled as root user or use sudo, then reboot the host sudo sed -i 's/^SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config There were no firewall (firewalld) running on the host.Default user called 'centos' was used with user id of 1000 by default.This document is based on CentOS 7, any additional command will be marked for CentOS 8.Bring up codebeamer X environment and verify it.Prepare docker-compose.yml file for bringing up codebeamer X environment.Allow the given user (centos here) to run docker containers by adding it to docker group.


Verify if docker daemon and docker-compose are installed.Disable selinux by editing /etc/selinux/config file and set SELINUX to disabled as root user or use sudo, then reboot the host.
