archer811 / hustoj

Automatically exported from code.google.com/p/hustoj
0 stars 0 forks source link

Need help about words in README #87

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
README里面“
##########添加用户 useradd --uid 1536 judge judge_client.cc:424
setuid(1536); ==> //设置判题用户//
编译判题服务器、客户端
          需要make g++ libmysql++-dev 
        (yum install gcc-c++  mysql-devel  / apt-get install g++ libmysql++-dev)
    mkdir /home/judge/
    mkdir /home/judge/etc
    mkdir /home/judge/data
    mkdir /home/judge/log
    mkdir /home/judge/run0

cd hustoj-read-only/core/
sudo ./make.sh
”这段是手动安装需要还是自动安装也要?

能不能详细说明一下“
##########添加用户 useradd --uid 1536 judge judge_client.cc:424
setuid(1536); ==> //设置判题用户//
“在哪里做?

Original issue reported on code.google.com by huangyi1...@gmail.com on 2 Mar 2013 at 3:38

GoogleCodeExporter commented 9 years ago
useradd --uid 1536 judge 这句在xterm用root或sudo执行

下面是解释要这样做的原因,源码中的行号和程序,无需执��
�
judge_client.cc:424 setuid(1536); ==> //设置判题用户

此外README已经比较老了,建议用install.sh或livecd。
linux熟悉的话可以自己编译安装

Original comment by newsc...@gmail.com on 27 Mar 2013 at 3:22

GoogleCodeExporter commented 9 years ago
谢谢,已经自己逐行运行install.sh了。。。

确实,readme里好多内容都不适用了。。

Original comment by huangyi1...@gmail.com on 28 Mar 2013 at 7:04

GoogleCodeExporter commented 9 years ago
I'll handle this one.

Original comment by newsc...@gmail.com on 3 Mar 2014 at 1:09