Important

You are browsing the documentation for version 4.1 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation 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 unlock all the features so that you can quickly test the system after re-configuration or customization.

Note

The installation process terminates with the warning if the environment does not meet any of the system requirements. You can try relaunching 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 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.