Skip to content

Linux VPS & VPS Windows Setup Guide | NetCloud24 Prestashop on Ubuntu 22.04

Netcloud24
Cloud Infrastructure Expert
NetCloud24 Expert Guides Open the dedicated video page

Video transcript: NetCloud24 Expert Guides. Practical knowledge for a reliable cloud. Cloud and VPS expertise, security, performance, and step-by-step tutorials. Learn, deploy, and keep building with NetCloud24.

Introduction

PrestaShop is a free, open-source e-commerce platform. This tutorial will guide you through the process of installing PrestaShop on Ubuntu 22.04.

Prerequisites

Before you begin, ensure you have:

  1. An Ubuntu 22.04 server or desktop system
  2. SSH access to the server (optional)
  3. Root or sudo privileges

Step 1: Install LAMP Stack

Install Apache, MySQL, and PHP:

sudo apt update
sudo apt install -y apache2 mysql-server php php-mysql libapache2-mod-php

Step 2: Configure MySQL

Secure MySQL installation:

sudo mysql_secure_installation

Create a new MySQL database and user for PrestaShop:

sudo mysql -u root -p
CREATE DATABASE prestashopdb CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'prestashopuser'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON prestashopdb.* TO 'prestashopuser'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Step 3: Download and Extract PrestaShop

Download the latest version of PrestaShop:

cd /tmp
wget https://download.prestashop.com/download/releases/prestashop_1.7.8.1.zip

Unzip the downloaded file:

sudo apt install -y unzip
unzip prestashop_1.7.8.1.zip

Step 4: Move PrestaShop Files

Move the PrestaShop files to the Apache web root directory:

sudo mv prestashop/* /var/www/html/

Step 5: Set Permissions

Set proper permissions for PrestaShop:

Visual overview of Linux VPS & VPS Windows Setup Guide | NetCloud24 Prestashop on Ubuntu 22.04
Visual overview: Linux VPS & VPS Windows Setup Guide | NetCloud24 Prestashop on Ubuntu 22.04
sudo chown -R www-data:www-data /var/www/html/

Step 6: Complete Installation

Open a web browser and navigate to your server’s IP address or domain name.

Follow the on-screen instructions to complete the installation:

  • Choose your language and click “Next”.
  • Read and accept the license agreements.
  • Enter your MySQL database information (database name, username, and password).
  • Follow the rest of the installation steps to configure your shop.

Step 7: Cleanup

Remove the installation files for security:

sudo rm -rf /var/www/html/install/

Conclusion

Congratulations! You have successfully installed PrestaShop on Ubuntu 22.04. You can now start building your e-commerce website using PrestaShop.

Windows VPS Deutschland

Windows VPS España

Windows VPS Nederland

Windows VPS Italia

Key topics covered in Linux VPS & VPS Windows Setup Guide | NetCloud24 Prestashop on Ubuntu 22.04
Key topics covered in this NetCloud24 guide.

Windows VPS Portugal

VPS Windows Italia

Windows VPS

Windows VPS

Windows VPS Sverige

Windows VPS Norge

Windows VPS

Windows VPS Türkiye

Windows RDS (Remote Desktop Services)

Practical checklist for Linux VPS & VPS Windows Setup Guide | NetCloud24 Prestashop on Ubuntu 22.04
Practical checklist for applying the guidance in this article.

Windows VPS

Linux VPS & VPS Windows Setup Guide | NetCloud24 Prestashop on Ubuntu 22.04
Linux VPS & VPS Windows Setup Guide | NetCloud24 Prestashop on Ubuntu 22.04
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.