Skip to content

Commit 9e70955

Browse files
authored
Update install.sh
1 parent 33ee926 commit 9e70955

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

trunk/install/install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ DATABASE=`cat $config|grep 'OJ_DB_NAME' |awk -F= '{print $2}'`
4949
PORT=`cat $config|grep 'OJ_PORT_NUMBER' |awk -F= '{print $2}'`
5050
IP=`curl http://hustoj.com/ip.php`
5151
LIP=`ip a|grep inet|grep brd|head -1|awk '{print $2}'|awk -F/ '{print $1}'`
52-
52+
cd /home/judge/src/web/
53+
wget dl.hustoj.com/hello.tar.gz
54+
tar xzf hello.tar.gz
55+
chown www-data -R hello
5356
clear
5457
reset
5558

0 commit comments

Comments
 (0)