Install on Ubuntu
These instructions describe a Linux/Apache/MariaDB/PHP installation path for OpenCATS 0.11.1. Commands may need small adjustments for your Ubuntu release and package repositories.
Install MariaDB and Apache
sudo apt-get update
sudo apt-get install mariadb-server mariadb-client apache2 unzip wget
sudo mysql_secure_installationMariaDB is the documented database family for OpenCATS. Current CI Docker tests use MariaDB 10.7.
Install PHP 8.4 and extensions
OpenCATS 0.11.1 requires PHP 8.4.1 or later within PHP 8. Project CI tests PHP 8.4.1 and PHP 8.5. If your Ubuntu release does not provide PHP 8.4 packages directly, use a trusted package source such as the Ondrej Surý PHP PPA.
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php8.4 php8.4-cli php8.4-fpm php8.4-mysql php8.4-gd php8.4-soap php8.4-ldap php8.4-xml php8.4-curl php8.4-mbstring php8.4-zip
sudo systemctl restart apache2Depending on your Apache configuration, you may use PHP-FPM or an Apache PHP module. Confirm that the web server is actually using PHP 8.4.1 or later before running the installer.
Optional document parsing utilities
Install these if you want OpenCATS to extract text from common resume and document formats:
After installation, verify or update the parser paths in config.php if your distribution installs binaries in non-standard locations.
Create the MariaDB database and user
Log in to MariaDB as root:
Then create a database and user. Replace databasepassword with a strong unique password.
These database credentials are separate from your OpenCATS application login.
Download OpenCATS
Download the latest prepared full release archive from GitHub Releases. For OpenCATS 0.11.1:
The full release archive includes production Composer dependencies. If a future release asset name differs, use the exact filename shown on GitHub Releases.
Installing from source instead
If you clone the repository or download source code instead of using a prepared full release archive, install Composer dependencies:
Use --no-dev for production-style installs.
Configure ownership and permissions
The web server user must own or be able to write OpenCATS runtime directories:
If you restore from a GUI backup file, also create and make a restore/ directory writable by the web server user.
Start the installer
Open your browser at your OpenCATS URL, for example:
If an INSTALL_BLOCK file exists before first install, remove it so the installer can run:
After installation, confirm INSTALL_BLOCK exists so the installer is not exposed again.
Now continue to Run the Installer.
Last updated