Code Review
/
bottlenecks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
fix bugs of apache installing
[bottlenecks.git]
/
rubbos
/
rubbos_scripts
/
1-1-1
/
scripts
/
HTTPD_install.sh
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
5a2a4c5
..
1c388d2
100755
(executable)
--- 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