स्थानीय कंप्यूटर पर Magento 2.4.1 संग्रह स्थापित करें (लुबंटू 18.04.5)

Nov 30 2020

मैंने नीचे दिए गए लिंक का अनुसरण किया।

https://devdocs.magento.com/guides/v2.4/install-gde/prereq/zip_install.html

मैंने एक उपयोगकर्ता की अनुमति निर्धारित की है।

परंतु...

जब मैंने Magento रूट फ़ोल्डर में 'sudo कंपोज़र इंस्टॉल' टाइप किया।

$sudo composer install

Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package sebastian/finder-facade is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
81 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
PHP CodeSniffer Config installed_paths set to ../../magento/magento-coding-standard,../../phpcompatibility/php-compatibility

जवाब

1 fmsthird Nov 30 2020 at 23:02

मुझे यकीन नहीं है लेकिन यह मेरे लिए काम करता है।
एक बार जब आप सभी संगीतकार संकुल और elasticsearch स्थापित किया है, तो आप के साथ आगे बढ़ सकते हैं Magento स्थापना आदेश, आप भी जाँच कर सकते हैं इस :

bin/magento setup:install \
--base-url=http://localhost/magento2ce \
--db-host=localhost \
--db-name=magento \
--db-user=magento \
--db-password=magento \
--admin-firstname=admin \
--admin-lastname=admin \
[email protected] \
--admin-user=admin \
--admin-password=admin123 \
--language=en_US \
--currency=USD \
--timezone=America/Chicago \
--use-rewrites=1 \
--search-engine=elasticsearch7 \
--elasticsearch-host=localhost \
--elasticsearch-port=9200

यदि स्थापना के बाद कुछ सीएसएस और जेएस त्रुटियां हैं, तो आपको केवल अपग्रेड और स्टैटिक-कंटेंट परिनियोजित कमांड चलाने की आवश्यकता है।