Skip to content

Ubuntu 24.04 Server'a PrestaShop Kurulumu

Cloud Infrastructure Expert
Ubuntu 24.04 Server'a PrestaShop Kurulumu

 

 

PrestaShop, kendi çevrimiçi ma?azan?z? olu?turman?za ve yönetmenize olanak tan?yan popüler bir aç?k kaynak eCommerce platformudur. Ubuntu 24.04 çal??an VPS sunucunuza PrestaShop’u kurmak için bu ad?mlar? izleyin.

Ön Gereksinimler

  • Ubuntu 24.04 çal??an bir VPS sunucusu
  • Root veya sudo eri?imi
  • Temel komut sat?r? bilgisi

Ad?m 1: Sistemi Güncelleyin

Sisteminizin güncel oldu?undan emin olun:

sudo apt update && sudo apt upgrade -y

Ad?m 2: Gerekli Ba??ml?l?klar? Yükleyin

Gerekli paketleri yükleyin:

sudo apt install -y apache2 mysql-server php libapache2-mod-php php-mysql php-xml php-mbstring php-curl php-zip php-gd

Ad?m 3: MySQL’i Ba?lat?n ve Güvenli Hale Getirin

MySQL hizmetini ba?lat?n:

sudo systemctl start mysql

MySQL kurulumu güvenli hale getirin:

sudo mysql_secure_installation

Root ?ifrenizi ayarlamak ve veritaban?n?z? güvence alt?na almak için talimatlar? izleyin.

Ad?m 4: PrestaShop için Veritaban? Olu?turun

MySQL’e giri? yap?n:

sudo mysql -u root -p

PrestaShop için bir veritaban? ve kullan?c? olu?turun:

CREATE DATABASE prestashop;
CREATE USER 'prestashop_user'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON prestashop.* TO 'prestashop_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Ad?m 5: PrestaShop’u ?ndirin

Web kök dizinine gidin:

cd /var/www/html

PrestaShop’un en son sürümünü indirin:

wget https://download.prestashop.com/download/releases/prestashop_1.7.8.5.zip

?ndirilen dosyay? ç?kar?n:

unzip prestashop_1.7.8.5.zip

Ad?m 6: ?zinleri Ayarlay?n

PrestaShop dizini için do?ru izinleri ayarlay?n:

sudo chown -R www-data:www-data /var/www/html/*
sudo chmod -R 755 /var/www/html/*

Ad?m 7: Apache’yi Yap?land?r?n

PrestaShop için yeni bir Apache yap?land?rma dosyas? olu?turun:

sudo nano /etc/apache2/sites-available/prestashop.conf

A?a??daki yap?land?rmay? ekleyin:

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

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

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

your_domain.com k?sm?n? gerçek alan ad?n?zla de?i?tirin.

Ad?m 8: Apache’yi Yeniden Ba?lat?n

Yap?land?rma de?i?ikliklerini uygulamak için Apache hizmetini yeniden ba?lat?n:

sudo systemctl restart apache2

Ad?m 9: PrestaShop Kurulumunu Tamamlay?n

Web taray?c?n?z? aç?n ve http://your_domain.com adresine gidin. PrestaShop kurulumunu tamamlamak için ekrandaki talimatlar? izleyin.

Sonuç

Ubuntu 24.04 üzerindeki VPS sunucunuza PrestaShop’u ba?ar?yla kurdunuz. Art?k çevrimiçi ma?azan?z? olu?turmaya ba?layabilirsiniz!

Windows VPS Deutschland

Windows VPS España

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

Windows RDS (Remote Desktop Services)

Windows VPS

Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.