How to Install SourceBans++ on EndeavourOS Latest

In this tutorial, you will learn how to install SourceBans++, a web-based ban management system for game servers, on EndeavourOS Latest.

Step 1: Install Required Packages

To install SourceBans++, we need to first install the following dependencies:

You can install all three dependencies by running the following command in the terminal:

sudo pacman -S apache php php-apache mariadb

After the installation, start and enable the Apache and MariaDB services:

sudo systemctl start httpd
sudo systemctl enable httpd
sudo systemctl start mariadb
sudo systemctl enable mariadb

Step 2: Configure MariaDB

We need to configure MariaDB for SourceBans++ by creating a new database and user.

Start the MariaDB shell:

sudo mariadb

Create a new database:

CREATE DATABASE sourcebans;

Create a new database user:

CREATE USER 'sourcebans'@'localhost' IDENTIFIED BY 'yourpassword';

Grant all privileges to the new user on the new database:

GRANT ALL PRIVILEGES ON sourcebans.* TO 'sourcebans'@'localhost';

Exit MariaDB shell:

exit

Step 3: Download and Install SourceBans++

Download the latest version of SourceBans++ from the official website:

wget https://github.com/sbpp/sourcebans-pp/releases/download/v1.6.3/sourcebans-pp-v1.6.3.zip

Unzip the downloaded file:

unzip sourcebans-pp-v1.6.3.zip

Move the unzipped SourceBans++ files to the Apache web root directory:

sudo mv sourcebans-pp/* /srv/http

Set permissions for the SourceBans++ files:

sudo chown -R http:http /srv/http

Step 4: Configure SourceBans++

Open the SourceBans++ configuration file using a text editor:

sudo nano /srv/http/config/global.php

Update the following settings in the configuration file:

$config['db_engine']         = 'mysqli';
$config['db_hostname']       = 'localhost';
$config['db_port']           = ''; // Leave empty
$config['db_username']       = 'sourcebans';
$config['db_password']       = 'yourpassword';
$config['db_name']           = 'sourcebans';

Save and close the configuration file.

Step 5: Access SourceBans++

Open a web browser and navigate to the following URL:

http://localhost/install/

Follow the on-screen instructions to complete the installation of SourceBans++. Once the installation is complete, you can access the SourceBans++ admin panel by going to:

http://localhost/admin/

Log in with the default username and password:

Username: admin
Password: sbbp_admin_password

Conclusion

You have successfully installed and configured SourceBans++ on EndeavourOS Latest. You can now start using SourceBans++ to manage bans for your game servers.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!