Skip to content

Flarum Community Software Installeren op Debian 12

Cloud Infrastructure Expert
Flarum Community Software Installeren op Debian 12

 

 

In deze gids laten we u zien hoe u Flarum, een krachtig forumsoftware, installeert op Debian 12. Deze instructies zijn bedoeld voor gebruikers met een server VPS.

Stap 1: Systeemvereisten

Voordat u begint, zorg ervoor dat uw Debian 12-systeem is bijgewerkt:

sudo apt update
sudo apt upgrade

Stap 2: Noodzakelijke pakketten installeren

Installeer de benodigde PHP-extensies en andere vereisten:

sudo apt install -y php php-cli php-fpm php-mysql php-json php-mbstring php-xml php-curl composer nginx

Stap 3: Flarum Downloaden

Download Flarum via Composer:

composer create-project flarum/flarum .

Stap 4: Nginx Configureren

Maak een nieuwe configuratie voor uw Flarum-installatie in Nginx:

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

Voeg de volgende configuratie toe:

server {
        listen 80;
        server_name your_domain.com;  # vervang dit door uw domeinnaam

        root /path/to/flarum;  # vervang dit door het pad naar uw Flarum-installatie

        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/php7.4-fpm.sock;  # controleer of dit correct is voor uw PHP-versie
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include fastcgi_params;
        }

        location ~ /\.ht {
            deny all;
        }
    }

Schakel de site in en herstart Nginx:

sudo ln -s /etc/nginx/sites-available/flarum /etc/nginx/sites-enabled/
sudo systemctl restart nginx

Stap 5: Voltooi de installatie

Navigeer naar uw domein in een webbrowser om de installatie van Flarum te voltooien. Volg de instructies op het scherm om uw database- en gebruikersinstellingen in te voeren.

Conclusie

Gefeliciteerd! U hebt met succes Flarum geïnstalleerd op uw server VPS. U kunt nu uw nieuwe forum beginnen te configureren en te gebruiken.

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.