Tutorial: How to Install DOMJudge on Windows 10

DOMJudge is a web-based automated judge system for programming contests. It provides a set of tools for setting up and administering programming contests, as well as a testing environment for submissions. In this tutorial, we will learn how to install DOMJudge on Windows 10.

Prerequisites

Step-by-Step Guide

  1. Download DOMJudge from the official website at https://www.domjudge.org/.

  2. Extract the downloaded ZIP file to a folder on your computer.

  3. Open XAMPP and start the Apache and MySQL services.

  4. Open your web browser and navigate to http://localhost/. This should display the XAMPP landing page.

  5. Click the "phpMyAdmin" link in the "Tools" section of the XAMPP landing page. This will open the phpMyAdmin interface.

  6. In the phpMyAdmin interface, create a new database for DOMJudge. You can do this by clicking the "New" button on the left-hand side of the page, typing a name for the database in the "Database name" field, and clicking the "Create" button.

  7. Open the folder where you extracted DOMJudge and navigate to the "sql" folder.

  8. Open the "domserver.sql" file in a text editor.

  9. Replace all occurrences of "utf8mb4_general_ci" with "utf8_general_ci" (without the quotes).

  10. In the phpMyAdmin interface, select the database you created in step 6 from the dropdown menu on the left-hand side of the page.

  11. Click the "Import" tab at the top of the page.

  12. Click the "Choose File" button, navigate to the folder where you extracted DOMJudge, and select the "domserver.sql" file.

  13. Click the "Go" button at the bottom of the page to import the database schema.

  14. Open the folder where you extracted DOMJudge and navigate to the "webapp" folder.

  15. Copy the entire "domjudge" folder to the "htdocs" folder of your XAMPP installation (typically located in C:\xampp\htdocs\).

  16. Open a web browser and navigate to http://localhost/domjudge/install.php.

  17. Follow the installation wizard to complete the installation of DOMJudge.

  18. After the installation is complete, verify that DOMJudge is working by logging in to the administration interface. You can do this by navigating to http://localhost/domjudge/login.php and using the administrator username and password you specified during the installation process.

Congratulations! You have successfully installed DOMJudge on Windows 10. You can now use this powerful tool for setting up and administering programming contests.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!