From: rexlee8776 Date: Thu, 17 Dec 2015 01:49:20 +0000 (+0000) Subject: fix bugs of apache installing X-Git-Tag: brahmaputra.1.0~62^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=bottlenecks.git;a=commitdiff_plain;h=e26bf3eaa0afccc5379718530881fe3eab73e7dd fix bugs of apache installing JIRA:BOTTLENECK-24 Change-Id: Ifb0cb683b6012c019f5b51d74fcf8837eae96e01 Signed-off-by: rexlee8776 --- 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