From e26bf3eaa0afccc5379718530881fe3eab73e7dd Mon Sep 17 00:00:00 2001 From: rexlee8776 Date: Thu, 17 Dec 2015 01:49:20 +0000 Subject: fix bugs of apache installing JIRA:BOTTLENECK-24 Change-Id: Ifb0cb683b6012c019f5b51d74fcf8837eae96e01 Signed-off-by: rexlee8776 --- rubbos/rubbos_scripts/1-1-1/scripts/HTTPD_install.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rubbos/rubbos_scripts') 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 -- cgit 1.2.3-korg