# Preparations
# connect to the server/vm via SSH
# go to the project root folder
# go to the `tools` folder
# run the `sudo ./fix_perms.sh` command
# go to the project root folder
# go to the `system/cache` folder
# run the `sudo rm -Rf core modules themes` command
# Part 1 (No Command-Line Compilation)
# perform the clean install
# login to the Admin Console
# go to the {nav Configuration > Website > Advanced} section
# scroll to the `System Settings` subsection
# confirm, that:
* the `Compiled Template Permission Mode` system setting is present
* it has hint
* it has 3 options in the dropdown
* the `No Command-Line Compilation` option is selected
# go to the {nav Tools > System Tools} section
# use the `Clear Templates Cache` functionality
# connect to the server/vm via SSH
# go to the project root folder
# confirm, that `system/cache/core/admin_templates/config` folder:
* is present
* has `drwxr-xr-x` permissions
# confirm, that `system/cache/core/admin_templates/config/config_universal.php` file:
* is present
* has `-rw-r--r--` permissions
# Part 2 (Command-Line Compilation with Server Configuration)
# login to the Admin Console
# go to the {nav Configuration > Website > Advanced} section
# scroll to the `System Settings` subsection
# change value of the `Compiled Template Permission Mode` system setting to the `Command-Line Compilation with Server Configuration` and save changes
# connect to the server/vm via SSH
# go to the project root folder
# confirm, that `system/cache/core/admin_templates/config` folder:
* is present
* has `drwxrwxr-x` permissions
# confirm, that `system/cache/core/admin_templates/config/config_universal.php` file:
* is present
* has `-rw-rw-r--` permissions
# Part 3 (Command-Line Compilation without Server Configuration (Security Risk) )
# login to the Admin Console
# go to the {nav Configuration > Website > Advanced} section
# scroll to the `System Settings` subsection
# change value of the `Compiled Template Permission Mode` system setting to the `Command-Line Compilation without Server Configuration (Security Risk) ` and save changes
# connect to the server/vm via SSH
# go to the project root folder
# confirm, that `system/cache/core/admin_templates/config` folder:
* is present
* has `drwxr-xrwx` permissions
# confirm, that `system/cache/core/admin_templates/config/config_universal.php` file:
* is present
* has `-rw-r--rw-` permissions
# Part 4 - upgrade
# repeat `Part 1`, `Part 2` and `Part 3`, but doing an upgrade instead of clean install
# Confirm, that `Compiled Template Permission Mode` system setting is positioned the same as during clean install