Updates in install scripts
This commit is contained in:
parent
1e81b8bb2f
commit
cac9c3ad3b
2 changed files with 8 additions and 3 deletions
|
@ -38,12 +38,17 @@ The recommended deployment of Mailtrain would use 3 DNS entries that all points
|
||||||
### Installation on fresh CentOS 7 (public website secured by SSL)
|
### Installation on fresh CentOS 7 (public website secured by SSL)
|
||||||
|
|
||||||
This will setup a publicly accessible Mailtrain instance. All endpoints (trusted, sandbox, public) will provide both HTTP (on port 80)
|
This will setup a publicly accessible Mailtrain instance. All endpoints (trusted, sandbox, public) will provide both HTTP (on port 80)
|
||||||
and HTTPS (on port 443). The HTTP ports just issue HTTP redirect to their HTTPS counterparts. The script below will also acquire a
|
and HTTPS (on port 443). The HTTP ports just issue HTTP redirect to their HTTPS counterparts.
|
||||||
valid certificate from [Let's Encrypt](https://letsencrypt.org/).
|
|
||||||
|
The script below will also acquire a valid certificate from [Let's Encrypt](https://letsencrypt.org/).
|
||||||
|
If you are hosting Mailtrain on AWS or some other cloud provider, make sure that **before** running the installation
|
||||||
|
script you allow inbound connection to ports 80 (HTTP) and 443 (HTTPS).
|
||||||
|
|
||||||
**Note,** that this will automatically accept the Let's Encrypt's Terms of Service.
|
**Note,** that this will automatically accept the Let's Encrypt's Terms of Service.
|
||||||
Thus, by running this script below, you agree with the Let's Encrypt's Terms of Service (https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf).
|
Thus, by running this script below, you agree with the Let's Encrypt's Terms of Service (https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
1. Login as root
|
1. Login as root
|
||||||
```
|
```
|
||||||
sudo -i
|
sudo -i
|
||||||
|
|
|
@ -92,7 +92,7 @@ EOT
|
||||||
|
|
||||||
# Install required node packages
|
# Install required node packages
|
||||||
for idx in client shared server zone-mta; do
|
for idx in client shared server zone-mta; do
|
||||||
(cd $idx && npm install)
|
(cd $idx && npm --unsafe-perm install)
|
||||||
done
|
done
|
||||||
|
|
||||||
(cd client && npm run build)
|
(cd client && npm run build)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue