{"id":2814,"date":"2018-01-31T13:32:29","date_gmt":"2018-01-31T10:32:29","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/how-to-install-suitecrm-with-nginx-on-ubuntu-1604\/"},"modified":"2018-01-31T13:32:29","modified_gmt":"2018-01-31T10:32:29","slug":"how-to-install-suitecrm-with-nginx-on-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04\/","title":{"rendered":"How to Install SuiteCRM with Nginx on Ubuntu 16.04"},"content":{"rendered":"<p>SuiteCRM is an open source CRM (Customer Relationship Management) software based on PHP. It is a fork of the popular CRM software &#8216;SugarCRM&#8217;, and has become more popular after &#8216;SugarCRM&#8217; decided to stop the development of the free version. SuiteCRM has been nominated as the best open source CRM software on BOSSIE 2015 and 2016.<\/p>\n<p>In this tutorial, I will show you step-by-step how to install the open source CRM &#8216;SuiteCRM&#8217;. The software will be running under the Nginx web server with MariaDB database and using the Ubuntu 16.04 system.<\/p>\n<h2 id=\"what-we-will-do\">What we will do<\/h2>\n<ol>\n<li>Install Nginx Web server<\/li>\n<li>Install and Configure PHP-FPM<\/li>\n<li>Install and Configure MariaDB<\/li>\n<li>Download and Configure SuiteCRM<\/li>\n<li>SuiteCRM Web Installer<\/li>\n<li>Final steps<\/li>\n<\/ol>\n<h2 id=\"prerequisites\">Prerequisites<\/h2>\n<ul>\n<li>Ubuntu 16.04 Server<\/li>\n<li>Root privileges<\/li>\n<\/ul>\n<h2 id=\"step-install-nginx-web-server\">Step 1 &#8211; Install Nginx Web server<\/h2>\n<p>SuiteCRM is a web based software, and it needs a web server. We can use Apache or Nginx for this software. In this tutorial, we will be using the Nginx web server instead of the Apache web server.<\/p>\n<p>Connect to your Ubuntu server and update the repository.<\/p>\n<p class=\"command\">ssh <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"ff8d90908bbf979e949e8c9ad2939e9d8cd19c90\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a><br \/>sudo apt update<\/p>\n<p>Now install the Nginx web server using the apt command in the following way.<\/p>\n<p class=\"command\">apt install -y nginx<\/p>\n<p>After the installation, start nginx and enable it to launch automatically every time at system boot.<\/p>\n<p class=\"command\">systemctl start nginx<br \/>systemctl enable nginx<\/p>\n<p>The Nginx web server is installed, and it&#8217;s running under the default HTTP port 80. Check it using the netstat command, or you can use curl to see the HTTP status code.<\/p>\n<p class=\"command\">netstat -plntu<br \/>curl -I localhost<\/p>\n<p><a class=\"fancybox\" id=\"img-1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04.png\" alt=\"Install Nginx\" width=\"500\" height=\"340\" title=\"\"><\/a><\/p>\n<h2 id=\"step-install-and-configure-phpfpm\">Step 2 &#8211; Install and Configure PHP-FPM<\/h2>\n<p>SuiteCRM is compatible with multiple PHP versions. In this tutorial, we will be using the newest version PHP 7.0 for SuiteCRM installation.<\/p>\n<p>Install PHP and PHP-FPM 7 along with other required extensions using the following apt command.<\/p>\n<p class=\"command\">apt install -y php7.0-fpm php7.0-mcrypt php7.0-imap php7.0-curl php7.0-cli php7.0-mysql php7.0-gd php7.0-xsl php7.0-json php7.0-intl php-pear php7.0-dev php7.0-common php7.0-mbstring php7.0-zip php-soap libcurl3 curl<\/p>\n<p>After the installation is complete, go to the PHP configuration directory and edit php.ini files for both &#8216;cli&#8217; and &#8216;fpm&#8217; configuration.<\/p>\n<p class=\"command\">cd \/etc\/php\/7.0\/<\/p>\n<p>Edit php.ini files.<\/p>\n<p class=\"command\">vim cli\/php.ini<br \/>vim fpm\/php.ini<\/p>\n<p>Change the max upload file size value. SuiteCRM needs at least 6MB, but we&#8217;ll set 100MB as the value.<\/p>\n<pre class=\"system\">upload_max_filesize = 100M<\/pre>\n<p>Uncomment the CGI line (shown below) and change the value to 0.<\/p>\n<pre class=\"system\">cgi.fix_pathinfo=0<\/pre>\n<p>For the sessions path configuration, uncomment the line below.<\/p>\n<pre class=\"system\">session.save_path = \"\/var\/lib\/php\/sessions\"<\/pre>\n<p>That&#8217;s it. Save these changes and exit.<\/p>\n<p>Now, we need to create a new directory for PHP sessions files and change the owner of the directory to &#8216;www-data&#8217; user and group.<\/p>\n<p class=\"command\">mkdir -p \/var\/lib\/php\/sessions<br \/>chown -R www-data:www-data \/var\/lib\/php\/sessions<\/p>\n<p>PHP and PHP-FPM configuration has been completed. Now start the service and enable it to launch every time at system boot.<\/p>\n<p class=\"command\">systemctl start php7.0-fpm<br \/>systemctl enable php7.0-fpm<\/p>\n<p>By default on the Ubuntu system, PHP-FPM will run under the sock file instead of using system port. Check it using the netstat command below.<\/p>\n<p class=\"command\">netstat -pl | grep php<\/p>\n<p>And make sure the result you see is similar to what&#8217;s shown in the following screenshot.<\/p>\n<p><a class=\"fancybox\" id=\"img-2\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-1.png\" alt=\"Install PHP\" width=\"500\" height=\"185\" title=\"\"><\/a><\/p>\n<h2 id=\"step-install-and-configure-mariadb\">Step 3 &#8211; Install and Configure MariaDB<\/h2>\n<p>In this step, we will install MariaDB and configure the root password. Then configure a new database for SuiteCRM installation.<\/p>\n<p>Install MariaDB using the apt command below.<\/p>\n<p class=\"command\">apt install -y mariadb-server mariadb-client<\/p>\n<p>After the installation, start the service and enable it to launch every time at system boot.<\/p>\n<p class=\"command\">systemctl start mysql<br \/>systemctl enable mysql<\/p>\n<p>Next, configure the MariaDB root password using the &#8216;mysql_secure_installation&#8217; command as below.<\/p>\n<p class=\"command\">mysql_secure_installation<\/p>\n<p>You will be asked about the configuration, type &#8216;Y&#8217; and press &#8216;Enter&#8217;.<\/p>\n<pre class=\"system\" readability=\"6\">Set root password? [Y\/n] Y<br\/>New password:<br\/>Re-enter new password:<p>Remove anonymous users? [Y\/n] Y<br\/>Disallow root login remotely? [Y\/n] Y<br\/>Remove test database and access to it? [Y\/n] Y<br\/>Reload privilege tables now? [Y\/n] Y<\/p><\/pre>\n<p>MariaDB root password has been configured.<\/p>\n<p>Now we will create a new database and user for SuiteCRM installation. Create a database named &#8216;suitecrm_db&#8217;, and a new user &#8216;crmadmin&#8217; with password &#8216;hakase-labs123&#8217;. Connect to the mysql shell and run the following mysql queries.<\/p>\n<p class=\"command\">mysql -u root -p<br \/>Type your password:<\/p>\n<p>CREATE DATABASE suitecrm_db;<br \/>CREATE USER &#8216;crmadmin&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;hakase-labs123&#8217;;<br \/>GRANT ALL PRIVILEGES ON suitecrm_db.* TO &#8216;crmadmin&#8217;@&#8217;localhost&#8217;;<br \/>FLUSH PRIVILEGES;<\/p>\n<p><a class=\"fancybox\" id=\"img-3\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-2.png\" alt=\"Install and configure the MariaDB database\" width=\"500\" height=\"341\" title=\"\"><\/a><\/p>\n<p>MariaDB database configuration for SuiteCRM installation has been completed.<\/p>\n<h2 id=\"step-download-and-configure-suitecrm\">Step 4 &#8211; Download and Configure SuiteCRM<\/h2>\n<p>In this step, we will do some tasks that&#8217;ll prepare the system for SuiteCRM installation. We will download the SuiteCRM source code, configure UFW Firewall, generate Letsencrypt certificates, and configure nginx virtual host for SuiteCRM.<\/p>\n<p><strong>&#8211; Download SuiteCRM Source Code<\/strong><\/p>\n<p>The suiteCRM source code is available on Github. Make sure the git command installed on your system. Or if you do not have a git package, install it with the apt command below.<\/p>\n<p class=\"command\">apt install -y git<\/p>\n<p>Now go to the &#8216;\/opt&#8217; directory and clone the repository using the following git clone command.<\/p>\n<p class=\"command\">cd \/opt\/<br \/>git clone https:\/\/github.com\/salesagility\/SuiteCRM.git suitecrm<\/p>\n<p>Go to the suitecrm directory and create a new &#8216;cache&#8217; directory. Then change the permission of some files and directories, and finally, we need to change the ownership permissions for the &#8216;suitecrm&#8217; directory to &#8216;www-data&#8217; user and group.<\/p>\n<p class=\"command\">cd \/opt\/suitecrm<br \/>mkdir -p \/opt\/suitecrm\/cache<br \/>chmod -R 775 cache custom modules themes data upload config_override.php<br \/>chown www-data:www-data -R \/opt\/suitecrm<\/p>\n<p><a class=\"fancybox\" id=\"img-4\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/4.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-3.png\" alt=\"Download and install SuiteCRM\" width=\"500\" height=\"193\" title=\"\"><\/a><\/p>\n<p>SuiteCRM source code has been downloaded.<\/p>\n<p><strong>&#8211; Configure UFW Firewall<\/strong><\/p>\n<p>On Ubuntu, we will be using the ufw firewall. Open new ports HTTP, HTTPS, and SSH using the ufw commands as shown below.<\/p>\n<p class=\"command\">ufw allow ssh<br \/>ufw allow http<br \/>ufw allow https<\/p>\n<p>Now start the firewall and enable it to launch every time at system boot using ufw enable command.<\/p>\n<p class=\"command\">ufw enable<\/p>\n<p>Type &#8216;y&#8217; and press Enter to enable the firewall.<\/p>\n<p><a class=\"fancybox\" id=\"img-5\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/5.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-4.png\" alt=\"Configure UFW Firewall\" width=\"500\" height=\"222\" title=\"\"><\/a><\/p>\n<p>If you want to check the firewall status, use the ufw status command.<\/p>\n<p class=\"command\">ufw status<\/p>\n<p>And you will get the firewall status including what ports you have added.<\/p>\n<p><a class=\"fancybox\" id=\"img-6\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-5.png\" alt=\"Firewall Status\" width=\"500\" height=\"270\" title=\"\"><\/a><\/p>\n<p><strong>&#8211; Generate Letsencrypt Certificates<\/strong><\/p>\n<p>In this tutorial, SuiteCRM will use HTTPS for more secure connection between client and server. For this purpose, we will be using free SSL certificate from Letsencrypt.<\/p>\n<p>Before generating certificate files, we need to install letsencrypt client agent on the system. It&#8217;s available in the Ubuntu repository, so install it with the apt command below.<\/p>\n<p class=\"command\">apt install -y letsencrypt<\/p>\n<p>After installing letsencrypt, we need to stop nginx service before generating certificate files.<\/p>\n<p class=\"command\">systemctl stop nginx<\/p>\n<p>Now generate SSL Certificate files using the letsencrypt command below.<\/p>\n<p class=\"command\">letsencrypt certonly &#8211;standalone -d suitecrm.hakase-labs.co<\/p>\n<p><strong>Note: <\/strong>The <em>&#8211;standalone<\/em> option will create a temporary web server on the system, so we need to stop the Nginx web server before generating certificate files.<\/p>\n<p>You will be asked about your email address for renewing notification. Type your email address and click &#8216;OK&#8217;.<\/p>\n<p><a class=\"fancybox\" id=\"img-7\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/7.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-6.png\" alt=\"Create Let&#039;s Encrypt certificate\" width=\"500\" height=\"212\" title=\"\"><\/a><\/p>\n<p>For the Letsencrypt Agreement, choose &#8216;Agree&#8217; and press Enter.<\/p>\n<p><a class=\"fancybox\" id=\"img-8\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/8.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-7.png\" alt=\"Accept license agreement\" width=\"500\" height=\"411\" title=\"\"><\/a><\/p>\n<p>New Letsencrypt SSL has been generated in the &#8216;\/etc\/letsencrypt\/live\/domain.com&#8217; directory.<\/p>\n<p><a class=\"fancybox\" id=\"img-9\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/9.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-8.png\" alt=\"SSL certificate has been generated\" width=\"500\" height=\"307\" title=\"\"><\/a><\/p>\n<p><strong>&#8211; Configure Nginx Virtual host for SuiteCRM<\/strong><\/p>\n<p>Go to the Nginx configuration directory and create a new virtual host file &#8216;suitecrm&#8217; in the &#8216;sites-available&#8217; directory.<\/p>\n<p class=\"command\">cd \/etc\/nginx<br \/>vim sites-available\/suitecrm<\/p>\n<p>Paste the following Nginx configuration there.<\/p>\n<pre class=\"system\" readability=\"35\"># Server Config - hakase-labs<br\/>server {<br\/>\u00a0\u00a0\u00a0 listen 80;<br\/>\u00a0\u00a0\u00a0 server_name suitecrm.hakase-labs.co;<p>\u00a0\u00a0\u00a0 # Automatically redirect to HTTPS<br\/>\u00a0\u00a0\u00a0 return 301 https:\/\/$host$request_uri;<br\/>}<\/p><p># Nginx SSL for SuiteCRM<br\/>server {<\/p><p>\u00a0\u00a0\u00a0 server_name suitecrm.hakase-labs.co;<\/p><p>\u00a0\u00a0\u00a0 # Enable http2<br\/>\u00a0\u00a0\u00a0 listen 443 http2 ssl;<\/p><p>\u00a0\u00a0\u00a0 # SSL Config<br\/>\u00a0\u00a0\u00a0 ssl_certificate \/etc\/letsencrypt\/live\/suitecrm.hakase-labs.co\/fullchain.pem;<br\/>\u00a0\u00a0\u00a0 ssl_certificate_key \/etc\/letsencrypt\/live\/suitecrm.hakase-labs.co\/privkey.pem;<br\/>\u00a0\u00a0\u00a0 ssl_protocols TLSv1 TLSv1.1 TLSv1.2;<br\/>\u00a0\u00a0\u00a0 ssl_ciphers HIGH:!aNULL:!MD5;<\/p><p>\u00a0\u00a0\u00a0 client_max_body_size 50M;<\/p><p>\u00a0\u00a0\u00a0 index index.php index.html index.htm;<br\/>\u00a0\u00a0\u00a0 root \/opt\/suitecrm;<\/p><p>\u00a0\u00a0\u00a0 location \/ {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 root \/opt\/suitecrm;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 index index.php index.html index.htm;<br\/>\u00a0\u00a0\u00a0 }<br\/>\u00a0<br\/>\u00a0\u00a0\u00a0 error_page 500 502 503 504 \/50x.html;<br\/>\u00a0\u00a0\u00a0 error_log \/var\/log\/nginx\/suitecrm.irsyadf.me.error.log;<\/p><p>\u00a0\u00a0\u00a0 location = \/50x.html {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 root \/var\/www\/html;<br\/>\u00a0\u00a0\u00a0 }<\/p><p>\u00a0\u00a0\u00a0 ## Images and static content is treated different<br\/>\u00a0\u00a0\u00a0 location ~* ^.+\\.(jpg|jpeg|gif|css|png|js|ico|xml|svg|wgoff2)$ {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 access_log off;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 expires max;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 root \/opt\/suitecrm;<br\/>\u00a0\u00a0\u00a0 }<\/p><p>\u00a0\u00a0\u00a0 location ~ \\.php$ {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 try_files $uri =404;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fastcgi_pass unix:\/run\/php\/php7.0-fpm.sock;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fastcgi_index index.php;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 include fastcgi_params;<br\/>\u00a0\u00a0\u00a0 }<\/p><p>\u00a0\u00a0\u00a0 location ~ \/\\.ht {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 deny all;<br\/>\u00a0\u00a0\u00a0 }<\/p><p>}<\/p><\/pre>\n<p>Save and exit.<\/p>\n<p>Now activate the virtual host, test the configuration, and make sure there is no error. Then restart the web server.<\/p>\n<p class=\"command\">ln -s \/etc\/nginx\/sites-available\/suitecrm \/etc\/nginx\/sites-enabled\/<\/p>\n<p>nginx -t<br \/>systemctl restart nginx<\/p>\n<p><a class=\"fancybox\" id=\"img-10\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/10.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-9.png\" alt=\"Configure the virtualhost file\" width=\"500\" height=\"135\" title=\"\"><\/a><\/p>\n<p>System configuration for SuiteCRM installation has been completed.<\/p>\n<h2 id=\"step-suitecrm-web-installer\">Step 5 &#8211; SuiteCRM Web Installer<\/h2>\n<p>Open your web browser and type the SuiteCRM URL in the address bar, mine is\u00a0<em>suitecrm.hakase-labs.co<\/em><\/p>\n<p>You will be redirected to the HTTPS connection and the install.php page.<\/p>\n<p>On the page that appears, you will see the GNU AFFERO License &#8211; check on the &#8216;I Accept&#8217; and click &#8216;Next&#8217;.<\/p>\n<p><a class=\"fancybox\" id=\"img-11\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/11.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-10.png\" alt=\"SuiteCRM Installer\" width=\"500\" height=\"251\" title=\"\"><\/a><\/p>\n<p>Now you will get the page about system environment for SuiteCRM installation.<\/p>\n<p>Make sure all results are &#8216;OK&#8217; as shown in the picture below.<\/p>\n<p><a class=\"fancybox\" id=\"img-121\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/121.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-11.png\" alt=\"System check\" width=\"500\" height=\"264\" title=\"\"><\/a><\/p>\n<p>Click &#8216;Next&#8217; to continue.<\/p>\n<p>Next comes database and admin user configuration. Type your database info, dbname &#8216;suitecrm_db&#8217;, dbuser &#8216;crmadmin&#8217; with password &#8216;hakase-labs123&#8217;. And type your admin user, password, and email as shown below.<\/p>\n<p><a class=\"fancybox\" id=\"img-13\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/13.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-12.png\" alt=\"Database and site configuration\" width=\"500\" height=\"280\" title=\"\"><\/a><\/p>\n<p>Scroll to the bottom and click &#8216;Next&#8217; to continue installing SuiteCRM.<\/p>\n<p>Wait for a moment for the installation, and when it&#8217;s complete, you will be redirected to the login page as below.<\/p>\n<p><a class=\"fancybox\" id=\"img-14\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/14.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-13.png\" alt=\"SuiteCRM login\" width=\"500\" height=\"287\" title=\"\"><\/a><\/p>\n<p>Type your admin user and password, and click the &#8216;Log in&#8217; button.<\/p>\n<p>Now you&#8217;ll be able to see the default SuiteCRM dashboard.<\/p>\n<p><a class=\"fancybox\" id=\"img-15\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_suitecrm_with_nginx_on_ubuntu_1604\/big\/15.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-suitecrm-with-nginx-on-ubuntu-16-04-14.png\" alt=\"SuiteCRM dashboard\" width=\"500\" height=\"289\" title=\"\"><\/a><\/p>\n<p>SuiteCRM has been installed with Nginx web server on the Ubuntu 16.04 system.<\/p>\n<h2 id=\"step-final-steps\">Step 6 &#8211; Final steps<\/h2>\n<p>For this last step, we will create a new Cron job under www-data user.<\/p>\n<p>Run the command below to add a new Cron job.<\/p>\n<p class=\"command\">sudo crontab -e -u www-data<\/p>\n<p>Paste Cron script configuration below.<\/p>\n<pre class=\"system\">*\u00a0\u00a0\u00a0 *\u00a0\u00a0\u00a0 *\u00a0\u00a0\u00a0 *\u00a0\u00a0\u00a0 *\u00a0\u00a0\u00a0\u00a0 cd \/opt\/suitecrm; php -f cron.php &gt; \/dev\/null 2&gt;&amp;1<\/pre>\n<p>Save and exit. Then restart the Cron service.<\/p>\n<p class=\"command\">systemctl restart cron<\/p>\n<p>The SuiteCRM installation on Ubuntu 16.04 has been completed.<\/p>\n<h2 id=\"reference\">Reference<\/h2>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>SuiteCRM is an open source CRM (Customer Relationship Management) software based on PHP. It is a fork of the popular CRM software &#8216;SugarCRM&#8217;, and has become more popular after &#8216;SugarCRM&#8217; decided to stop the development of the free version. SuiteCRM has been nominated as the best open source CRM software on BOSSIE 2015 and 2016. &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-2814","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/2814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=2814"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/2814\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=2814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=2814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=2814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}