There are some default good practice when installing/configure a server and I think is good to follow them and improve where is possible. I tend to use [ apt ] instead of [ apt-get ] as they are almost the same: apt is designed for end-users (human) and its output may be changed between versions > Means the output is…
Set Environment Variable [Developer or Production Mode] (M2)
First, will be a good idea to check the current MODE: php bin/magento deploy:mode:show The main idea is to have this (environment) variable MAGE_MODE set to one of this values: Default Developer Production To change the MODE in Magento for the moment there are 3 ways: From CLI (you'll be 100% sure it changed) # we are using…