summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts
diff options
context:
space:
mode:
authorJun Li <matthew.lijun@huawei.com>2015-12-17 02:20:05 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-17 02:20:05 +0000
commite3d9ae4123b420f8fa06a794062f67045dbac2b0 (patch)
tree9fcd954ddfa56ba4c07cfcc950b1a0a7fb741f84 /rubbos/rubbos_scripts
parent0824983484f058a0a382d7ae1b193a6c48db770e (diff)
parente26bf3eaa0afccc5379718530881fe3eab73e7dd (diff)
Merge "fix bugs of apache installing"
Diffstat (limited to 'rubbos/rubbos_scripts')
-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