GNU/Linux >> Linux Esercitazione >  >> Debian

Come installare OpenCart su Debian 9 Stretch

Come installare OpenCart su Debian 9 Stretch

In questa guida ti mostriamo come installare e configurare OpenCart su Debian 9. OpenCart è una piattaforma e-commerce open source basata su PHP, ricca di funzionalità per la gestione di negozi online.

La procedura richiede uno stack LAMP già installato.

Installare OpenCart su Debian 9 Stretch

Passo 1. Aggiorna il sistema:

apt update
apt upgrade

Passo 2. Scarica OpenCart:

sudo wget https://github.com/opencart/opencart/releases/download/3.0.3.1/opencart-3.0.3.1.zip
sudo unzip opencart-3.0.3.1.zip
sudo mv upload/ /var/www/html/opencart
sudo cd /var/www/html/opencart/
sudo cp config-dist.php config.php
sudo cp admin/config-dist.php admin/config.php
sudo chown -R www-data:www-data /var/www/html/opencart/

Passo 3. Proteggi MariaDB e crea il database:

mysql_secure_installation
mysql -u root -p

Crea il database OpenCart:

CREATE DATABASE opencart;
GRANT ALL PRIVILEGES ON opencart.* TO 'admin_user'@'localhost' IDENTIFIED BY 'Your_Strong_Password';
FLUSH PRIVILEGES;
exit;

Passo 4. Configura Apache creando un VirtualHost per il tuo dominio con DocumentRoot /var/www/html/opencart/ e AllowOverride All. Riavvia Apache:

sudo systemctl restart apache2

Congratulazioni! Hai installato OpenCart su Debian 9. Per ulteriori informazioni, consulta il sito ufficiale OpenCart.

Debian
  1. Installare Tomcat 8.5 su Debian 9

  2. Installare MongoDB Community Edition su Debian 9: guida completa

  3. Installare ownCloud 10 su Debian 9 Stretch

  4. Come installare Nginx su Debian 9 Stretch

  5. Come installare WildFly su Debian 9 Stretch

Come installare Vagrant su Debian 9 Stretch

Come installare MongoDB su Debian 9 Stretch

Come installare Go su Debian 9 Stretch

Come installare Yarn su Debian 9 Stretch

Come installare OpenCart su Debian 9 Stretch

Installare Go su Debian 11 Bullseye