Category : Programming
To start with the OpenCart 2 installation process let’s first obtain the installation package which can be downloaded via the Official OpenCart Download Page. Click on the Download link next to the latest available version of OpenCart 2 and save the file on your local computer.
When the download process is complete extract the archive on your local computer and open the newly created directory. Inside the extracted folder you should see several files and a folder called “upload“. This folder contains all files and folders that need to be uploaded on your hosting account in order to proceed with the installation process.
Before proceeding to the next step you will need to rename the two configuration files of OpenCart. The first one is located under the upload directory and it is called config-dist.php, please rename this file to config.php.
The second file is located under the /admin/ folder and it is also called config.-dist.php. You need to rename this file to config.php as well.
STEP 3 Access the OpenCart 2 Installation wizard
The OpenCart 2 Installation wizard gives you the ability to finalize your OpenCart 2 installation in a 4-step process. Open your favorite browser and access your hosting account via your domain name. This should direct you to the OpenCart 2 installation page.
The first step requires to accept the License Agreement. When you are ready to proceed click on the Continue button.
The next step will perform a basic check of all files to make sure that all OpenCart 2 files and folders are present.
If you have followed the steps in this tutorial closely everything should be OK with your files and folders. In case any of your files are not writable you might need to consult with the install.txt file included in the installation archive or contact your hosting provider to fix your files and folders permissions.
During the next step of the installation process you will be asked for the Database and administrative login credentials. To proceed further with the installation process you should create a MySQL database with a user with sufficient permissions. You need to create a Database at localhost/phpmyadmin
When you are ready, please fill in your database name, username and password as well as the desired admin username and password. The latter will be used to access your OpenCart 2 admin dashboard. To finalize the installation process, please click on the Continue button.
This should finalize the installation process and see the final screen of the OpenCart 2 Installation Wizard.
For security reasons, please access your hosting account via FTP and remove the “install” directory.