suiteCrm搭建

1:php

sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

yum -y --enablerepo=remi-php73 install wget php pcre pcre-devel zlib-devel php73-php-{fpm,cli,devel,pear,cgi,common,curl,mbstring,gd,mysqlnd,gettext,bcmath,json,xml,fpm,intl,zip,imap}

find / -name php-fpm.conf

1.打开php-fpm.conf,在最下面一行找到:

/etc/opt/remi/php73/php-fpm.d/*.conf

2.显示引用了配置文件,进入查看

cd /etc/opt/remi/php73/php-fpm.d

#找到user和group改为:

user = www

group = www

并且找到

php_value[session.save_path] = /var/opt/remi/php73/lib/php/session

执行(处理因为修改用户组 导致session无法写入的问题)

chown -R nginx:nginx /var/opt/remi/php73/lib/php

php配置文件居然在 /etc/opt/remi/php73/php.ini

systemctl enable php73-php-fpm

systemctl start php73-php-fpm

2:nginx

rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm

yum install -y nginx

systemctl enable nginx.service

systemctl start nginx.service

3:composer

wget https://getcomposer.org/installer -O composer-installer.php

sudo php composer-installer.php --filename=composer --install-dir=/usr/local/bin

composer --version

4:crm(建议去下载zip,解压后上传到服务器,不要用下面的 git clone)

yum -y install git

cd /opt

git clone https://github.com/salesagility/SuiteCRM.git

mv SuiteCRM suitecrm

chown -R nginx:nginx suitecrm

chmod -R 755 suitecrm

ls -ld suitecrm

5:配置nginx

6:

composer update --ignore-platform-reqs

7:

SuiteCRM搭建安装(apache+msyql+php)_Future_object的博客-CSDN博客_suitecrm

装linux服务器进去配置界面,在CentOS 8 Linux上安装和配置SuiteCRM的步骤_吻死破孩的博客-CSDN博客

8:参考https://docs.suitecrm.com/8.x/developer/installation-guide/ 安装前端

9:./bin/console suitecrm:app:install -u "admin" -p "admin" -U "zjb" -P "wqyaizjb412015052" -H "192.168.0.147" -N "suitecrm81" -S "http://192.168.3.72:81" -d "yes"

./bin/console suitecrm:app:install -u "admin_username" -p "admin_password" -U "db_user" -P "db_password" -H "db_host" -N "db_name" -S "site_url" -d "demo_data"

总的 (wx小程序搜索磁力种子王,累了就去放松下吧!)

server {

listen 80;

server_name localhost;

client_max_body_size 20M;

root /opt/suitecrm;

index index.php index.html index.htm;

fastcgi_buffers 16 16k;

fastcgi_buffer_size 32k;

include /etc/nginx/conf.d/php-fpm;

#access_log /var/log/nginx/host.access.log main;

location / {

autoindex on;

try_files $uri $uri/ /index.php?$query_string;

}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html

#

error_page 500 502 503 504 /50x.html;

location = /50x.html {

root /usr/share/nginx/html;

}

location ~ /\.ht {

deny all;

}

}

其中php-fpm

location ~ \.(php|phar)(/.*)?$ {

fastcgi_split_path_info ^(.+\.(?:php|phar))(/.*)$;

set $path_info $fastcgi_path_info;

fastcgi_param PATH_INFO $path_info;

fastcgi_pass 127.0.0.1:9000;

#fastcgi_pass unix:/dev/shm/php-fcgi.sock;

fastcgi_index index.php;

include fastcgi_params;

set $fastcgi_script_name2 $fastcgi_script_name;

if ($fastcgi_script_name ~ "^(.+\.php)(/.+)$") {

set $fastcgi_script_name2 $1;

set $path_info $2;

}

fastcgi_param PATH_INFO $path_info;

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name2;

fastcgi_param SCRIPT_NAME $fastcgi_script_name2;

}

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
SuiteCRM是一款开源的客户关系管理软件,拥有中文版。它提供了一套全面的工具和功能,用于管理和跟踪客户关系。中文版的SuiteCRM对于中国用户来说非常重要,因为它使得使用软件的过程更加方便和易于理解。 首先,中文版的SuiteCRM提供了全面的中文界面,所有的菜单、选项和标签都可以用中文显示。这使得用户无需费力地去学习和理解英文,可以直接在自己熟悉的语言环境下操作和使用软件。这对于那些对英文不太熟悉的用户来说,是一大优势。 其次,中文版的SuiteCRM还提供了完整的中文文档和教程,用户可以随时查阅学习。这些文档详细介绍了软件的各项功能和使用方法,可以帮助用户更好地了解和掌握软件。对于新手用户来说,这些文档是宝贵的学习资源。 除了中文界面和文档外,中文版的SuiteCRM还专门针对中国市场做了一些本地化调整。例如,支持中国的日期和时间格式,支持中文姓名的输入和显示,更好地适应中国用户的习惯和需求。这些本地化的调整使得软件在中国的使用更加顺畅和便捷。 总而言之,SuiteCRM中文版是一款非常适合中国用户的客户关系管理软件。它提供了中文界面、中文文档和本地化的特性,可以帮助用户更好地管理客户关系,提高工作效率。无论是个人用户还是企业用户,都可以通过SuiteCRM中文版来实现更好的客户关系管理。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值