CentOS 5.8安装SugarCRM 6.5版本

本网站用的阿里云ECS,推荐大家用。自己搞个学习研究也不错

<

div id=”content”>环境:CentOS 5.8,安装了Asterisk 1.8

升级php到5.2
SugarCRM 6.5:  Minimum PHP version required is 5.2.0. You are using PHP version 5.1.6
官方的yum源里面没有,如下添加一个额外的源:
# rpm  -import http://www.jasonlitka.com/RPM-GPG-KEY-jlitka
# vi  /etc/yum.repos.d/utterramblings.repo
在打开的文件中加入以下内容:
[utterramblings]
name=Jason’s Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/RPM-GPG-KEY-jlitka
保存
# yum update php
# reboot
参考:http://www.linuxidc.com/Linux/2014-04/100956p2.htm

下载SugarCRM 6.5版本
cd /var/www/html
wget http://nchc.dl.sourceforge.net/project/sugarcrm/1%20-%20SugarCRM%206.5.0/SugarCommunityEdition-6.5.0/SugarCE-6.5.2.zip
unzip SugarCE-6.5.2.zip
ln -s SugarCE-Full-6.5.2/ SugarCE

chown asterisk:asterisk SugarCE* -R

浏览器访问  http://192.168.100.103/SugarCE/install.php

提示session.save_path设置错误

cd /var/www/html/SugarCRM/

创建文件phpinfo.php

浏览器访问 http://192.168.100.103/SugarCE/phpinfo.php
 看到/var/lib/php/session

mkdir /var/lib/php/session_sugarcrm
chown asterisk:asterisk /var/lib/php/session_sugarcrm
touch .htaccess
vi .htaccess

php_value session.save_path /var/lib/php/session_sugarcrm

/etc/init.d/httpd restart

提示mbstring没有启用

CentOS 5.8缺省的php没有启用mbstring
yum -y install php-mbstring
在/etc/php.ini的加入extension=mbstring.so
编辑/etc/php.ini

提示
PHP Memory Limit  32M (Set this to 41943040M or larger in your php.ini file)
IMAP Module  Not found: InboundEmail and Campaigns (Email) require the IMAP libraries. Neither will be functional.
Upload File Size  Warning: Your PHP configuration should be changed to allow files of at least 6MB to be uploaded.

http://code.google.com/p/sugarcrmcn/downloads/list
cd  /var/www/html/SugarCE
wget http://code.google.com/p/sugarcrmcn/downloads/detail?name=SugarCRM-LangPack-zh_cn-6.1.1.zip&can=2&q=
unzip SugarCRM-LangPack-zh_tw-6.2.3.zip

修改config.php
  array (
    ‘en_us’ => ‘English (US)’,
    ‘zh_cn’ => ‘Chinese’
  ),

5、浏览器访问  http://192.168.100.103/SugarCE/

退出并重新登录,将会出现English Chinese语言选择。

第一次登陆,会提示进行地区缯div>

未经允许不得转载:演道网 » CentOS 5.8安装SugarCRM 6.5版本

赞 (0)
分享到:更多 ()
已有 0 条评论