dnf update dnf group install "Development Tools" dnf install ruby-devel libxml2-devel libxslt-devel zlib-devel libicu-devel libffi-devel redis dnf install bind-utils dnf install nginx systemctl enable nginx systemctl start nginx useradd ideas mkdir /var/www chown ideas:ideas /var/www setenforce 0 # changed selinux to permissive as we have detailed control over open ports, and do not want to have complicated selinux configuration # selinux config as also set to permissive in /etc/selinux/config # change to user ideas # added authorized keys to .ssh for direct input # Warning: ideas user should not be able to sudo, as it runs the servers, do not add to group wheel, and do not allow NOPASSWD sudo gem install cpee cpee-login-xes-yaml cpee-instantiation cpee-model-management cpee-worklist cpee-resources mkdir run; cd run cpee new flow cpee-moma new moma cpee-worklist new worklist cpee-instantiation start cpee-resources new resources cpee-logging-xes-yaml new log cd ~ mkdir Projects cd Projects git clone https://github.com/etm/project_zt.git mv project_zt/ ideas_phase1/ ln -s /var/www/ web cd web cpee cpui flow cpee-moma cpui hub cpee-worklist cpui worklist # as root: unzip the config from https://github.com/etm/project_zt.git/config/config.tgz cd / tar -xzvf /home/ideas/Projects/ideas_phase1/config/config.tgz # as user ideas cd /var/www sh js_libs_update.sh unzip js_libs.zip # as user root systemctl enable /home/ideas/Projects/ideas_phase1/services/cpee.org.flow.service systemctl enable /home/ideas/Projects/ideas_phase1/services/cpee.org.eval.service systemctl enable /home/ideas/Projects/ideas_phase1/services/cpee.org.flow.start.service systemctl enable /home/ideas/Projects/ideas_phase1/services/cpee.org.log.service systemctl enable /home/ideas/Projects/ideas_phase1/services/cpee.org.moma.service systemctl enable /home/ideas/Projects/ideas_phase1/services/cpee.org.resources.service systemctl enable /home/ideas/Projects/ideas_phase1/services/cpee.org.service systemctl enable /home/ideas/Projects/ideas_phase1/services/cpee.org.worklist.service