Prepare Installation Environment¶
Before you can start OroCommerce, prepare the physical or virtual environment that will host your OroCommerce deployment.
It is recommended to host application server and database server on separate servers.
Prepare the Application Server¶
Allocate physical or virtual machine and the necessary network resources.
Install one of the supported operation systems.
Install and Configure a Web Application Server(s) (Apache or nginx).
If Composer has been installed globally, it is enough to type composer in the console, in order to execute it.
Optional: To efficiently use the assets shipped with the OroCommerce, it is recommended to install node.js. Detailed installation instructions are available in the node.js installation document.
Please ensure that all the system requirements are met by the installation environment.
Prepare Other Servers and Systems¶
Install and configure the following, if necessary:
- Mail server
- Message Queue (Rabbit MQ)
- Cache (Redis, APCu, or memcached)
- Search Engine (Elastic Search)
Consider using scalability recommendations for OroCommerce deployment if you plan heavy load on the storage due to the large amount of data or on the servers due to the extremely frequent requests.
Prepare the Database Server¶
Add a record to your DNS Server to map Oro application hostname (e.g., oro.example.com) with the IP address it runs on.
For local deployment, update the hosts file (e.g., 127.0.0.1 oro.example.com).
Once you have prepared the environment, you may proceed with downloading OroCommerce files and required packages.