diff --git a/scripts/install_dev.sh b/scripts/install_dev.sh index 61b7bf04f..b9604fae2 100755 --- a/scripts/install_dev.sh +++ b/scripts/install_dev.sh @@ -83,6 +83,14 @@ fi echo "local:${LOCAL_ADDR}" if [ $OSNAME != "macos" ];then + + if id www &> /dev/null ;then + echo "" + else + groupadd www + useradd -g www -s /usr/sbin/nologin www + fi + mkdir -p /www/server mkdir -p /www/wwwroot mkdir -p /www/wwwlogs