Skip to content

AnthonySSC/pelican-installer

 
 

Repository files navigation

🐦 pelican-installer

Test Panel Test Wings Shellcheck License: GPL v3 made-with-bash

Unofficial scripts for installing Pelican Panel & Wings. Works with the latest version of Pelican!

Read more about Pelican here. This script is not associated with the official Pelican Project.

Features

  • Automatic installation of the Pelican Panel (dependencies, database, cronjob, nginx).
  • Automatic installation of the Pelican Wings (Docker, systemd).
  • Panel: (optional) automatic configuration of Let's Encrypt.
  • Panel: (optional) automatic configuration of firewall.
  • Uninstallation support for both panel and wings.

Supported installations

List of supported installation setups for panel and Wings (installations supported by this installation script).

Supported panel and wings operating systems

Operating System Version Supported PHP Version
Ubuntu 18.04 🔴 * 8.1
20.04 8.3
22.04 8.3
24.04 8.3
Debian 10 🔴 * 8.1
11 8.3
12 8.3
Rocky Linux 9 8.3
AlmaLinux 9 8.3

* Indicates an operating system and release that previously was supported by this script.

Using the installation scripts

To use the installation scripts, simply run this command as root. The script will ask you whether you would like to install just the panel, just Wings or both.

bash <(curl -s https://raw.githubusercontent.com/AnthonySSC/pelican-installer/main/install.sh)

Note: On some systems, it's required to be already logged in as root before executing the one-line command (where sudo is in front of the command does not work).

Here is a YouTube video that illustrates the installation process.

Firewall setup

The installation scripts can install and configure a firewall for you. The script will ask whether you want this or not. It is highly recommended to opt-in for the automatic firewall setup.

Development & Ops

Testing the script locally

To test the script, we use Vagrant. With Vagrant, you can quickly get a fresh machine up and running to test the script.

If you want to test the script on all supported installations in one go, just run the following.

vagrant up

If you only want to test a specific distribution, you can run the following.

vagrant up <name>

Replace name with one of the following (supported installations).

  • ubuntu_focal
  • ubuntu_jammy
  • ubuntu_noble
  • debian_bullseye
  • debian_bookworm
  • rockylinux_9
  • almalinux_9

Then you can use vagrant ssh <name of machine> to SSH into the box. The project directory will be mounted in /vagrant so you can quickly modify the script locally and then test the changes by running the script from /vagrant/installers/panel.sh and /vagrant/installers/wings.sh respectively.

Creating a release

In install.sh github source and script release variables should change every release. Firstly, update the CHANGELOG.md so that the release date and release tag are both displayed. No changes should be made to the changelog points themselves. Secondly, update GITHUB_SOURCE and SCRIPT_RELEASE in install.sh. Finally, you can now push a commit with the message Release vX.Y.Z. Create a release on GitHub. See this commit for reference.

Contributors ✨

Copyright (C) 2018 - 2024, Vilhelm Prytz, [email protected], and contributors!

Thanks to the Discord moderators sam1370, Linux123123 and sinjs for helping on the Discord server! contributors

About

🐦 Unofficial installation scripts for Pelican Panel

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 99.1%
  • Python 0.9%