How to Install Prestashop CMS 1.7.5.1 on Ubuntu 18.10
- 01:20 mv prestashop_1.7.5.1.zip /var/www
- 01:50 unzip prestashop_1.7.5.1.zip -d prestashop
- 01:56 cd prestashop/
- 02:06 unzip prestashop.zip
- 02:25 chown -R www-data. ./
- 02:33 chmod -R 775 ./
- 02:48 vim /etc/apache2/sites-available/presta.conf
- 03:10 a2dissite 000-default.conf
- 03:18 a2ensite presta.conf
- 03:25 a2enmod rewrite
Installation of Prestashop CMS 1.7.5.1 On Ubuntu 18.10
Software Requirements:
Apache 1.3 or 2.x
Mysql 5.0+ installed with a database created
Php 5.4+
PHP Modules:
php php-gd php-pdo php-mysql php-mbstring php-simplexml php-mcrypt php-zip php-curl php-intl
Installation procedure
Move the Downloaded file of PrestaShop to Apache Document root directory.
root@linuxhelp:~# mv prestashop_1.7.5.1.zip /var/www
root@linuxhelp:~#cd /var/www
root@linuxhelp:/var/www# mkdir prestashop
Extract the zip file of prestashop in the prestashop directory that is residing in the apaches document root directory.
root@linuxhelp:/var/www# unzip prestashop_1.7.5.1.zip -d prestashop
root@linuxhelp:/var/www# cd prestashop/
root@linuxhelp:/var/www/prestashop# unzip prestashop.zip
root@linuxhelp:/var/www/prestashop# ll
total 77688
drwxr-xr-x 27 root root 4096 Apr 13 03:17 ./
drwxr-xr-x 4 root root 4096 Apr 13 03:16 ../
drwxr-xr-x 9 root root 4096 Feb 12 09:14 admin/
drwxr-xr-x 5 root root 4096 Feb 12 09:14 app/
-rw-r--r-- 1 root root 1230 Feb 12 07:19 autoload.php
drwxr-xr-x 2 root root 4096 Feb 12 07:19 bin/
drwxr-xr-x 8 root root 4096 Feb 12 07:19 cache/
drwxr-xr-x 24 root root 4096 Feb 12 07:19 classes/
-rw-r--r-- 1 root root 292512 Feb 12 07:19 composer.lock
drwxr-xr-x 5 root root 4096 Feb 12 07:19 config/
drwxr-xr-x 4 root root 4096 Feb 12 07:19 controllers/
-rw-r--r-- 1 root root 878 Feb 12 07:19 docker-compose.yml
drwxr-xr-x 6 root root 4096 Feb 12 07:19 docs/
drwxr-xr-x 2 root root 4096 Feb 12 07:19 download/
-rw-r--r-- 1 root root 2454 Feb 12 07:19 error500.html
-rw-r--r-- 1 root root 90 Feb 12 07:19 .eslintignore
-rw-r--r-- 1 root root 779 Feb 12 07:19 .eslintrc.js
-rw-r--r-- 1 root root 4733 Feb 12 07:19 images.inc.php
drwxr-xr-x 18 root root 4096 Feb 12 07:19 img/
-rw-rw-rw- 1 root root 703707 Feb 12 18:14 index.php
-rw-r--r-- 1 root root 1168 Feb 12 07:19 init.php
drwxr-xr-x 10 root root 4096 Feb 12 07:19 install/
-rw-rw-rw- 1 root root 441 Nov 27 14:41 Install_PrestaShop.html
-rw-r--r-- 1 root root 4943 Feb 12 07:19 INSTALL.txt
drwxr-xr-x 7 root root 4096 Feb 12 07:19 js/
-rw-r--r-- 1 root root 183529 Feb 12 09:13 LICENSES
drwxr-xr-x 3 root root 4096 Feb 12 07:19 localization/
drwxr-xr-x 3 root root 4096 Feb 12 07:19 mails/
drwxr-xr-x 59 root root 4096 Feb 12 09:14 modules/
drwxr-xr-x 5 root root 4096 Feb 12 07:19 override/
-rw-r--r-- 1 root root 66094 Feb 12 07:19 package-lock.json
drwxr-xr-x 2 root root 4096 Feb 12 07:19 pdf/
-rw-r--r-- 1 root root 1009 Feb 12 07:19 .php_cs.dist
-rw-rw-rw- 1 root root 78136275 Feb 12 18:14 prestashop.zip
drwxr-xr-x 5 root root 4096 Feb 12 07:19 src/
drwxr-xr-x 4 root root 4096 Feb 12 09:14 themes/
drwxr-xr-x 4 root root 4096 Feb 12 09:14 tools/
drwxr-xr-x 4 root root 4096 Feb 12 07:19 translations/
drwxr-xr-x 2 root root 4096 Feb 12 07:19 upload/
drwxr-xr-x 5 root root 4096 Feb 12 09:14 var/
drwxr-xr-x 43 root root 4096 Feb 12 09:14 vendor/
drwxr-xr-x 2 root root 4096 Feb 12 07:19 webservice/
Assign the Ownership permissions to the prestashop directory
root@linuxhelp:/var/www/prestashop# chown -R www-data. ./
Assign the writable permissions to prestashop directory
root@linuxhelp:/var/www/prestashop# chmod -R 775 ./
Create a Customised Configuration File for prestashop CMS
root@linuxhelp:/var/www/prestashop# vim /etc/apache2/sites-available/presta.conf
Disable the default sites
root@linuxhelp:/var/www/prestashop# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the Prestashop site
root@linuxhelp:/var/www/prestashop# a2ensite presta.conf
Enabling site presta.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module
root@linuxhelp:/var/www/prestashop# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
Restart the service of Apache.
systemctl restart apache2
Configure the MariaDB database for Prestashop CMS
root@linuxhelp:/var/www/prestashop# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 55
Server version: 10.1.29-MariaDB-6ubuntu2 Ubuntu 18.10
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database presta character set utf8mb4;
Query OK, 1 row affected (0.21 sec)
MariaDB [(none)]> use presta;
Database changed
MariaDB [presta]> grant all on presta.* to user@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.63 sec)
MariaDB [presta]> flush privileges;
Query OK, 0 rows affected (0.35 sec)
MariaDB [presta]> exit
Bye
Restart the service of Apache.
root@linuxhelp:/var/www/prestashop# systemctl restart apache2;
Enter the Servername in the url that has configured inside the virtual hosting of PrestaShop CMS Choose the language in the Welcome Page Of PrestaShop CMS and Click Next. Agree the license terms And Click next to proceed further.
After the successful verification of prestashop Compatibility with system environments ,Click Next Enroll the store information and login Credentials , Click Next Enter the database details to verify the database connection and click Next Installation Of PrestaShop is finished Click front-office to view the website from client point of view. Installation Of PrestaShop CMS 1.7.5.1 On Ubuntu 18.10 Comes to end.
Comments ( 0 )
No comments available