Coder Social home page Coder Social logo

syh325 / hustoj Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhblue/hustoj

2.0 1.0 0.0 30.7 MB

HUSTOJ open source online judge, an Online Judge System for ACM/ICPC and NOIP training, with easy installation. 开源OJ系统

Home Page: http://www.hustoj.com/?cat=2

C++ 1.45% Makefile 0.36% C 3.32% Objective-C 0.19% Shell 0.35% PLSQL 0.19% Lex 0.91% Roff 0.36% TeX 0.26% PHP 18.09% CSS 2.57% JavaScript 70.74% Python 0.76% HTML 0.44%

hustoj's Introduction

hustoj -- 请一定认真看完本页再动手安装,勿谓言之不预!

根据你选择的发行版不同,从下面三个脚本里选一个来用。

不要相信百度来的长篇大论的所谓教程,那些都是好几年前的老皇历了,会导致不判题,不显示,不好升级等等问题。

首先安装Ubuntu14.04(最稳定),然后用下面脚本快速安装OJ:  

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

或者安装ubuntu16.04(不是特别稳定),然后用下面脚本快速安装OJ:  

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

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

发烧级用户ubuntu18.04(至少1年以上debian系Linux使用经验)

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

假如你不得已非要用centos7 (有的语言可能不支持),可以用下面脚本快速安装OJ:  

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

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

安装完成,用admin作为用户名注册一个用户,自动成为管理员。

安装后几个重要配置文件的位置

/home/judge/etc/judge.conf
/home/judge/src/web/include/db_info.inc.php
/etc/php5/fpm/php.ini 或 /etc/php7.0/fpm/php.ini
/etc/nginx/sites-enabled/default

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熟练用户参考使用,假如你不知道什么是docker,请假装没看见这一段!

docker run -d -it \
    -v /data/docker/docker-wxy/data:/data \
    --privileged \
    --name hustoj \
    -p 80:80 shiningrise/hustoj:latest

docker测试安装
	docker run -d -it --name hustoj -p 80:80 --privileged shiningrise/hustoj:latest
仅安装C++版本
	docker run -d -it --name hustoj -p 80:80 --privileged shiningrise/hustoj:cpp

树莓派用户请用rpi分支源码(实验性质)手工搭建web,并编译安装core目录下的judged和judge_client。

更多安装方法

有问题请先查阅 FAQWiki 或使用搜索引擎。  

使用上需要帮助,请加用户交流QQ群23361372,仅支持开通支付功能的手机QQ加群,不接受其他方式加群。 群共享有题库 安装盘 文档 ,群内可以讨论 答疑 。 新加群,请改群名片,5分钟后可以发言 。 请尊重开源软件开发者的辛苦劳动,出言不逊者将被踢出,群费不退。

Linux不熟悉的用户推荐使用: HUSTOJ_LiveCD(关注微信公众号onlinejudge获得百度云下载链接) https://proxy.us.storage.wooden.fish/aria2/hustoj20180331-16.04.iso https://proxy.us.storage.wooden.fish/aria2/hustoj20180331-14.04.iso

HUSTOJ_Windows(仅支持XP,QQ群23361372共享文件)进行安装。

使用说明见iso中README,也可以参考LiveCD简介

Linux新手请看鸟哥的私房菜

建好系统需要题目,请访问TK题库

前台演示

后台功能:

硬件需求:

微信公众号:hustoj HUSTOJ is an GPL FreeSoftware?.

HUSTOJ 是采用GPL的自由软件。

注意:基于本项目源码从事科研、论文、系统开发,"最好"在文中或系统中表明来自于本项目的内容和创意,否则所有贡献者可能会鄙视你和你的项目。使用本项目源码和freeproblemset题库请尊重程序员职业和劳动。

论文请引用参考文献基于开放式云平台的开源在线评测系统设计与实现

PS: GPL保证你可以合法忽略以上注意事项但不能保证你不受鄙视,呵呵。

如果这个项目对你有用,请挥动鼠标,右上角给个Star!

Star us, please!

hustoj's People

Contributors

amir-s avatar cattail avatar gagiel avatar greedydaam avatar gzz2000 avatar hsxfjames avatar kevin50406418 avatar lixin-wei avatar mastojun avatar maticsl avatar prclx323800 avatar progh2 avatar q1angch0u avatar ryanlee2014 avatar sflsgfs avatar shiningrise avatar slixurd avatar tico88612 avatar trickness avatar zhblue avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.