Installation
Prerequisites
Before you begin the installation, ensure you have the following:
- Apache2 webserver recommended.
- Apache2 modules:
rewrite
,ssl
(recommended). - Access to a MySQL database (remote or local).
- PHP 8.x installed with
curl
,mysqli
, andmbstring
modules. Website will ask you for other required modules if necessary and not installed. - At least 1GB of available webspace recommended.
Installation Steps
-
Download/Clone the Repository:
- You can download the repository as a ZIP file or clone it using Git.
-
Copy Files:
- Navigate to the
/source
directory within the repository or in the choosen release. - Copy all files from the
/source
directory to your website's public html folder.
- Navigate to the
-
Configure the Website:
- Access the website through your browser.
- Follow the on-screen installation instructions to complete the setup.
-
(recommended) Setup Cronjob:
- Setup a cronjob on your server to run the file cronjob.php hourly as the website user (usually www-data).
-
(optional) Setup Background Worker:
- Setup the background worker as described below to use root level features of this cms.
Background Worker
The following step is optional, but required if you want to use advanced CMS Functionalities which depend on root level access. You need full control to a VM or Root Server - otherwise you can ignore this option.
- Login to your server using SSH
- Execute the command
apt install supervisor
- Create the file
/etc/supervisor/conf.d/suitefish.conf
with following content: - Check if the path provided in suitefish.conf
/var/www/html/_core/worker.php
is correctly pointing to the directory where your suitefish-cms instance is installed. The worker.php file is found in the _core folder of the cms files which have been uploaded to the webserver. - Execute command to reread the supervisor configuration:
sudo supervisorctl reread
- Execute command to update the supervisor configuration:
sudo supervisorctl update
- Execute command to start the suitefish daemon:
sudo supervisorctl start suitefish
Initial Login
Change the default password immediately after your first login.
After installation, log in with the default credentials:
- Username: admin
- Password: changeme
Troubleshoot
If the installer.php script failes to write the settings.php file for any reason you can create the settings.php file manually by using settings_sample.php in the _source folder of this project.