diff options
author | Jun Li <matthew.lijun@huawei.com> | 2015-12-17 02:20:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-12-17 02:20:05 +0000 |
commit | e3d9ae4123b420f8fa06a794062f67045dbac2b0 (patch) | |
tree | 9fcd954ddfa56ba4c07cfcc950b1a0a7fb741f84 /rubbos/rubbos_scripts/1-1-1/scripts/HTTPD_install.sh | |
parent | 0824983484f058a0a382d7ae1b193a6c48db770e (diff) | |
parent | e26bf3eaa0afccc5379718530881fe3eab73e7dd (diff) |
Merge "fix bugs of apache installing"
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/scripts/HTTPD_install.sh')
-rwxr-xr-x | rubbos/rubbos_scripts/1-1-1/scripts/HTTPD_install.sh | 6 |
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 |