🐧Linux Installation Guide
This guide covers the installation of ABCD 3.1+ on Ubuntu/Debian systems using the official release packages.
1. Install System Dependencies
Update your repositories and install Apache, PHP 8.x, and necessary tools.
sudo apt update
sudo apt install apache2 unzip wget php php-mbstring php-gd php-curl php-xml php-zip libapache2-mod-php
Enable Apache Modules
ABCD requires the CGI module (to run CISIS scripts) and the Rewrite module (for friendly URLs) to be active.
sudo a2enmod cgi rewrite
sudo systemctl restart apache2
2. Download ABCD
We recommend downloading the latest stable release instead of cloning the development repository.
- Visit the ABCD Releases Page.
- Copy the link for the latest
.zipor.tar.gzfile (e.g.,v3.1.0-beta.zip). - In your terminal, download and extract it (assuming
/var/www/html/ABCDas destination):
cd /var/www/html
- Example download (always check the GitHub link for the latest version)
sudo wget https://github.com/ABCD-DEVCOM/ABCD/archive/refs/tags/v3.1.0.zip -O abcd.zip
- Extract
sudo unzip abcd.zip
Rename the extracted folder to 'ABCD' (or your preferred name)
sudo mv ABCD-3.1.0 ABCD
3. Cleanup Directory Structure
The package contains folders for multiple operating systems. Clean up what is not used:
- CGI-BIN: Check the folder structure. If you see
cgi-bin_Linuxandcgi-bin_Windows:
- Rename
cgi-bin_Linuxtocgi-bin.
sudo mv cgi-bin_Linux cgi-bin
- Delete
cgi-bin_Windows.
sudo rm cgi-bin_Windows
- Bases: If this is a clean installation, rename
bases-examplestobases.
sudo mv bases-examples_Linux bases
4. Initial Configuration (Crucial)
ABCD comes with a template configuration file that must be activated.
- Navigate to the central configuration folder:
cd /var/www/html/ABCD/htdocs/central/
- Copy the template to the actual config file:
sudo cp config.php.template config.php
- (Optional) Edit
config.phpif you need to change default paths, although the defaults usually work fine if following this guide.
5. Configure Permissions
For ABCD to work (save records, upload images), permissions must be exact. 👉 See the Folder Permissions Guide.
6. Enable Executables
Ensure the CISIS binaries have execution rights:
sudo chmod +x /var/www/html/ABCD/cgi-bin/*
7. Next Steps
- Configure the Virtual Host (see sidebar).
- Access
http://localhost:9090/admin(or your server IP).