OroCommerce 4.2
CloudPanel v1 is obsolete
CloudPanel v1 is obsolete; check out the CloudPanel v2 Docs.
On this page, we explain step by step how to setup OroCommerce 4.2 with CloudPanel.
Installation
In the following example we will setup OroCommerce under the domain www.domain.com.
Preparation
Before we can start with the installation, we need to create an SSH User, a Database, and a Domain.
When you Add the Domain, make sure to select the OroCommerce 4.1 Vhost Template and the right PHP Version.
Document Root
Make sure to point the Document Root to the public directory.
Installation
To install OroCommerce do the following steps:
- Login via SSH to the server e.g. with john-ssh and go to the htdocs directory:
cd /home/cloudpanel/htdocs/
- Delete the project directory which has been created by CloudPanel:
rm -rf /home/cloudpanel/htdocs/www.domain.com
- Install via composer:
php7.4 /usr/local/bin/composer create-project oro/commerce-crm-application:4.2.* www.domain.com --repository=https://satis.oroinc.com
- Enter the database credentials and other parameters:
- Run oro:install command:
php7.4 /home/cloudpanel/htdocs/www.domain.com/bin/console oro:install --env=prod --timeout=8000
Enter the Application URL, Organization name and the admin Username and Password:
- Reset permissions.
cd /home/cloudpanel/htdocs/
clpctl system:permissions:reset www.domain.com 775
- Done! You can now open your domain in your browser and start working with OroCommerce.
The admin area can be reached at the following path: https://www.domain.com/admin/