Awesome Open Source
Awesome Open Source

HUSTOJ

OJ

** Ubuntu 20.04 apparmor systemd umount CPU 100% **

HUSTOJ is an GPL Free Software.

HUSTOJ GPL ()

Wiki

PS: GPL

:hustoj

FAQ Wiki

  • Star !
  • tk

Star us, please!

UCloud

Ubuntu 20.04 , issues

Ubuntu 18.04 ******

Ubuntu

Deepin15

CentOS

Docker

LiveCD

QQ 23361372

2021

| | ----- | :--: | :------- 04-08 | | dockerjudge_client 03-26 | | VIP,VIP[VIP] 03-08 | | Ubuntu20.04sqlite3 02-06 | | mdui /home/judge/src/web/include/db_info.inc.php $OJ_TEMPLATE="mdui"; * /home/judge/src/web/include/db_info.inc.php $MDUI_OFFLINE=true; * (Author: @renbaoshuo) 01-01 | | syzoj /home/judge/src/web/include/db_info.inc.php $OJ_TEMPLATE="syzoj"; (Author: @renbaoshuo)

2020

| | ----- | :--: | :------- 12-30 | | wiki https://zhblue.github.io/hustoj/ 12-29 | | FPS(xml) 12-28 | | test01[60].in 160 12-27 | | 12-21 | | 12-07 | | HTTPproblem_start/problem_endjudge.confHTTP_DOWNLOAD=0 11-30 | | s4 11-29 | | 11-28 | | 18.04C++C/C++ 11-22 | | RuntimeError, 09-23 | | GithubSVN18.04/20.04 09-20 | | 08-08 | | "PYTHONIOENCODING=utf-8"Python3 07-13 | | ,. : /home/judge/src/web/include/db_info.inc.php, OJ_COOKIE_LOGIN=true;,OJ_KEEP_TIME**** 07-12 | | WAShOW_DIFFzip.in/.out 02-10 | | bshark /home/judge/src/web/include/db_info.inc.php $OJ_TEMPLATE="bshark"; 01-31 | | @melongist 01-27 | | 3(ms) 01-26 | | WebUDPUDP+ 01-23 | | MoodleHUSTOJmoodle 01-20 | | noip noip privilege user_id

2019

| | ----- | :--: | :------- 12-19 | | judge.conf $OJ_BEIAN 11-23 | | hustoj 11-21 | | Edit 11-20 | | OJ_SHOW_DIFF(AC/WA/TLE...) 11-16 | | @muzea GitHub Gitee CI 11-13 | | (RuntimeError)(infile) 10-30 | | $OJ_OI_MODE 10-29 | | OI Web 10-03 | | deepin 15.11 10-03 | | csrf 09-23 | | 504 09-21 | | 08-06 | | UDPWebjudge 07-26 | | aarch64 07-06 | | NOIP 07-04 | | $OJ_MARK="mark" $OJ_MARK="percent" (WA)AC $OJ_MARK="" 06-24 | | 06-12 | | Fortran Matlab(Octave)RE 05-18 | | 16.04FB OpenJudgerWindows 05-17 | | ajaxwebjudge 05-15 | | TLEREUbuntu18/19 Deepin15.9/15.10 gcc/g++ 05-07 | | @muzea Debian (*.deb) https://github.com/zhblue/hustoj/releases 04-13 | | SQL SQLite3 3A3000 03-14 | | (arm) (loongson-2f) i386 x86_64

Ubuntu 18.04 (https://www.bilibili.com/video/BV1Mp4y1C7Xx)


**** Apache 80

**** `` LNMP `LAMP` `Cpanel` `Mysql` `Nginx` `Apache` `PHP`

** ** multiverse

80

Github SVN Releases tar.gz install *-bytgz.sh

Ubuntu 18.04 Releases Source code(tar.gz) install-ubuntu18-bytgz.sh

sudo bash install-ubuntu18-bytgz.sh 19.06.04.tar.gz

Ubuntu 20.04

** Ubuntu 20.04 apparmor systemd umount CPU 100% **

wget http://dl.hustoj.com/install-ubuntu20.04.sh
sudo bash install-ubuntu20.04.sh

Ubuntu 20.04 Gitee

** Ubuntu 20.04 apparmor systemd umount CPU 100% **

wget https://gitee.com/zhblue/hustoj/raw/master/trunk/install/install-ubuntu20-gitee.sh
sudo bash install-ubuntu20-gitee.sh

Ubuntu 18.04 Gitee

wget https://gitee.com/zhblue/hustoj/raw/master/trunk/install/install-ubuntu18-gitee.sh
sudo bash install-ubuntu18-gitee.sh

Ubuntu 18.04

**, **

wget http://dl.hustoj.com/install-ubuntu18.04.sh
sudo bash install-ubuntu18.04.sh

Ubuntu

******Ubuntu **

wget http://dl.hustoj.com/sources.list.sh
sudo bash sources.list.sh
wget http://dl.hustoj.com/update-sources-ubuntu.sh
sudo bash update-sources-ubuntu.sh

Deepin 15+

Deepin 15.9+ (QQWPS15.11)

wget http://dl.hustoj.com/install-deepin15.9.sh
sudo bash install-deepin15.9.sh

CentOS

centos7 RaidUbuntuCentOSOJ

wget https://raw.githubusercontent.com/zhblue/hustoj/master/trunk/install/install-centos7.sh
sudo bash install-centos7.sh

REDHAT / CentOS

https://github.com/zhblue/hustoj/blob/master/wiki/CentOSx86_64.md

https://github.com/zhblue/hustoj/blob/master/wiki/CentOS.md

Docker

Docker HUSTOJ ****

Docker GitLab CI/CD

docker run -d           \
    --name hustoj       \
    -p 8080:80          \
    -v ~/volume:/volume \
    registry.gitlab.com/mgdream/hustoj

Web// Docker SHM

http://localhost:8080

Docker

Dockerweb/mysql/judge judgedocker/judge

Dockerdocker network create hustoj

  • MySQL
docker run -d \
    --network hustoj \
    --name hustoj.mysql \
    -e MYSQL_USER=<mysql_username> \
    -e MYSQL_PASSWORD=<mysql_password> \
    -v mysql:/var/lib/mysql \
    registry.gitlab.com/mgdream/hustoj:mysql

mysql:5.7mysql:5.7jol

  • Web
docker run -d \
    --network hustoj
    --name hustoj.web \
    -e DB_HOST=<mysql_server> \
    -e DB_NAME=<mysql_database> \
    -e DB_USER=<mysql_username> \
    -e DB_PASS=<mysql_password> \
    -v data:/home/judge/data \
    -p 80:80 \
    registry.gitlab.com/mgdream/hustoj:web

ubuntu:18.04phpphp7.2db_info.inc.phpphpnginx

raspbian8/9 , ubuntu14.04 install

https://www.youtube.com/watch?v=hRap7ettUWc

rpi web core judged judge_client

LiveCD

Linux:

HUSTOJ_LiveCD("livecd" onlinejudge )

HUSTOJ_WindowsXP,QQ23361372

isoREADME,LiveCD

Linux

TK freeeproblemset

# 
wget http://update.aegis.aliyun.com/download/uninstall.sh
chmod +x uninstall.sh
./uninstall.sh
wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh
chmod +x quartz_uninstall.sh
./quartz_uninstall.sh
# 
pkill aliyun-service
rm -rf /etc/init.d/agentwatch /usr/sbin/aliyun-service
rm -rf /usr/local/aegis*

ps -aux | grep -E 'aliyun|AliYunDun'

: hustoj

FAQ Wiki

admin

                                                                            |  

----------------------------------------------------------------------------------- | ---------------------------- /home/judge/etc/judge.conf | judged judge_client /home/judge/src/web/include/db_info.inc.php | Web /etc/php5/fpm/php.ini /etc/php7.0/fpm/php.ini /etc/php.ini (in Centos7) | php /etc/nginx/sites-enabled/default /etc/nginx/nginx.conf (in Centos7) | nginx

50x /etc/nginx/nginx.conf

	worker_processes 8;    #8CPU
	events {
		worker_connections 2048;
		multi_accept on;
	}

xls /etc/nginx/sites-enabled/default fastcgi_pass

 	fastcgi_buffer_size 128k;
        fastcgi_buffers 32 32k;

nginx

install bak.sh

sudo bash /home/judge/src/install/bak.sh

/var/backups/

crontab sudo crontab -e

Ubuntu CentOS backup+.sh, *.tar.gzrestore+.sh

sudo bash /home/judge/src/install/backup+.sh

/home/judge/backup hustoj_%Y%m%d.tar.bz2

/home/judge/backup

cd /home/judge/backup
sudo bash /home/judge/src/install/restore.sh hustoj_%Y%m%d.tar.bz2

*backup+.sh.tar.gzrestore+.sh

install update-hustoj

sudo bash /home/judge/src/install/update-hustoj

web

web install fixing.sh

sudo bash /home/judge/src/install/fixing.sh

QQ 23361372 ``

TG

5

1

2 TK

3Star

4

5

6

QPS , @muzea HUSTOJ web

FPS

TK

FQ FPS


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (710,992
Php (405,047
C (276,688
Cpp (15,970
Mysql (12,353
Online (786
Online Judge (354
Acm Icpc (191
Related Projects