Welcome, to, the one and only, Minus 0, community! Source code for Minus 0: https://minus0.org/l/2

The only rule is no constantly talking about how great Pink floyd or Monty python are... nobody cares!

There is also no nudity or piracy allowed on any community! Trolling is allowed but Trolls with no reputation will be banned!
How To Use Minus 0 Code

Topic: Minus 0

By tremblin
2025-10-13, 8:51am
(0)
Avatar
Install clamav. On debian 13 that's "apt install clamav clamav-daemon clamav-freshclam clamdscan". Reboot to install the latest antivirus definitions.

Make sure clamav is working:

clamdscan <any file here>


It should not produce an error. The first scan will take longer as it loads antivirus definitions. Subsequent scans are fast.

Create a database and user with all permissions. Remember the username and password of the user.

Import the SQL file in the root of the code into the database.

The info table list communities. Insert a row into the info table for the bit bucket. You can call it whatever you want.
Below is my data, you can change the name and domain name to yours.

Bit Bucket, https://minus0.org/?c=1, <blank>, 1, 1


Unzip the code to the root of your server and edit scripts/settings.php. The directories in file pool settings will need to be created.

Example:

mkdir -p /minus0/pool


Now setup a subdomain called f1.mydomain.com. It should have a blank root webspace and should have an SSL certificate like your main domain.

Make a link in the pool directory to the f1.mydomain.com webroot:

cd /minus0/pool
ln -s /var/www/vhosts/minus0.org/f1.minus0.org/ 1 ; this is how Plesk names the paths... depends on your installation


Create a PHP file somewhere outside your webroot with your database password:

<?php $minus0_password = "insert your password here";


Change scripts/main.php at the top to include this password PHP file.

Before anyone else does, create a user using the Register functionality on the website. User number 1 is a superuser.

You can change or delete the default avatar for user 1 now.




Note: I just wrote this up as best I could from memory, I will correct anything I've forgotten if anything as I remember it
Replies (2)
By tremblin
2025-10-13, 8:57am
Avatar
You can set it up without a subdomain by using a path off your main domain, but if you use a VPS and set it up as the OP describes, it is able to scale.
By tremblin
2025-10-14, 1:14am
Avatar
Added clamav instructions