%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/proc/thread-self/root/var/softaculous/magento246/
Upload File :
Create Path :
Current File : //proc/thread-self/root/proc/thread-self/root/var/softaculous/magento246/Notes.txt

1) Install twice manually, with and without sample data. Always check the difference between packages of with and without sample data and make sampledata.zip accordingly.
2) Always check the file permissions
3) Magento 2.4.2 supports only root directory installation. Check next version if it supports sub directory installation. If it does, make the changes accordingly in install as well as clone.
4) Use following command to install Magento 2.4 keeping elasticsearch service on. Check parameters if anything needs to be added or removed. https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli.html

./bin/magento setup:install --base-url=http://abc.com --db-host=localhost --db-name=magento242sd  --db-user=root  --db-password=mysql --db-prefix=prmg_ --admin-firstname=admin --admin-lastname=lastname --admin-email=a@a.com --admin-user=admin --admin-password=password --language=en_US --currency=USD --timezone=America/New_York --use-rewrites=1 --session-save=db --use-secure=1 --use-secure-admin=1 --cleanup-database

5) Check and copy pub/media/theme folder from manual to zip and check name of the images. It should match with entry in SQL.(without sample data)
6) Check and copy pub/media/* folder from manual to sampledata.zip and check name of the images. It should match with entry in SQL. (with sample data)
7) Take dump using mysql command mysqldump --routines -u root -ppass soft_mage282 > mage282.sql
8) "hash_config" values in indexer_state table is same for all installation from 2.1.0, hence no need to change this values.
9) We have disabled magento 2.x on windows because icons are not loading properly post login. This is happening because it redirects to symlinks to load all the icons and on windows symlinks are not created and also as per their requirement, magento 2.x is not supported on windows OS.
10) PHP REQUIREMENT LINK: https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements-tech.html ( IN 2.4.4 We have kept MariDB req to 10.2 as one of our user ( fatfingers ) wanted and req in di.xml allows MariaDB 10.3)
11) Magento 2.2.2 requires Apache mod_version to be enabled.
12) Upgrade is not possible at present because magento2 uses either system's upgrade utility or the command line upgrade. http://devdocs.magento.com/guides/v2.4/comp-mgr/bk-compman-upgrade-guide.html
13) Change "<item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink</item>" from di.xml "<item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Copy</item>" to disable symlink, it copies file to required place instead of making symlinks.
14) Move all Triggers and DELIMITERS to the end of sql.
15) Remove DEFINER=`root`@`localhost` from SQL file.
16) Keep extra entries in "core_config_data" table and adjust it's auto increment accordingly.
17) Sample data sub-category products loads only when ES service is ON.

############## MAGENTO 2.4.5 ##############
https://devdocs.magento.com/guides/v2.4/install-gde/install-flow-diagram.html

1 Download the package using following command.
php composer.phar create-project --repository-url=https://repo.magento.com/ magento/project-community-edition [[path]]

add sample data to it using following command.
bin/magento sampledata:deploy

2. Login to https://repo.magento.com/ and get access keys
use public key as username and private key as password for downloading package.

Zerion Mini Shell 1.0