From: Jun Li Date: Thu, 17 Dec 2015 02:20:05 +0000 (+0000) Subject: Merge "fix bugs of apache installing" X-Git-Tag: brahmaputra.1.0~62 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=e3d9ae4123b420f8fa06a794062f67045dbac2b0;hp=0824983484f058a0a382d7ae1b193a6c48db770e;p=bottlenecks.git Merge "fix bugs of apache installing" --- diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/HTTPD_install.sh b/rubbos/rubbos_scripts/1-1-1/scripts/HTTPD_install.sh index 5a2a4c5c..1c388d2d 100755 --- a/rubbos/rubbos_scripts/1-1-1/scripts/HTTPD_install.sh +++ b/rubbos/rubbos_scripts/1-1-1/scripts/HTTPD_install.sh @@ -5,6 +5,12 @@ source set_bottlenecks_rubbos_env.sh echo "INSTALLING APACHE on $HOSTNAME" +echo "Adding new user apache begin" +useradd apache +groupadd apache +usermod -G apache apache +echo "Adding new user apache end" + mkdir -p $BOTTLENECKS_TOP chmod 755 $BOTTLENECKS_TOP mkdir -p $RUBBOS_TOP