fix bugs of apache installing
[bottlenecks.git] / 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