---
title: "How to Install Pepperminty Wiki on Debian Latest - CloudBlast"
description: "How to Install Pepperminty Wiki on Debian Latest"
url: "https://cloudblast.io/ar/article/How-to-Install-Pepperminty-Wiki-on-Debian-Latest"
language: "ar-SA"
---

المدونة

# How to Install Pepperminty Wiki on Debian Latest

رصيد مجاني 5€ عند التسجيل

سجّل في CloudBlast واحصل على رصيد سحابي مجاني بقيمة 5€ لنشر خوادم VPS الخاصة بك

[احصل على 5€ مجانًا](https://console.cloudblast.io/auth/login?ref=2)

-   [رجوع](https://cloudblast.io/ar)
-   [جميع المقالات](https://cloudblast.io/ar/blog)

2024-09-04

### How to Install Pepperminty Wiki on Debian Latest

tutorials

Pepperminty Wiki is a lightweight, open-source wiki software written in PHP. This guide will take you through the steps to install Pepperminty Wiki on a Debian system.

**Prerequisites**

Ensure you have the following before starting:

-   A Debian system with root or sudo access.
-   PHP 7.4 or later installed.
-   Apache or Nginx web server configured.
-   Git installed.

**Step 1: Install Git**

To clone the Pepperminty Wiki repository from GitHub, Git needs to be installed. Use the following commands:

> sudo apt-get update
> sudo apt-get install git

**Step 2: Clone Pepperminty Wiki Repository**

Clone the repository to your system:

> git clone https://github.com/sbrl/Pepperminty-Wiki.git

This clones the repository into a directory named `Pepperminty-Wiki`.

**Step 3: Configure Apache or Nginx**

Set up your web server to host the Pepperminty Wiki directory as a virtual host.

**Configuring Apache**

Create a virtual host configuration file:

> sudo nano /etc/apache2/sites-available/pepperminty-wiki.conf

Add and save the following configuration:

> <VirtualHost \*:80>
>   ServerAdmin admin@example.com
>   ServerName wiki.example.com
>   DocumentRoot /path/to/Pepperminty-Wiki
>   <Directory /path/to/Pepperminty-Wiki>
>     Options FollowSymLinks
>     AllowOverride All
>     Require all granted
>   </Directory>
>   ErrorLog ${APACHE\_LOG\_DIR}/wiki\_error.log
>   CustomLog ${APACHE\_LOG\_DIR}/wiki\_access.log combined
> </VirtualHost>

Enable this virtual host:

> sudo a2ensite pepperminty-wiki.conf

Restart Apache:

> sudo systemctl restart apache2

**Configuring Nginx**

Create a server block configuration file:

> sudo nano /etc/nginx/sites-available/pepperminty-wiki.conf

Add and save the following configuration:

> server {
>   listen 80;
>   server\_name wiki.example.com;
>   root /path/to/Pepperminty-Wiki;
>   index index.php;
>
>   location / {
>     try\_files $uri $uri/ /index.php?$query\_string;
>   }
>
>   location ~ \\.php$ {
>     include snippets/fastcgi-php.conf;
>     fastcgi\_pass unix:/run/php/php7.4-fpm.sock;
>   }
>
>   error\_log /var/log/nginx/wiki\_error.log;
>   access\_log /var/log/nginx/wiki\_access.log;
> }

Enable this server block:

> sudo ln -s /etc/nginx/sites-available/pepperminty-wiki.conf /etc/nginx/sites-enabled/

Restart Nginx:

> sudo systemctl restart nginx

**Step 4: Configure Pepperminty Wiki**

Next, configure Pepperminty Wiki to connect to your database.

Copy the example configuration file:

> cp config.example.php config.php

Edit the `config.php` file to set your database credentials:

> define('DB\_HOST', 'localhost');
> define('DB\_PORT', '3306');
> define('DB\_NAME', 'peppermintywiki');
> define('DB\_USER', 'wikiuser');
> define('DB\_PASSWORD', 'wikipassword');

**Step 5: Install Dependencies**

Install Composer and the required dependencies:

> sudo apt-get install composer
> cd Pepperminty-Wiki
> composer install --no-dev

**Step 6: Create Database and Tables**

Create a new database and tables for Pepperminty Wiki:

> mysql -u root -p
> CREATE DATABASE peppermintywiki;
> GRANT ALL PRIVILEGES ON peppermintywiki.\* TO 'wikiuser'@'localhost' IDENTIFIED BY 'wikipassword';
> FLUSH PRIVILEGES;
> exit
> mysql -u wikiuser -p peppermintywiki < database.sql

Use the database credentials set in Step 4.

**Step 7: Access Pepperminty Wiki**

Access Pepperminty Wiki by visiting your virtual host URL:

> http://wiki.example.com

Congratulations! You have successfully installed Pepperminty Wiki on your Debian system. You can now begin to create and manage your wiki pages.

مشاركة

## متابعة القراءة

[2026-07-25 How to Install and Set Up Mailcow on Ubuntu and Debian VPS tutorials](https://cloudblast.io/article/how-to-install-and-setup-mailcow-on-ubuntu-and-debian-vps)

[2026-07-25 How to Install Chatwoot on the Latest Ubuntu and Debian Server tutorials](https://cloudblast.io/article/how-to-install-chatwoot-on-ubuntu-and-debian-server)

[2026-07-25 How to Install Mattermost on the Latest Ubuntu and Debian Server tutorials](https://cloudblast.io/article/how-to-install-mattermost-on-ubuntu-and-debian-server)

[2026-07-25 How to Install RustDesk on the Latest Ubuntu and Debian Server tutorials](https://cloudblast.io/article/how-to-install-rustdesk-on-ubuntu-and-debian-server)
