summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2015-12-17 01:49:20 +0000
committerRex Lee <limingjiang@huawei.com>2015-12-17 02:07:54 +0000
commite26bf3eaa0afccc5379718530881fe3eab73e7dd (patch)
treef4803aade3fbeb6dec4ec77b2841a0cd332bfaf2
parent25982d8736e103682a5e07b91e85b5be5b801ca0 (diff)
fix bugs of apache installing
JIRA:BOTTLENECK-24 Change-Id: Ifb0cb683b6012c019f5b51d74fcf8837eae96e01 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
-rwxr-xr-xrubbos/rubbos_scripts/1-1-1/scripts/HTTPD_install.sh6
1 files changed, 6 insertions, 0 deletions
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