Last active
July 12, 2025 07:49
-
-
Save navnit-viradiya/c1ab800b72bbeed6059f85c0db2fb27a to your computer and use it in GitHub Desktop.
help-magento
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| php bin/magento config:set catalog/search/engine elasticsearch7 | |
| php bin/magento config:set catalog/search/elasticsearch7_server_hostname localhost | |
| php bin/magento config:set catalog/search/elasticsearch7_server_port 9200 | |
| php bin/magento config:set web/unsecure/base_url https://www.test.de/ | |
| php bin/magento config:set web/secure/base_url https://www.test.de/ | |
| Create admin user | |
| ----------------- | |
| php bin/magento admin:user:create --admin-user=navnit --admin-password=test@123 [email protected] --admin-firstname=born --admin-lastname=QA | |
| Change admin password | |
| --------------- | |
| php bin/magento admin:user:create --admin-user="admin" --admin-password="admin@123" --admin-email="[email protected]" --admin-firstname="OMS" --admin-lastname="Admin" | |
| File permissin | |
| -------------- | |
| find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + | |
| find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} + | |
| chown -R $USER:www-data . # Ubuntu | |
| chmod u+x bin/magento | |
| sudo find . -type f -exec chmod 644 {} \; | |
| sudo find . -type d -exec chmod 755 {} \; | |
| sudo chmod -R 0777 var/ pub/ generated/ | |
| Access adminer file | |
| ------------------- | |
| Add adminer file in magento/pub/ | |
| add adminer (new file name) into 'nginx.conf.sample' file | |
| Update customer password | |
| ------------------------- | |
| UPDATE `customer_entity` SET `password_hash` = CONCAT(SHA2('xxxxxxxtest@123', 256), ':xxxxxxx:1') WHERE `entity_id` = 533; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment