Merge "fix bugs of apache installing"
authorJun Li <matthew.lijun@huawei.com>
Thu, 17 Dec 2015 02:20:05 +0000 (02:20 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Thu, 17 Dec 2015 02:20:05 +0000 (02:20 +0000)
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