The Right Way to Install PrestaShop on Almalinux 8 10
0

Tutorial Learn how to install the Ecommerce Prestashop Store on Almalinux You can sell your products online using 8 servers

What PrestaShop?

As Presta, an open-source shopping portal, is availableShop It is free to download, and you can use it without any restrictions. HoweverPresta doesn’t have to be this way.Shop This is a low-cost solution for eCommerce. When You must pay web hosting before you can download the software. You’ll also likely need to buy multiple (often expensive) modules to integrate different software into your website. If You don’t need to be a technical expert, but you may consider working with a web designer.

Well, Prestashop The market offers paid and unpaid solutions. However, it is not the only one offering this service. Magento. HoweverPresta is an easy to use e-commerce platform for small and medium businesses.Shop Is a great place to be.

Steps To Install PrestaShop Almalinux 8

1. Requirements

To This is how to set this up PrestashopRPM-based systems are essential. Almalinux,  Apache Web-server MySQL/MariaDB and PHP AlsoThe user should be at minimum a nonroot user with sudo acces.

FirstDisable Selinux temporary:

sudo setenforce 0

 

2. Run Update on DNF

Core Presta Technologies and PlatformsShop They are currently available install from the official package source of AlmaLinuix, therefore, let’s first run the system update and upgrade command. This This will keep all packages installed on our server up-to-date.

sudo dnf update && sudo dnf upgrade

Also, install:

sudo dnf install nano wget unzip

 

2. Install LAMP Server Almalinux 8

LAMP server can be described as a combination of several technologies. Linux Platform, ApacheMySQL and PHP. So, let’s first install This is our Almalinux 8.

• Apache Webserver

Like Most Linux servers, Apache Already available are web server packages install Use default base repository Almalinux 8. ThereforeYou can set it up using the DNF package manger. Linux.

sudo dnf install http://www.d.

Enable Now, start the service

sudo systemctl enable --now httpd

Check status:

sudo systemctl status httpd

 

• Install Required extensions and PHP

The PHP default stable version available install PHP 7.4 is the base repository. Hence To install It should be accompanied by any extensions. Prestashop The following command should be used:

sudo dnf install php php-{zip,xml,gd,curl,intl,xmlrpc,mbstring,mysqli,bcmath,dom,posix,cli,pdo,posix,fpm,fileinfo,json,iconv}

NextIncrease the PHP memory limit and upload maximum files:

sudo sed -i 's/memory_limit = .*/memory_limit = 256M/' /etc/php.ini
sudo sed -i 's/post_max_size = .*/post_max_size = 64M/' /etc/php.ini
sudo sed -i 's/upload_max_filesize = .*/upload_max_filesize = 64M/' /etc/php.ini

 

• Install MariaDB Server

To Keep the Presta data.Shop MariaDB is the database server we require. To install It ran:

sudo dnf install mariadb-server mariadb

Start Allow it to provide its services

sudo systemctl enYou can find more information atble --now mariadb

 

3. Create a Database PrestaShop

Once You have the Database Server on your behalf AlmalinuxCreate a new database table with user and password. However, before that let’s secure our server instance:

sudo mysql_secure_installation

Follow The steps below will guide you through creating a MySQL root password, removing demo databases, limiting remote logins, and removing an anonymous user.

Now, Create You can find more information at Database:

Login To your database server

sudo mysql -u root -p

Enter You have chosen the password for the root user.

After To create a database, follow this command. Don’t forget to change Yourdb, Youruser Use yourPassword You can set any values you like for the database.

CREATE DATABASE yourdb
CREATE USER 'youruser'@'localhost' IDENTIFIED BY 'yourpassword';
GRANT ALL PRIVILEGES ON yourdb.* TO 'youruser'@'localhost';
EXIT

 

4. Download PrestaShop

The PrestaShop Alma does not offer the package for downloading.LinuxWe must therefore manually obtain it from it Github Repo. Visit It and the most recent release.

AlternativelyYou can also use the terminal for downloading it. RightClick on the most recent available file and copy the link.

Download the latest prestashop

In Your terminal 

Wget paste-link

For example:

Wget https://github.com/PrestaShop/PrestaShop/releases/download/1.7.8.5/prestashop_1.7.8.5+build.zip

Extract You can download the file from your webroot directory.

sudo unzip prestashop_*.zip -d /var/www/html/

Give Apache The user must have permission to extract the files.

sudo-chown –R apache:apache/var/www/html
sudo chmod -R 775 /var/www/html/

 

 

Open Ports in the firewall

If Use Cloud Hosting will then allow ports to be opened in the firewall, instead of OS.

sudo firewall cmd --permanent -zone=public -add-service=http
sudo firewall cmd --permanent -zone=public -add-service=https
sudo systemctl reload firewalld

 

5. Install PrestaShop On Almalinux 8

NowTo start the PrestaShop Start Presta, install Presta and then store configuration.Shop.

Example: http://server-ip-address Oder http://your-domain.com

Select Instalaltion language:

Prestashop install on Almalinux 8

Create Store By adding Shop name, Main activity, Install Demo Data (if required) Country, Enable SSL is optional in the details about the store.

After Create an admin account

Create ecommerce store on Prestashop

Enter Details of the Database You have made for Prestashop.

Setup Database for PRestashop

 

 

Other Articles:

The Right Way To Install PrestaShop Ubuntu 20.04 Server
The Right Way To Install Prestashop Manually configure modules
Install ApacheMySQL, PHP and AlmaLinux 8
The Right Way To Install Anydesk Almalinux 8

 

 

 

The Right Way to Install Skype on Almalinux 8 using terminal

Previous article

The Right Way to Install Anydesk on Almalinux 8

Next article

You may also like

Comments

Leave a Reply

More in Almalinux