diff --git a/templates/landscape/install.html b/templates/landscape/install.html index 6ff46a55fff..9aa08dc791e 100644 --- a/templates/landscape/install.html +++ b/templates/landscape/install.html @@ -25,9 +25,9 @@
Set your hostname using variables
-Replace landscape.yourdomain.com with the FQDN pointing to your server, and set the HOSTNAME and DOMAIN variables based on the FQDN.
+Set landscape.example.com with the FQDN pointing to your server.
HOST_NAME=landscape
-DOMAIN=yourdomain.com
-FQDN=$HOST_NAME.$DOMAIN
-sudo hostnamectl set-hostname "$FQDN"
+ sudo hostnamectl set-hostname "$FQDN"
Get and install your certificate
sudo certbot --apache --non-interactive --no-redirect --agree-tos --email $EMAIL --domains $FQDN
+ sudo certbot --apache --non-interactive --no-redirect --agree-tos --email $EMAIL --domains $(hostname --long)
Configure postfix
sudo postconf -e myhostname="$FQDN"
-sudo postconf -e mydomain="$DOMAIN"
-sudo postconf -e myorigin="$DOMAIN"
-sudo postconf -e masquerade_domains="$DOMAIN"
+ sudo postconf -e myhostname="$(hostname --long)"
+sudo postconf -e mydomain="$(hostname --domain)"
+sudo postconf -e myorigin="$(hostname --domain)"
+sudo postconf -e masquerade_domains="$(hostname --domain)"
sudo postconf -e mydestination=localhost
sudo postconf -e default_transport=smtp
sudo postconf -e relay_transport=smtp
@@ -420,7 +417,7 @@ Configure
Self-hosted Landscape users should set LANDSCAPE_ACCOUNT_NAME as standalone
, Landscape SaaS customers should specify their account name and set LANDSCAPE_FQDN as landscape.canonical.com
.
LANDSCAPE_ACCOUNT_NAME='standalone'
-LANDSCAPE_FQDN='landscape.yourdomain.com'
+LANDSCAPE_FQDN='landscape.example.com'
LANDSCAPE_COMPUTER_TITLE='My Computer'
@@ -483,7 +480,7 @@ Configure
Self-hosted Landscape users should set LANDSCAPE_ACCOUNT_NAME as standalone
, Landscape SaaS customers should specify their account name and set LANDSCAPE_FQDN as landscape.canonical.com
.
LANDSCAPE_ACCOUNT_NAME='standalone'
-LANDSCAPE_FQDN='landscape.yourdomain.com'
+LANDSCAPE_FQDN='landscape.example.com'
LANDSCAPE_COMPUTER_TITLE='My Computer'
@@ -515,7 +512,7 @@ Install
Self-hosted Landscape users should set LANDSCAPE_ACCOUNT_NAME as standalone
, Landscape SaaS customers should specify their account name and set LANDSCAPE_FQDN as landscape.canonical.com
.
LANDSCAPE_ACCOUNT_NAME='standalone'
-LANDSCAPE_FQDN='landscape.yourdomain.com'
+LANDSCAPE_FQDN='landscape.example.com'
@@ -577,8 +574,8 @@ Configure
client:
account_name: standalone
computer_title: "My Computer"
- url: "https://landscape.yourdomain.com/message-system"
- ping_url: "http://landscape.yourdomain.com/ping"
+ url: "https://landscape.example.com/message-system"
+ ping_url: "http://landscape.example.com/ping"