Offline Judge for competitive programming contests.
sudo chmod +x configure.sh
./configure.sh
sudo apt-get update
sudo apt-get upgrade
cd ~
wget http://packages.erlang-solutions.com/site/esl/esl-erlang/FLAVOUR_1_general/esl-erlang_20.1-1~ubuntu~xenial_amd64.deb
sudo dpkg -i esl-erlang_20.1-1\~ubuntu\~xenial_amd64.deb
Check your ErLang installation by running:erl
Add the Apt repository to your Apt source list directory (/etc/apt/sources.list.d):
echo "deb https://dl.bintray.com/rabbitmq/debian xenial main" | sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list
Next add our public key to your trusted key list using apt-key:wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install rabbitmq-server
sudo systemctl start rabbitmq-server.service
sudo systemctl enable rabbitmq-server.service
To check status of RabbitMQ server,sudo rabbitmqctl status
You should give custom values to user_name and user_password in the next command:
sudo rabbitmqctl add_user user_name user_password
sudo rabbitmqctl set_user_tags user_name administrator
sudo rabbitmqctl set_permissions -p / user_name ".*" ".*" ".*"
sudo rabbitmq-plugins enable rabbitmq_management
sudo chown -R rabbitmq:rabbitmq /var/lib/rabbitmq/
Visit : http://localhost:15672/ and login using user_name and user_password
sudo pip3 install pika
sudo pip3 install pyqt5
Username Password Status Permissions
- BitsOJ root administrator All
- client client None vhost
- judge1 judge1 management All