fix bugs of apache installing 37/4737/2
authorrexlee8776 <limingjiang@huawei.com>
Thu, 17 Dec 2015 01:49:20 +0000 (01:49 +0000)
committerRex Lee <limingjiang@huawei.com>
Thu, 17 Dec 2015 02:07:54 +0000 (02:07 +0000)
JIRA:BOTTLENECK-24

Change-Id: Ifb0cb683b6012c019f5b51d74fcf8837eae96e01
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
rubbos/rubbos_scripts/1-1-1/scripts/HTTPD_install.sh

index 5a2a4c5..1c388d2 100755 (executable)
@@ -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