© 2017 Altair d.o.o. Slovenia

  • Facebook - White Circle
  • LinkedIn - White Circle
  • Google+ - White Circle

Installing OpenCart 3.0 on Linux Debian 9

June 22, 2017

1. Download the distribution of Debian 9 from https://www.debian.org/distrib/

2. Install Debiain 9 without root password (your account will be given the power to become root using the "sudo" command). Turn on the Web Server features.

 

3. After the installation is complete, install the following packages:

sudo apt-get install dkms build-essential linux-headers-amd64 mc

4. Install Webmin:

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.840_all.deb
sudo dpkg --install webmin_1.840_all.deb

If there are problems with dependencies, execute:

sudo apt --fix-broken install

and again: sudo dpkg --install webmin_1.840_all.deb

5. If Debian 9 is installed in a virtual environment (such as VM VirtualBox), install VirtualBox additions:

insert VBoxGuestAdditions.iso and run script sudo sh ./VBoxLinuxAdditions.run

6. Install PHP:

sudo apt-get install php7.0 php7.0-curl php7.0-gd php7.0-mysql php7.0-zip php7.0-mbstring php-xml

7. Install MySQL using Webmin:

Press "Click here" button to install MySQL.

 

8. Create SQL database and user with root permissions using Webmin too:

 

9. Restart Debian 9.

10. Download OpenCart 3 from https://www.opencart.com/index.php?route=cms/download/history​

11. Copy Upload map from OpenCart archive to /var/www/html folder on Debian 9.

12. Set permissions for /var/www/html folder to 777:

 

13. Rename files config_dist.php and /admin/config_dist.php to config.php and /admin/config.php

14. Open up a web browser and enter in the web address of Debian.

 

Check the second page of installation wizard. All statuses must be green.

 

15. Finish installation:

Do not forget to delete Install folder.

 

16. Open up a web browser and enter in the web address of Debian. The next page should open after login:

 

17. Set permissions back: the following files need to be set to 644 or 444 to prevent anyone else from writing to them: config.php, index.php, admin/config.php, admin/index.php, system/startup.php. For all other files - 755.

Share on Facebook
Please reload

Povezane
Please reload