2014年1月7日火曜日

VtigerCRM 6.0 インストールメモ

[参考サイト]
http://hatcy840.hatenablog.com/entry/2013/07/02/224227

[selinuxの無効化]


[Apache インストール]
  # yum -y install httpd
  # /etc/init.d/httpd start


[MySQL インストール]
  # yum -y install mysql-server mysql-devel


[MySQL utf8対応]
  # vi /etc/my.cnf
  ・my.cnfの内容
#-----------------------------------------------------------------------------#
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0

default-character-set=utf8
collation_server=utf8_unicode_ci
character_set_server=utf8
default-character-set=utf8
init_connect='SET collation_connection = utf8_general_ci'
init_connect='SET NAMES utf8'

[client]
default-character-set = utf8

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
#-----------------------------------------------------------------------------#

  # /etc/init.d/mysqld restart
  # mysql_secure_installation


[MySQL ユーザー作成]
  # mysql -uroot -p
 
  > CREATE USER jtiger IDENTIFIED BY 'jtiger';
  > GRANT ALL PRIVILEGES ON *.* TO jtiger@'%';
  > CREATE DATABASE jtigercrm DEFAULT CHARACTER SET = utf8;


[vtigerCRM インストール]
  ・下のサイトよりファイルを見つけてwget (ver 5.4.0)
    https://www.vtiger.com/open-source-downloads/

  # tar xvzf vtigercrm-6.0.0rc.tar.gz
  # cp -Rf vtigercrm /var/www/html/.
  # cd /var/www/html/
  # chmod -R 775 vtigercrm
  # chown -R apache:apache vtigercrm


[PHP 5.3 インストール]
  # yum -y install php53 php53-devel php53-pdo php53-mysql php53-mbstring php53-gd
  # yum -y install php-mcrypt php-pear php-pear-DB php-pear-Auth-*l php-pecl-apc-devel zlib-devel


[WebブラウザよりvtigerCRMへ接続して設定]
  [PHP 設定ファイルの修正]
    ・IMAP-Support を Yesにする
    # yum -y install php53-imap
    # /etc/init.d/httpd restart
   
    ・Recommended PHP Settings: の内容を PHP設定ファイル(/etc/php.ini)へ反映
    ・apache再起動
    # /etc/init.d/httpd restart

  [Database Information]
  Host Name: localhost
  User Name: jtiger
  Database Name: jtigercrm
  Populate database with demo data :  チェックを外す!
  Currency Name: Japan, Yen(\)


[vtigerCRM 日本語化]
  [日本語化モジュールのインポート]
    ・下のサイトを開く
      https://www.vtiger.com/open-source-downloads/
    ・ファイルダウンロード
      [VtigerCRM 5.4.0 - CRM Language Packs]-[Japanese(beta)] -> [vtigercrm-5.3.0-JP-langpackage-Beta1.zip]
    ・右上メニュー [CRM Settings]-[Module Manager] -> [Custom Modules]-[Import New] -> [参照ボタン]
    ・先ほどダウンロードした zipファイルを選択して [Importボタン]
    ・□ I accept the license agreement にチェックを付ける -> [Yesボタン]をクリック
  [Accountの言語設定]
    ・[My Preferences] -> [3.More Infomation]-[Language] => [Japanese (日本語)]へ変更
    ・Sign Out -> Login

0 件のコメント:

コメントを投稿