SourceBans++ is a powerful and easy-to-use web interface to manage bans and other features in Source Engine games. In this tutorial, we will guide you through the installation process of SourceBans++ on Debian Latest.
Before starting the installation process, make sure that you have the following prerequisites:
Start by updating the system packages to ensure that your server is up-to-date:
sudo apt update && sudo apt upgrade
SourceBans++ requires several dependencies to be installed on your system. You can install them by running the following command:
sudo apt install apache2 php php-mysql php-curl php-xml php-mbstring php-zip mysql-server
During the installation process, you will be prompted to set up a root password for MySQL server.
To download and install SourceBans++, follow these steps:
sudo tar -xzf sbpp.tar.gz -C /var/www/html/
Where /var/www/html/
is your Apache web server's root directory.
sudo chown -R www-data:www-data /var/www/html/sbpp/
SourceBans++ uses MySQL to store and manage data. You need to create a new MySQL database and user for SourceBans++:
sudo mysql -u root -p
CREATE DATABASE sbpp;
CREATE USER 'sbppuser'@'localhost' IDENTIFIED BY 'yourpasswordhere';
Replace yourpasswordhere
with your chosen password.
GRANT ALL PRIVILEGES ON sbpp.* TO 'sbppuser'@'localhost';
FLUSH PRIVILEGES;
exit
Now, you need to configure SourceBans++ to use the MySQL database:
cd /var/www/html/sbpp/config/
global.example.php
file to global.php
:sudo mv global.example.php global.php
global.php
file using your preferred text editor:sudo nano global.php
define('SB_DATABASE', '127.0.0.1');
define('SB_DATABASE_PORT', 3306);
define('SB_DATABASE_NAME', 'sbpp');
define('SB_DATABASE_USER', 'sbppuser');
define('SB_DATABASE_PASS', 'yourpasswordhere');
Replace 127.0.0.1
, sbpp
, sbppuser
, and yourpasswordhere
with your MySQL database information.
global.php
file.Now that you have installed and configured SourceBans++, follow these final steps:
sudo systemctl restart apache2
http://your_server_ip_or_domain/sbpp
Congratulations! You have successfully installed and configured SourceBans++ on Debian Latest.
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!