Attention!
Magento version 2.4.0 or higher cannot be installed on the hosting, since they require the Elasticsearch module, which is on the hosting not supported.
To install Magento do the following:
-
Place the distribution files on the hosting:
-
-
-
Find a line like this:
Options +FollowSymlinks
Replace it with this:
Options +SymLinksIfOwnerMatch
Find all such blocks of code:
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
Replace each of them with this line:
Require all denied
-
Prepare the database:
Disable IP Access Restriction in
MySQL security settings... If this is not done, after specifying the connection data to the database, Magento will inform you that the user has insufficient rights and will not allow the installation to proceed.
Install:
Open the site in a browser.
Read the license and accept it.
Step 1: Readiness check. Click the test button and make sure that all the conditions for the installation are met (there is a green checkmark in each line).
Step 2: Add a database. Specify the settings for connecting to the database:
Step 3: Web config:
Step 4: Store setup. Specify the desired time zone, currency and language.
Step 5: Create an administrator account. Provide administrator details (they will be used to access
site admin panels):
Step 6: Installation. Click the install button and wait for the operation to complete.
For security
change access rights to catalog
app/etc
and remove write permissions in its properties.
Check the site is working.