|
@ -154,7 +154,6 @@ print("Running new DB instance...") |
|
|
print("------------------------------------") |
|
|
print("------------------------------------") |
|
|
|
|
|
|
|
|
userDataDB = ('#!/bin/bash\n' |
|
|
userDataDB = ('#!/bin/bash\n' |
|
|
'#!/bin/bash\n' |
|
|
|
|
|
'# extra repo for RedHat rpms\n' |
|
|
'# extra repo for RedHat rpms\n' |
|
|
'yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm\n' |
|
|
'yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm\n' |
|
|
'# essential tools\n' |
|
|
'# essential tools\n' |
|
@ -214,7 +213,6 @@ userDataWebServer = ('#!/bin/bash\n' |
|
|
'yum install -y httpd php php-mysql\n' |
|
|
'yum install -y httpd php php-mysql\n' |
|
|
'\n' |
|
|
'\n' |
|
|
'service httpd start\n' |
|
|
'service httpd start\n' |
|
|
'service httpd start\n' |
|
|
|
|
|
'\n' |
|
|
'\n' |
|
|
# 'wget http://mmnet.informatik.hs-fulda.de/cloudcomp/tug-of-war-in-the-clouds.tar.gz\n' |
|
|
# 'wget http://mmnet.informatik.hs-fulda.de/cloudcomp/tug-of-war-in-the-clouds.tar.gz\n' |
|
|
# 'cp tug-of-war-in-the-clouds.tar.gz /var/www/html/\n' |
|
|
# 'cp tug-of-war-in-the-clouds.tar.gz /var/www/html/\n' |
|
|