Skip to content

Commit

Permalink
Update install-ubuntu24.04.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Feb 12, 2025
1 parent 7f5d5e5 commit 6d9a325
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions trunk/install/install-ubuntu24.04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,9 @@ sed -i "s/DB_USER[[:space:]]*=[[:space:]]*\".*\"/DB_USER=\"$USER\"/g" src/web/in
sed -i "s/DB_PASS[[:space:]]*=[[:space:]]*\".*\"/DB_PASS=\"$PASSWORD\"/g" src/web/include/db_info.inc.php
chmod 700 src/web/include/db_info.inc.php
chown -R www-data:www-data src/web/

chown -R root:root src/web/.svn
chmod 750 -R src/web/.svn

chown www-data:www-data src/web/upload
chown www-data:judge data
chmod 750 -R data
chmod 710 -R data
if grep "client_max_body_size" /etc/nginx/nginx.conf ; then
echo "client_max_body_size already added" ;
else
Expand Down

0 comments on commit 6d9a325

Please sign in to comment.