<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SuiteCRM Archives - LinuxTuto</title>
	<atom:link href="https://www.linuxtuto.com/tag/suitecrm/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.linuxtuto.com/tag/suitecrm/</link>
	<description>Linux Sysadmin and DevOps blog</description>
	<lastBuildDate>Wed, 27 Sep 2023 12:00:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://www.linuxtuto.com/wp-content/uploads/2022/01/cropped-LT_faveicon-32x32.png</url>
	<title>SuiteCRM Archives - LinuxTuto</title>
	<link>https://www.linuxtuto.com/tag/suitecrm/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">201456972</site>	<item>
		<title>How to Install SuiteCRM on Debian 12</title>
		<link>https://www.linuxtuto.com/how-to-install-suitecrm-on-debian-12/</link>
					<comments>https://www.linuxtuto.com/how-to-install-suitecrm-on-debian-12/#respond</comments>
		
		<dc:creator><![CDATA[LinuxTuto]]></dc:creator>
		<pubDate>Wed, 27 Sep 2023 12:00:32 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[MariaDB]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SuiteCRM]]></category>
		<guid isPermaLink="false">https://www.linuxtuto.com/?p=1544</guid>

					<description><![CDATA[<p>SuiteCRM is a free and open-source Customer Relationship Management (CRM) platform that is designed to help businesses to manage their customer relationships, sales, marketing, and...</p>
<p>The post <a href="https://www.linuxtuto.com/how-to-install-suitecrm-on-debian-12/">How to Install SuiteCRM on Debian 12</a> appeared first on <a href="https://www.linuxtuto.com">LinuxTuto</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>SuiteCRM is a free and open-source Customer Relationship Management (CRM) platform that is designed to help businesses to manage their customer relationships, sales, marketing, and customer support activities.</p>
<p>It is a popular choice for organizations looking for a cost-effective CRM solution with extensive customization options.</p>
<p>In this tutorial, we will show you how to install SuiteCRM on Debian 12.</p>
<h2><span class="has-inline-color has-vivid-purple-color">Step 1: Update Operating System</span></h2>
<p>The first step is to ensure that your system is up-to-date. You can do this by running the following command:</p>
<pre><code># apt update &amp;&amp; apt upgrade</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 2: Install Apache Web Server</span></h2>
<p>To install Apache, run the following command:</p>
<pre><code># apt install apache2</code></pre>
<p>You can start the Apache service and configure it to run on startup by entering the following commands:</p>
<pre><code># systemctl start apache2
# systemctl enable apache2</code></pre>
<p>Verify the status of the <strong>Apache</strong> service using <strong>systemctl status</strong> command:</p>
<pre><code># systemctl status apache2</code></pre>
<p>Output:</p>
<pre><code>
● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; preset: enabled)
     Active: active (running)
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 2024 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
   Main PID: 2028 (apache2)
      Tasks: 7 (limit: 2273)
     Memory: 19.2M
        CPU: 180ms
     CGroup: /system.slice/apache2.service
             ├─2028 /usr/sbin/apache2 -k start
             ├─2029 /usr/sbin/apache2 -k start
             ├─2030 /usr/sbin/apache2 -k start
</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 3: </span><span class="has-inline-color has-vivid-purple-color">Install PHP and PHP extensions for SuiteCRM</span></h2>
<p>By default, Debian12 comes with PHP version 8.2. To install PHP and the necessary extensions, run the following command:</p>
<pre><code># apt install php php-cli libapache2-mod-php php-json php-common php-mysql php-zip php-gd php-imap php-mbstring php-curl php-xml php-ldap php-pear</code></pre>
<p>Once the installation is complete verify if PHP is installed:</p>
<pre><code>php -v</code></pre>
<pre><code>Output:
PHP 8.2.7 (cli) (built: Jun  9 2023 19:37:27) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.7, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.7, Copyright (c), by Zend Technologies</code></pre>
<p>Then edit the <strong>php.ini</strong> file:</p>
<pre><code># nano /etc/php/8.2/apache2/php.ini</code></pre>
<p>Change the following settings:</p>
<pre><code>memory_limit = 256M
post_max_size = 32M
upload_max_filesize = 32M</code></pre>
<p>Restart the Apache service to apply the changes:</p>
<pre><code># systemctl restart apache2</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 4: Install MariaDB and create a database</span></h2>
<p>You can <a href="https://www.linuxtuto.com/how-to-install-mariadb-10-7-on-debian-11/">install the MariaDB server</a> with the following command:</p>
<pre><code># apt install mariadb-server mariadb-client</code></pre>
<p>Start the database server daemon, and also enable it to start automatically at the next boot with the following commands:</p>
<pre><code># systemctl start mariadb
# systemctl enable mariadb</code></pre>
<p>Verify the status of the MariaDB service using <strong>systemctl status</strong> command:</p>
<pre><code># systemctl status mariadb</code></pre>
<p>Output:</p>
<pre><code>● mariadb.service - MariaDB 10.11.3 database server
     Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; preset: enabled)
     Active: active (running)
       Docs: man:mariadbd(8)
             https://mariadb.com/kb/en/library/systemd/
   Main PID: 774 (mariadbd)
     Status: "Taking your SQL requests now..."
      Tasks: 9 (limit: 2273)
     Memory: 245.4M
        CPU: 5.791s
     CGroup: /system.slice/mariadb.service
             └─774 /usr/sbin/mariadbd</code></pre>
<p>By default, MariaDB is not hardened. You can secure MariaDB using the <code class=" prettyprinted"><span class="pln">mysql_secure_installation</span></code> script.</p>
<pre><code># mysql_secure_installation</code></pre>
<p>Configure it like this:</p>
<pre><code>- Set root password? [Y/n] <strong>Y</strong>
- Remove anonymous users? [Y/n] <strong>Y</strong>
- Disallow root login remotely? [Y/n] <strong>Y</strong>
- Remove test database and access to it? [Y/n] <strong>Y</strong>
- Reload privilege tables now? [Y/n] <strong>Y</strong></code></pre>
<p>Now run the command below to log in to the MariaDB shell.</p>
<pre><code># mysql -u root -p</code></pre>
<p>Once you are logged in to your database server you need to create a database for the SuiteCRM installation:</p>
<pre><code>MariaDB [(none)]&gt; CREATE DATABASE suitecrm;
MariaDB [(none)]&gt; CREATE USER 'suitecrm'@'localhost' IDENTIFIED BY 'Str0ng-Passw0rd';
MariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON suitecrm.* TO 'suitecrm'@'localhost';
MariaDB [(none)]&gt; FLUSH PRIVILEGES;
MariaDB [(none)]&gt; EXIT;</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">S</span><span class="has-inline-color has-vivid-purple-color">tep 5: Download SuiteCRM</span></h2>
<p>Download the latest stable version of SuiteCRM from the <a href="https://suitecrm.com/download/">SuiteCRM website</a> using the following command:</p>
<pre><code># wget https://suitecrm.com/download/141/suite714/562969/suitecrm-7-14-0.zip</code></pre>
<p>Unzip the downloaded release file with the following command:</p>
<pre><code># unzip suitecrm-7-14-0.zip</code></pre>
<p>Rename it to make it simpler:</p>
<pre><code># mv /var/www/SuiteCRM-7.14.0/ /var/www/suitecrm</code></pre>
<p>Enable permission for the Apache webserver user to access the files:</p>
<pre><code># chown -R www-data:www-data /var/www/suitecrm/</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 6: Create Virtualhost for SuiteCRM</span></h2>
<p>Then, create an virtual host configuration file to host SuiteCRM:</p>
<pre><code># nano /etc/apache2/sites-available/suitecrm.conf</code></pre>
<p>Paste the content as shown below:</p>
<pre><code>&lt;VirtualHost *:80&gt;
    ServerAdmin admin@your-domain.com
    DocumentRoot /var/www/suitecrm
    ServerName suitecrm.your-domain.com

    &lt;Directory /var/www/suitecrm/&gt;
	Options Indexes FollowSymLinks
	AllowOverride All
	Require all granted
    &lt;/Directory&gt;

    ErrorLog /var/log/apache2/your-domain.com-error_log
    CustomLog /var/log/apache2/your-domain.com-access_log common
&lt;/VirtualHost&gt;</code></pre>
<p>Remember to replace <strong><code>suitecrm.your-domain.com</code></strong> with the domain name of your server.</p>
<p>Save and exit the configuration file.</p>
<p>Then enable the <code>"rewrite"</code> module in Apache:</p>
<pre><code># /usr/sbin/a2enmod rewrite</code></pre>
<p>To enable this site run the command:</p>
<p>To enable this site run the command:</p>
<pre><code># /usr/sbin/a2ensite suitecrm.conf</code></pre>
<p>To implement the changes, restart Apache webserver:</p>
<pre><code># systemctl restart apache2</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 7: Access SuiteCRM Web Interface</span></h2>
<p>Go to your browser and visit <code>http://suitecrm.your-domain.com</code>. You should see the following page:</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter size-large wp-image-1545" src="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_licanse-900x430.webp" alt="SuiteCRM Accept License" width="900" height="430" srcset="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_licanse-900x430.webp 900w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_licanse-300x143.webp 300w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_licanse-768x367.webp 768w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_licanse-1536x733.webp 1536w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_licanse-1222x583.webp 1222w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_licanse-897x428.webp 897w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_licanse-684x326.webp 684w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_licanse.webp 1892w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>The first page displays the license agreement. Scroll down Accept the License agreement and click <strong>Next</strong>.</p>
<p><img decoding="async" class="aligncenter size-large wp-image-1551" src="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_system_environment-900x430.webp" alt="SuiteCRM system environment" width="900" height="430" srcset="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_system_environment-900x430.webp 900w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_system_environment-300x143.webp 300w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_system_environment-768x367.webp 768w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_system_environment-1536x735.webp 1536w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_system_environment-1222x585.webp 1222w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_system_environment-897x429.webp 897w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_system_environment-684x327.webp 684w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_system_environment.webp 1892w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>If everything is okay, click the <strong>Next</strong> button.</p>
<p><img decoding="async" class="aligncenter size-large wp-image-1547" src="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_database_configuration-900x507.webp" alt="SuiteCRM Database Configuration" width="900" height="507" srcset="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_database_configuration-900x507.webp 900w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_database_configuration-300x169.webp 300w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_database_configuration-768x432.webp 768w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_database_configuration-1536x865.webp 1536w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_database_configuration-1222x688.webp 1222w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_database_configuration-897x505.webp 897w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_database_configuration-684x385.webp 684w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_database_configuration.webp 1918w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>Provide your database name, database username, password, admin username and password. Then, click on the <strong>Next</strong> button.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1548" src="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_configuration_completed-900x421.webp" alt="Configuration Completed" width="900" height="421" srcset="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_configuration_completed-900x421.webp 900w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_configuration_completed-300x140.webp 300w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_configuration_completed-768x360.webp 768w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_configuration_completed-1536x719.webp 1536w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_configuration_completed-1222x572.webp 1222w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_configuration_completed-897x420.webp 897w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_configuration_completed-684x320.webp 684w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_configuration_completed.webp 1914w" sizes="auto, (max-width: 900px) 100vw, 900px" /></p>
<p>You are presented with the details of SuiteCRM configuration completion. Click the <strong>Next</strong> button and you should see the login page:</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1549 size-large" src="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm-_login_page-900x422.webp" alt="Login page" width="900" height="422" srcset="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm-_login_page-900x422.webp 900w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm-_login_page-300x141.webp 300w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm-_login_page-768x360.webp 768w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm-_login_page-1536x721.webp 1536w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm-_login_page-1222x573.webp 1222w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm-_login_page-897x421.webp 897w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm-_login_page-684x321.webp 684w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm-_login_page.webp 1916w" sizes="auto, (max-width: 900px) 100vw, 900px" /></p>
<p>Provide your admin credential and click on the <strong>LOG IN</strong> button, you should see the <code>SuiteCRM</code> dashboard in the following page:</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1550 size-large" src="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_dashboard-900x452.webp" alt="Dashboard" width="900" height="452" srcset="https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_dashboard-900x452.webp 900w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_dashboard-300x151.webp 300w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_dashboard-768x386.webp 768w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_dashboard-1536x771.webp 1536w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_dashboard-1222x614.webp 1222w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_dashboard-897x450.webp 897w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_dashboard-684x343.webp 684w, https://www.linuxtuto.com/wp-content/uploads/2023/09/suitecrm_dashboard.webp 1918w" sizes="auto, (max-width: 900px) 100vw, 900px" /></p>
<h2><span class="has-inline-color has-vivid-purple-color">Step 8: Set up Cron Jobs</span></h2>
<p>SuiteCRM needs cron jobs to function properly. Edit the <strong>www-data</strong> user&#8217;s crontab file.</p>
<pre><code># sudo crontab -e -u www-data</code></pre>
<p>Add the following line at the end of the file.</p>
<pre><code>*    *    *    *    *     cd /var/www/suitecrm; php -f cron.php &gt; /dev/null 2&gt;&amp;1</code></pre>
<p>Save and close the file.</p>
<h2><span class="has-inline-color has-vivid-purple-color">Comments and Conclusion</span></h2>
<p>That’s it. You have successfully installed SuiteCRM on Debian 12.</p>
<p>For additional help or useful information, we recommend you to check <a href="https://docs.suitecrm.com/">the official SuiteCRM documentation</a>.</p>
<p>If you have any questions please leave a comment below.</p>
<p>The post <a href="https://www.linuxtuto.com/how-to-install-suitecrm-on-debian-12/">How to Install SuiteCRM on Debian 12</a> appeared first on <a href="https://www.linuxtuto.com">LinuxTuto</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.linuxtuto.com/how-to-install-suitecrm-on-debian-12/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1544</post-id>	</item>
	</channel>
</rss>
