Installing PrestaShop on a Debian VPS

If you want to create your own online store, installing a Content Management System (CMS) like PrestaShop on a Debian Virtual Private Server (VPS) is an excellent choice. PrestaShop allows you to easily manage your product catalog, orders, and payments, providing a high level of security and performance. Let’s look at how to install PrestaShop on a Debian VPS.

Step 1: Connecting to the VPS via SSH

Before you begin installing PrestaShop, you need to connect to your VPS using SSH. Use a terminal or remote access program, entering your server’s IP address, username, and password.

ssh username@your_server_ip

Step 2: Installing Necessary Packages

After successfully connecting to the server, update the package list and install the necessary dependencies.

VPS Hosting

Servidores virtuales con recursos garantizados

Elegir VPS

sudo apt update

sudo apt install apache2 php php-mysql mariadb-server php-mbstring php-xml php-curl unzip

Step 3: Setting up the Database

Create a new MySQL database and user for PrestaShop.

sudo mysql

CREATE DATABASE prestashop;

CREATE USER 'prestashop_user'@'localhost' IDENTIFIED BY 'password';

GRANT ALL PRIVILEGES ON prestashop.* TO 'prestashop_user'@'localhost';

FLUSH PRIVILEGES;

Step 4: Downloading and Installing PrestaShop

Download the latest version of PrestaShop, extract the archive, and move the files to your web server directory.

wget https://www.prestashop.com/download/old/prestashop_1.7.7.1.zip

unzip prestashop_1.7.7.1.zip

sudo mv prestashop /var/www/html/

Step 5: Completing the Installation via the Web Interface

Open your browser and enter your website address. Follow the PrestaShop installation wizard instructions, specifying your database connection parameters and administrative details.

Congratulations! You now have PrestaShop installed on your Debian VPS. Start creating your online store and grow your business online!