From 37527b017a0559627a4f9c5392a186222b986204 Mon Sep 17 00:00:00 2001 From: yelyzaveta Date: Fri, 1 Mar 2024 10:33:03 +0100 Subject: [PATCH] WD-9297 - update /landscape/install --- templates/landscape/install.html | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) 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 @@

Minimum requirements for landscape server


  • For hardware: a dual core 2 Ghz processor, 4 GB of RAM, and 20 GB of disk space

  • -
  • For networking: an IP address and FQDN, with TCP communication allowed for SSH (typically port 22), HTTP (port 80), and HTTPS (port 443)
  • +
  • For networking: an IP address and FQDN, with TCP communication allowed for SSH (typically port 22), HTTP (port 80), HTTPS (port 443), and gRPC (6554)

  • -
  • DNS administration access for the hostname you will use to access Landscape is necessary, if you wish to use LetsEncrypt to obtain an SSL certificate.
  • +
  • DNS administration access for the domain you will use to access Landscape is necessary, if you wish to use LetsEncrypt to obtain an SSL certificate.
  • @@ -177,12 +177,9 @@

    Install

  • 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"
  • @@ -229,7 +226,7 @@

    Configure SSL

  • 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)
  • @@ -267,10 +264,10 @@

    Configure postfix for email

  • 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"