Knowledge Base
0 / 16 done
0%
Intermediate
~45 min
sudo required
Install SuiteCRM 8 on Ubuntu 22
Full LAMP stack and SuiteCRM 8.x installation, vhost, database, and permissions.
Prerequisites
- Ubuntu 22.04 server
- Root or sudo access
- Domain name pointed at the server
1
Step 1
Snippet
Update Ubuntu system packages
2
Step 2
Snippet
Install essential CLI tools
3
Step 3
Snippet
Install Apache HTTP Server
4
Step 4
Snippet
Open firewall for Apache (HTTP + HTTPS)
5
Step 5
Snippet
Install MariaDB server
6
Step 6
Snippet
MariaDB secure installation
7
Step 7
Snippet
Create MariaDB database, user, and grants
8
Step 8
Snippet
Add Ondrej PHP repository (multi-version PHP)
9
Step 9
Snippet
Install PHP with common extensions
10
Step 10
Snippet
Switch Apache from mod_php to PHP-FPM
11
Step 11
Command
Download SuiteCRM
cd /tmp && wget https://suitecrm.com/download/128/suite82/561949/suitecrm-8-2-3.zip sudo unzip suitecrm-8-2-3.zip -d /var/www/html/suitecrm
12
Step 12
Command
Set SuiteCRM permissions
cd /var/www/html/suitecrm
sudo chown -R www-data:www-data /var/www/html/suitecrm/
sudo find . -type d -exec chmod 755 {} \;
sudo find . -type f -exec chmod 644 {} \;
sudo chmod -R 775 cache/ public/legacy/custom public/legacy/modules public/legacy/themes public/legacy/data public/legacy/upload
13
Step 13
Snippet
Create Apache virtual host
14
Step 14
Snippet
Install Certbot for Apache
15
Step 15
Snippet
Issue SSL certificate via Certbot (Apache)
16
Step 16
Command