From 9e6dfd6d0b58c7014c67d4cd5b31e47f1db1ed56 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 25 Dec 2018 13:18:28 +0100 Subject: [PATCH] Updates in install scripts --- README.md | 14 ++++++++++++++ setup/install-ubuntu1804-https.sh | 11 +++++++++++ setup/install-ubuntu1804-local.sh | 1 - 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 setup/install-ubuntu1804-https.sh diff --git a/README.md b/README.md index 455d8b44..b982de12 100644 --- a/README.md +++ b/README.md @@ -55,10 +55,17 @@ Thus, by running this script below, you agree with the Let's Encrypt's Terms of ``` 2. Install git + + For Centos 7 type: ``` yum install -y git ``` + For Ubuntu 18.04 LTS type: + ``` + apt-get install -y git + ``` + 3. Download Mailtrain using git to the `/opt/mailtrain` directory ``` cd /opt @@ -111,10 +118,17 @@ All endpoints (trusted, sandbox, public) will provide only HTTP as follows: ``` 2. Install git + + For Centos 7 type: ``` yum install -y git ``` + For Ubuntu 18.04 LTS type: + ``` + apt-get install -y git + ``` + 3. Download Mailtrain using git to the `/opt/mailtrain` directory ``` cd /opt diff --git a/setup/install-ubuntu1804-https.sh b/setup/install-ubuntu1804-https.sh new file mode 100644 index 00000000..17b95336 --- /dev/null +++ b/setup/install-ubuntu1804-https.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +hostType=ubuntu1804 + +SCRIPT_PATH=$(dirname $(realpath -s $0)) +. $SCRIPT_PATH/functions +cd $SCRIPT_PATH/.. + +performInstallHttps "$#" "$1" "$2" "$3" "$4" \ No newline at end of file diff --git a/setup/install-ubuntu1804-local.sh b/setup/install-ubuntu1804-local.sh index 77002917..bbd2b5e4 100644 --- a/setup/install-ubuntu1804-local.sh +++ b/setup/install-ubuntu1804-local.sh @@ -1,7 +1,6 @@ #!/bin/bash set -e -set -x hostType=ubuntu1804