SugarCRM安裝

文件下載地址:http://code.google.com/p/sugarcrmcn/downloads/list

 

需要下載的包有:

英文包:SugarCE-6.1.2.zip

漢化包:

簡體包:SugarCRM-LangPack-zh_cn-6.1.1.zip

繁體包:SugarCRM-LangPack-zh_tw-6.1.1.zip

 

 

mysql -h localhost -u root -p

 

創建MySQL帳號

grant all privileges on scrm.*  to scrm@'localhost' identified by "123456";

flush privileges;

 

查看剛創建的用戶權限

show grants for scrm@'localhost';

 

安裝SugarCRM

cd /data0/software/

unzip SugarCE-6.1.2.zip

mv /data0/software/SugarCE-Full-6.1.2 /data0/htdocs/Scrm

修改權限

chmod -R 777 /data0/htdocs/Scrm

 

配置虛擬主機指向這個目錄(這裏針對Nginx配置)

  server

  {

    listen 80;

    server_name crm.chinatree.com;

    index index.html index.htm index.php;

    root  /data0/htdocs/Scrm/;

 

    location ~ .*\.php {

      fastcgi_pass   192.168.1.1:9000;

      set $path_info "";

      set $real_script_name $fastcgi_script_name;

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

            #set $real_script_name $1;

            set $path_info $2;

      }

      fastcgi_param PATH_INFO $path_info;

      include fcgi.conf;

   }

 

    log_format scrmlogs  '$remote_addr - $remote_user [$time_local] "$request"                                              '

               '$status $body_bytes_sent $request_time "$http_referer" '

               '"$http_user_agent" $http_x_forwarded_for "$server_name" "$http_host"';

    access_log /data1/logs/scrm.log scrmlogs;

  }

 

 

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章