CentOS安裝青島大學OnlineJudge系統

Python2.7更新為Python3.6

#yum install -y python36 python3-pip

安裝docker

#yum install -y vim curl git

#curl -sSL get.docker.com | sh

更新pip與安裝docker-compose

#python3 -m ensurepip

#pip3 install --upgrade pip

#pip3 install docker-compose

下載與安裝OnlineJudge

#git clone -b 2.0 https://github.com/QingdaoU/OnlineJudgeDeploy.git && cd OnlineJudgeDeploy

#docker-compose up -d

若無法連線OnlineJudge系統,關閉selinux

#vi /etc/selinux/config

#reboot