SourceBans++ is a powerful administration tool for Source Engine-based games such as Counter-Strike: Global Offensive and Team Fortress 2. In this tutorial, we will guide you through the process of installing SourceBans++ on a Manjaro Linux system.
Before you begin, make sure that your Manjaro Linux system is updated and has the following packages installed:
You can install these packages using the pacman package manager:
sudo pacman -S php php-gd php-mbstring php-mysql php-mysqli php-pdo_mysql mariadb
First, you need to download the latest version of SourceBans++ from the official website:
wget https://sbpp.dev/download/latest -O sourcebans.zip
Next, you need to install the MariaDB database server and create a new database and user for SourceBans++. Follow these steps to install and configure MariaDB:
sudo pacman -S mariadb
sudo systemctl enable mariadb
sudo systemctl start mariadb
sudo mysql_secure_installation
sudo mariadb
Once you are in the MariaDB console, run the following SQL commands to create a new database for SourceBans++:
CREATE DATABASE sourcebans;
GRANT ALL PRIVILEGES ON sourcebans.* TO 'sbppuser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
exit
Note: Replace 'password' with a strong password of your choice.
Next, extract the sourcebans.zip file using the following command:
unzip sourcebans.zip -d /var/www/html/
Now, you need to configure SourceBans++ by editing the configuration file. Open the file /var/www/html/sourcebans/config/config.php using a text editor:
sudo nano /var/www/html/sourcebans/config/config.php
Modify the following lines:
$config['db_host'] = 'localhost';
$config['db_name'] = 'sourcebans';
$config['db_user'] = 'sbppuser';
$config['db_pass'] = 'password';
Note: Replace 'password' with the password you set in step 2.
Fix the file permissions using the following command:
sudo chown http:http -R /var/www/html/sourcebans
Finally, visit the following URL in your web browser to set up SourceBans++:
http://localhost/sourcebans/install/
Follow the on-screen instructions to complete the installation. Once the installation is complete, delete the install/ directory:
sudo rm -rf /var/www/html/sourcebans/install
Congratulations! You have successfully installed SourceBans++ on your Manjaro Linux system. You can now use this powerful tool to administer your favorite Source Engine-based games.
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!