Skip to content

Commit

Permalink
Merge pull request #72 from Boy132/update/dependencies-part
Browse files Browse the repository at this point in the history
Update dependencies part of "getting started"
  • Loading branch information
notAreYouScared authored Aug 30, 2024
2 parents 873e288 + 95af813 commit 96e8d97
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions docs/panel/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,19 @@ SQLite support depends on [libsqlite3-0_3.35+](https://pkgs.org/download/libsqli
Ubuntu 20.04 & Debian 11 do not meet this requirement.

### Dependencies
<Admonition type="warning">
The `ondrej/php` repository is required to install the latest versions of PHP and its required extensions.

It can be added with the following command.
```sh
sudo add-apt-repository ppa:ondrej/php
```
</Admonition>
For the Panel you need to install **PHP `8.3` (recommended) or `8.2`**, with the following **extensions**:
`gd`, `mysql`, `mbstring`, `bcmath`, `xml`, `curl`, `zip`, `intl`, `sqlite3` and `fpm`.

You will also need a Webserver. Currently, **Apache, NGINX or Caddy** are supported.

* PHP `8.3` (recommended) or `8.2` with the following extensions: `gd`, `mysql`, `mbstring`, `bcmath`, `xml`, `curl`, `zip`, `intl`, `sqlite3` and `fpm`
* MySQL `8` (`mysql-server`) **or** MariaDB `10.3`+
* A webserver (Apache, NGINX, Caddy, etc.)
* `curl`
* `tar`
* `composer` v2
If you want to use MySQL or MariaDB for the panel database make sure to install either **MySQL 8+ or MariaDB 10.3+**. (both client and server!)

Finally, for some commands during the installation you need `curl`, `tar` and `unzip`.

<Admonition type="warning">
Please make sure you installed **all** needed dependencies before continuing!
</Admonition>

### Create Directories & Downloading Files

Expand All @@ -65,8 +63,9 @@ mkdir -p /var/www/pelican
cd /var/www/pelican
```

Once you have created a new directory to use and moved into it you'll need to download the Panel files. This
is as simple as using `curl` to download the latest release.
Once you have created a new directory to use and moved into it, you'll need to download the Panel files.
This is as simple as using `curl` to download the latest release.

```sh
curl -L https://github.com/pelican-dev/panel/releases/latest/download/panel.tar.gz | sudo tar -xzv
```
Expand All @@ -81,4 +80,4 @@ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/loca

```sh
sudo composer install --no-dev --optimize-autoloader
```
```

0 comments on commit 96e8d97

Please sign in to comment.