SuiteCRM is an open-source Customer Relationship Management software used for managing leads, opportunities, and customer interactions. In this tutorial, we will explain how to install SuiteCRM on the latest version of OpenSUSE.
Before installing SuiteCRM, make sure that you have the following prerequisites on your system:
If you have not installed Apache yet, you can easily install it by running the following command:
sudo zypper in apache2
To install PHP on your OpenSUSE system, run the following command:
sudo zypper in php7 php7-mysql php7-apache2
To install MySQL or MariaDB, run the following command:
sudo zypper in mysql-community-server (For MySQL)
sudo zypper in mariadb (For MariaDB)
Go to the official SuiteCRM website at https://suitecrm.com and download the latest version of SuiteCRM to your local system.
wget https://suitecrm.com/download/suitecrm-7.11.13.zip
Once you have downloaded SuiteCRM, extract the package to the Apache document root directory /srv/www/htdocs/
using the following command:
sudo unzip suitecrm-7.11.13.zip -d /srv/www/htdocs/
Set the proper permissions to the SuiteCRM directory using the following command:
sudo chown -R wwwrun /srv/www/htdocs/suitecrm
Once you have installed the MySQL/MariaDB server, create a new database and user for SuiteCRM using the following command:
sudo mysql -u root -p
mysql> CREATE DATABASE suitecrm;
mysql> GRANT ALL PRIVILEGES ON suitecrm.* TO 'suitecrm'@'localhost' IDENTIFIED BY 'password';
mysql> FLUSH PRIVILEGES;
mysql> exit
To configure Apache for SuiteCRM, create a new virtual host file in the /etc/apache2/vhosts.d/
directory using the following command:
sudo nano /etc/apache2/vhosts.d/suitecrm.conf
Add the following configuration to the virtual host file:
<VirtualHost *:80>
ServerName suitecrm.example.com
DocumentRoot /srv/www/htdocs/suitecrm
<Directory /srv/www/htdocs/suitecrm>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/log/apache2/suitecrm_error.log
CustomLog /var/log/apache2/suitecrm_access.log combined
</VirtualHost>
Save and close the virtual host file.
Restart Apache service using the following command:
sudo systemctl restart apache2
Open the SuiteCRM installation page in your web browser by accessing http://suitecrm.example.com
. You should see the SuiteCRM installation wizard.
Follow the screens to complete the installation process. During the installation process, you need to provide the database name, user, and password which we have created earlier.
Once the installation is completed, you will see the SuiteCRM login page. Provide your credentials and log in to the SuiteCRM dashboard.
Congratulations! You have successfully installed SuiteCRM on OpenSUSE Latest.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!