Skip to content

Magento eCommerce Suite Installeren op Rocky Linux 9 met Elasticsearch

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.

 

 

 

Magento is een krachtige eCommerce-platform die een robuuste serveropstelling vereist. Volg deze stappen om Magento te installeren op uw VPS-server die draait op Rocky Linux 9 met Elasticsearch.

Vereisten

  • Een VPS-server die Rocky Linux 9 draait
  • Root- of sudo-toegang
  • Basiskennis van de opdrachtregel

Stap 1: Update uw systeem

Zorg ervoor dat uw systeem up-to-date is:

sudo dnf update -y

Stap 2: Installeer de vereiste afhankelijkheden

Installeer de benodigde pakketten:

sudo dnf install -y httpd php php-cli php-fpm php-mysqlnd php-xml php-mbstring php-json php-zip php-soap php-intl php-gd php-curl git

Stap 3: Installeer Elasticsearch

Stel het Elasticsearch-repository in:

sudo rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
echo "[elasticsearch-7.x]
name=Elasticsearch repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
enabled=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch" | sudo tee /etc/yum.repos.d/elasticsearch.repo

Installeer Elasticsearch:

sudo dnf install -y elasticsearch

Start en schakel de Elasticsearch-service in:

sudo systemctl start elasticsearch
sudo systemctl enable elasticsearch

Stap 4: Download en installeer Magento

Ga naar de webroot-directory:

cd /var/www/html

Download Magento met Composer:

Visual overview of Magento eCommerce Suite Installeren op Rocky Linux 9 met Elasticsearch
Visual overview: Magento eCommerce Suite Installeren op Rocky Linux 9 met Elasticsearch
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .

Stap 5: Stel machtigingen in

Stel de juiste machtigingen voor de Magento-directory in:

sudo chown -R apache:apache /var/www/html/*
sudo find /var/www/html -type d -exec chmod 755 {} \;
sudo find /var/www/html -type f -exec chmod 644 {} \;

Stap 6: Configureer Apache

Maak een nieuwe Apache-configuratiebestand voor Magento:

sudo nano /etc/httpd/conf.d/magento.conf

Voeg de volgende configuratie toe:

<VirtualHost *:80>
    DocumentRoot "/var/www/html"
    ServerName your_domain.com

    <Directory "/var/www/html">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

Vervang your_domain.com door uw eigen domeinnaam.

Stap 7: Herstart Apache

Herstart de Apache-service om de wijzigingen toe te passen:

sudo systemctl restart httpd

Stap 8: Voltooi de Magento-installatie

Open uw webbrowser en ga naar http://your_domain.com. Volg de instructies op het scherm om het installatieproces van Magento te voltooien.

Conclusie

U heeft met succes de Magento eCommerce Suite geïnstalleerd op uw Rocky Linux 9 VPS-server met Elasticsearch. U kunt nu beginnen met het opbouwen van uw online winkel!

Windows VPS Deutschland

Windows VPS España

Key topics covered in Magento eCommerce Suite Installeren op Rocky Linux 9 met Elasticsearch
Key topics covered in this NetCloud24 guide.

Windows VPS Nederland

Windows VPS Italia

Windows VPS Portugal

VPS Windows Italia

Windows VPS

Windows VPS

Windows VPS Sverige

Windows VPS Norge

Windows VPS

Windows VPS Türkiye

Practical checklist for Magento eCommerce Suite Installeren op Rocky Linux 9 met Elasticsearch
Practical checklist for applying the guidance in this article.

Windows RDS (Remote Desktop Services)

Windows VPS

Magento eCommerce Suite Installeren op Rocky Linux 9 met Elasticsearch
Magento eCommerce Suite Installeren op Rocky Linux 9 met Elasticsearch
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.