Important
You are browsing documentation for version 5.0 of OroCommerce, supported until January 2025. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
Silent Installation
For silent installation, use -n (no interaction) and -q (silence the output messages) parameters, and set the required parameters value, like in the example below. Replace items in bold with the information specific to your deployment.
php -dxcache.cacher=0 bin/console oro:install
--application-url=<URL that is configured as an entry point for Oro application>
--env=prod
--user-name=admin
--user-email=admin@example.com
--user-firstname=John
--user-lastname=Doe
--user-password=admin
--sample-data=y
--organization-name="Acme, Inc"
--language=en
--formatting-code=en
--timeout=10000
Note
Use –sample-data=y only for learning purposes, test deployments, and pre-production deployments. In this mode, OroCommerce is populated with sample data that help you quickly unlock all the features to test the system after re-configuration or customization.
Note
The installation process terminates with a warning if the environment does not meet any of the system requirements. Try relaunching the installation after you fix the reported issue(s).
If any problem occurs, you can see the details in var/logs/oro_install.log
file.
Hint
Normally, the installation process is terminated if it detects an already-existing installation.
Hint
After the installation is finished, remember to run php bin/console oro:api:doc:cache:clear
to warm up the API documentation cache. This process may take several minutes.