SuiteCRM安装,亲测

https://computingforgeeks.com/how-to-install-suitecrm-on-ubuntu-18-04-centos-7-nginx/

In this guide, I’ll take you through the installation of SuiteCRM on Ubuntu 18.04 / CentOS 7. SuiteCRM is the award-winning, enterprise-class open source CRM system developed and maintained by SalesAgility. It is a fork of the popular open source SugarCRM Community Edition. It comes bundled with additional open source modules and standard features found within SugarCRM CE.

SugarCRM is under active development, and there are many regular functionalities and improvements being added to the core product to make it the best Open Source CRM product. It competes with proprietary CRM vendors such as SugarCRM, Salesforce, and Microsoft.

Install SuiteCRM on Ubuntu 18.04 / CentOS 7 – Pre-requisites
PHP
Nginx web server
MySQL / MariaDB database server
A user with sudo privileges
Follow the steps below to install and start using SuiteCRM to manage business processes, customer data, access to business information, customer interaction, to automate sales e.t.c.

Step 1: Install PHP on Ubuntu 18.04 / CentOS 7
The first step is to ensure you have the PHP and modules required.

Install PHP on Ubuntu 18.04
Ubuntu 18.04 has PHP 7.2 in its repositories. Install it by running the commands below on your terminal:

sudo apt-get -y install wget php php-pear php-cgi php-common php-curl
php-mbstring php-gd php-mysql php-gettext php-bcmath
php-imap php-json php-xml php-fpm
Install PHP on CentOS 7
For CentOS 7 system. we’ll install php 7.2 from Remi rpm repository:

sudo yum install epel-release yum-utils wget
sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
Disable remi-php54 and enable remi-php72 repository:

sudo yum-config-manager --disable remi-php54
sudo yum-config-manager --enable remi-php72
Then install php

sudo apt-get -y install php php-pear php-cgi php-common php-curl
php-mbstring php-gd php-mysql php-gettext php-bcmath
php-imap php-json php-xml
To confirm the php version installed, use the command php -v

php -v

PHP 7.2.8 (cli) (built: Jul 17 2018 09:50:46) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright © 1998-2018 Zend Technologies
Increate php timeout and max file upload size:

$ sudo vim /etc/php.ini
upload_max_filesize = 20M
max_execution_time = 120
Step 2: Install MariaDB and Nginx Web Server
For this setup, we will use Nginx as a web server for SuiteCRM. Install it on your CentOS 7 / Ubuntu 18.04 server using either yum or apt package manager.

$ sudo apt-get install nginx # Ubuntu 18.04
$ sudo yum install nginx # CentOS 7
On the site of the database, the server of choice is MariaDB. Install it using the guide below:

Install MariaDB 10.3 on Ubuntu 18.04 and CentOS 7

Once database server has been installed, you need to create a database for SuiteCRM.

create database suitecrm;
grant all on suitecrm.* to suitecrm@localhost IDENTIFIED by “StrongPassword”;
flush privileges;
quit
Step 3: Install and Configure SuiteCRM on Ubuntu 18.04 and CentOS 7
Check SuiteCRM releases page for the latest release. As of this writing, the latest release is v7.10.7.

export VER=“7.10.7”
wget https://github.com/salesagility/SuiteCRM/archive/v V E R . t a r . g z t a r x v f v {VER}.tar.gz tar xvf v VER.tar.gztarxvfv{VER}.tar.gz
rm v${VER}.tar.gz
We then need to create a directory for hosting SuiteCRM web data:

sudo mkdir /srv/suitecrm
sudo rsync -avv SuiteCRM-${VER}/* /srv/suitecrm
Change ownership of /srv/suitecrm directory to the web user:

For CentOS:

chown -R nginx:nginx /srv/suitecrm/
cd /srv/suitecrm/
chmod -R 775 *
For Ubuntu:

chown -R www-data:www-data /srv/suitecrm/
cd /srv/suitecrm/
chmod -R 775 *
Configure Nginx

cat /etc/nginx/conf.d/suitecrm.conf

server {
server_name crm.example.com;
client_max_body_size 50M;
root /srv/suitecrm;

location / {
   try_files $uri /index.php;

}
location ~ .php$ {
try_files $uri =404;
#fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_pass localhost:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME d o c u m e n t r o o t document_root documentrootfastcgi_script_name;
include fastcgi_params;
}
error_log /var/log/nginx/suitecrm_error.log;
access_log /var/log/nginx/suitecrm_access.log;
location ~ /.ht {
deny all;
}
}
When done, start nginx and php-fpm service:

sudo systemctl start nginx php-fpm
sudo systemctl enable nginx php-fpm
Open your favorite browser and go to http://crm.example.com

Tick “I Accept” to accept License Agreement terms.

Click Next to continue

Make sure all checks return OK, then click Next to continue.

On the next page provide:

Configure Database: ( Select Use existing user option)

Database Name: suitcrm_db
Host Name: localhost
User: suitecrm_user
Password: db-user-password
Configure Identify Administration User

SuiteCRM Application Admin Name: Admin
SuiteCRM Admin User Password: Admin-user-password
Re-enter SuiteCRM Admin User Password:
URL of SuiteCRM Instance: URL configured on Nginx

When the installation is done, you should get a login page.

Once done, set up cron for the web user to run SuiteCRM Schedulers,

sudo crontab -e -u nginx
Add the following line to the crontab file:

          • cd /srv/suitecrm; php -f cron.php > /dev/null 2>&1
            That’s all. Enjoy using SuiteCRM.
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
据说是CRM市场最牛软件,从Siebel经过SugarCRM到现在的SuiteCRM Siebel 公司建于1993年,在2001年度财富杂志所发表的全球100个发展最快的企业名单上位居第二位,曾经红得发紫。 2012年 IBM用SugarCRM替代Siebel做为客户关系管理系统,在这一年里Siebel失去惠普、微软和IBM三大顶级客户。 SugarCRM 从2007 年起连续多年获得Bossie Awards年度最佳开源CRM软件,经历了高速成长,从开源慢慢变为只开一点点,直到不再维护开源版。 SuiteCRM 从2014开始, 2015 2016逐年替代了SugarCRM成为Bossie Awards最佳开源CRM软件。 SUITECRM是一个屡获殊荣的企业级的,强大的,可定制的,免费的开源客户关系管理应用程序。14种语言界面自由替换,世界上一些最大的公司是优先选择SUITECRM上一代像SALESFORCE的,SAP,SIEBEL和MICROSOFT应用程序。 SUITECRM提供具有大大降低了部署成本和(TCO)总拥有成本相同的功能,它是完全免费的 - 每行代码是开源的,永远都是。 我们正在改变CRM变得更好 - 更低的成本,更灵活,更快速的部署,没有厂商限制。 经过超过多年的发展,SuiteCRM仍然在不断实现创新及扩展。这位从SugarCRM手中接过开源CRM皇冠的继任者将账目管理、销售自动化与营销工具等从Sugar专业版中的功能加以整合。另外,它还提供丰富的扩展集合,从企业安全插件到搜索、社交媒体乃至Mail Chimp市场营销工具皆在其中。 它的最新版本提供深层报告选项,并经由Suite Spot这一新型分析工具实现。这款拖拽操作型报告设计工具允许大家创建并定义复杂的报告,而不要求使用者接受SQL培训或者具备相关知识。它的报告可以本地方式交付,或者推送至门户网站以进行共享。 而更为重要的是,SuiteCRM用户界面在设计中充分考虑到移动设备的实际情况,专门进行了小屏幕优化,同时提供可靠的信息同步机制。如果大家希望寻找一种功能及性能出众的销售流程与客户交互CRM解决方案,那么SuiteCRM绝对值得一试。 产品亮点 ● 开源、免费,多语言 ● 荣获BOSSIE评比的2014, 2015和2016年度最佳CRM软件 ● 定位于与Salesforce, Oracle, SAP and Microsoft Dynamics等商业CRM竞争 ● 能够通过工作流功能来对报价、Pipeline、合同等进行审批流程设置 ● 产品基于SugarCRM开源版,但远远超出 适用的操作系统 Windows: SuiteCRM runs on any OS that runs PHP Linux: SuiteCRM runs on any OS that runs PHP Mac: SuiteCRM runs on any OS that runs PHP
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值