Skip to content

Debian 12 Üzerine Cachet Durum Sayfas? Sistemini Kurma

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.

 

 

Cachet, kullan?c?lar?n?za olaylar ve kullan?labilirlik hakk?nda bilgi vermenize yard?mc? olan aç?k kaynakl? bir durum sayfas? sistemidir. Cachet’i VPS sunucunuza kurmak için bu ad?mlar? izleyin.

Ön Gereksinimler

  • Debian 12 çal??an bir VPS sunucusu
  • Root veya sudo eri?imi
  • Komut sat?r? hakk?nda temel bilgiler

Ad?m 1: Sistemi Güncelleyin

Sisteminizin güncel oldu?undan emin olun:

sudo apt update && sudo apt upgrade -y

Ad?m 2: Gerekli Paketleri Kurun

Cachet, PHP ve birkaç PHP uzant?s?n?n yan? s?ra bir web sunucusu ve veritaban? sunucusu gerektirir. Gerekli paketleri kurun:

sudo apt install nginx php8.0-fpm php8.0-cli php8.0-mysql php8.0-curl php8.0-xml php8.0-mbstring git unzip
sudo apt install mariadb-server

Ad?m 3: Veritaban?n? Yap?land?r?n

  1. MariaDB hizmetini ba?lat?n:
    sudo systemctl start mariadb
  2. MariaDB kurulumunu güvence alt?na al?n:
    sudo mysql_secure_installation
  3. MariaDB’ye giri? yap?n:
    sudo mysql -u root -p
  4. Cachet için bir veritaban? ve kullan?c? olu?turun:
    CREATE DATABASE cachet;
    CREATE USER 'cachetuser'@'localhost' IDENTIFIED BY 'your_password';
    GRANT ALL PRIVILEGES ON cachet.* TO 'cachetuser'@'localhost';
    FLUSH PRIVILEGES;
    EXIT;

Ad?m 4: Cachet’i Kurun

  1. Web kök dizinine gidin:
    cd /var/www/
  2. Cachet deposunu klonlay?n:
    git clone https://github.com/CachetHQ/Cachet.git cachet
  3. Cachet dizinine gidin:
    cd cachet
  4. Composer ile ba??ml?l?klar? kurun. E?er Composer’?n?z yoksa, ?u komutla kurabilirsiniz:
    curl -sS https://getcomposer.org/installer | php
    sudo mv composer.phar /usr/local/bin/composer

    Ard?ndan, çal??t?r?n:

    composer install --no-dev

Ad?m 5: Cachet’i Yap?land?r?n

  1. Örnek ortam dosyas?n? kopyalay?n:
    cp .env.example .env
  2. .env dosyas?n? aç?n ve veritaban? bilgilerini ayarlay?n:
    DB_DATABASE=cachet
    DB_USERNAME=cachetuser
    DB_PASSWORD=your_password
  3. Göçleri çal??t?r?n:
    php artisan migrate --seed

Ad?m 6: Nginx’i Yap?land?r?n

Yeni bir Nginx yap?land?rma dosyas? olu?turun:

sudo nano /etc/nginx/sites-available/cachet

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

Visual overview of Debian 12 Üzerine Cachet Durum Sayfas? Sistemini Kurma
Visual overview: Debian 12 Üzerine Cachet Durum Sayfas? Sistemini Kurma
server {
    listen 80;
    server_name your_domain.com; # Bunu kendi domaininizle de?i?tirin

    root /var/www/cachet/public;
    index index.php index.html index.htm;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/var/run/php/php8.0-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
}

Yeni siteyi etkinle?tirin ve Nginx yap?land?rmas?n? test edin:

sudo ln -s /etc/nginx/sites-available/cachet /etc/nginx/sites-enabled/
sudo nginx -t

Nginx’i yeniden ba?lat?n:

sudo systemctl restart nginx

Ad?m 7: Kurulumu Tamamlay?n

Taray?c?n?zda http://your_domain.com adresini ziyaret ederek kurulumu tamamlay?n. Cachet örne?inizi yap?land?rmak için ekrandaki talimatlar? izleyin.

Sonuç

Debian 12 VPS sunucunuzda Cachet Durum Sayfas? Sistemini ba?ar?yla kurdunuz. Art?k kullan?c?lar?n?za durum güncellemelerini etkili bir ?ekilde iletebilirsiniz!

Windows VPS Deutschland

Windows VPS España

Windows VPS Nederland

Windows VPS Italia

Windows VPS Portugal

Key topics covered in Debian 12 Üzerine Cachet Durum Sayfas? Sistemini Kurma
Key topics covered in this NetCloud24 guide.

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 Debian 12 Üzerine Cachet Durum Sayfas? Sistemini Kurma
Practical checklist for applying the guidance in this article.

Windows VPS

Debian 12 Üzerine Cachet Durum Sayfas? Sistemini Kurma
Debian 12 Üzerine Cachet Durum Sayfas? Sistemini Kurma
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.