The Esri installation instruction has some missing or wrong information. For example, setup program is located at /arcgis/portal if you install it from AWS Marketplace. Shell script argument is -lf, not -la for listadministratorusertypes.sh .
edit createportal.properties and fill in the property values such as PORTAL_ADMIN_USERNAME, PORTAL_ADMIN_PASSWORD, and PORTAL_LICENSE_FILE.
The 'password' field can only have the numbers 0-9, the ASCII letters a-z, A-Z and the dot character (.).
Run ./createportal.sh -f createportal.properties
Unable to connect to https://172.31.49.200:7443/arcgis/portaladmin. Check the URL and restart the portal if necessary. Exiting the createportal utility.
The above command will encrypt password in creatportal.properties. It takes a long time so please be patient. At the end, it will show the following output:
================================================== Starting the createportal utility. ================================================== Checking if the portal is initialized. The portal is not initialized. Configuring the portal. The portal is created successfully. Waiting for the portal to restart. Populating the portal license. You may access the portal by navigating to: https://172.31.49.200:7443/arcgis/home The createportal utility completed successfully. Stopping the createportal utility.
Run./listadministratorusertypes.sh -lf /home/arcgis/ArcGIS_Enterprise_Portal_107_283791_20190814.json. You'll get the following output.
================================================== Starting the listadministratorusertypes utility. ================================================== Checking if the portal is initialized. Checking if the portal is configured. The portal has already been configured. You may access the portal by navigating to: https://172.31.49.200:7443/arcgis/home Stopping the listadministratorusertypes utility.
Become root and run # systemctl enable arcgisportal.service
It is OK to run multiple portals with the same license.