Site icon Learning & Doing

Install kayako fusion in centos 5

Requirtment :

-OS : centos 5
-php 5.4 or higer
-web server apache / nginx
-mysql 5

#setting php.ini (etc/php.ini)

-max_execution_time: “600”
-max_input_time: “600”
-magic_quotes_gpc: “Off” (this setting is not a part of standard “php.ini” file supplied with PHP 5.4.x)
-memory_limit: “256M”
-file_uploads: “On”
-upload_max_filesize: “20M”
-post_max_size: “20M”
-max_file_uploads: “20”

#setting modul php yg wajib ada ( sudo yum install php54w php54w-cli php54w-common php54w-devel php54w-gd php54w-mbstring php54w-mysql php54w-pdo php54w-pgsql php54w-xml php54w-xmlrpc php54w-mcrypt php54w-curl php54w-filter php54w-json php54w-imap php54w-sockets php54w-dom)

-mbstring
-mcrypt
-gd with Freetype support
-curl
-mysql
-MySQLi (required for PHP 5.5 and later)
-pdo
-pdo_mysql
-simplexml
-filter
-json
-imap
-sockets
-xml
-dom

Tahap Instalasi :

1. download dulu file kayako fusion nya lalu simpan / upload ke direktory (/var/www/html/)
misal nama folder nya kayako . jdi path nya : /var/www/html/kayako

2. kemudian buat database kayako nya .

mysql -u root -p

> CREATE DATABASE kayako_fusion;

> USE kayako_fusion;

> ALTER DATABASE kayako_fusion DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

> GRANT ALL PRIVILEGES ON kayako_fusion.* TO ‘kayako_user’@’localhost’ IDENTIFIED by ‘this_is_a_weak_password’;

3. setting config DB nya .

masuk ke directory : /var/www/html/kayako

cd /var/www/html/kayako/__swift/config/

rename file

mv config.php.new config.php

config DB

vi config.php

kemudian sesuaikan DB nya :

/**
* DATABASE HOSTNAME
*/
define(‘DB_HOSTNAME’, ‘localhost’);

/**
* DATABASE USERNAME
*/
define(‘DB_USERNAME’, ‘kayako_user’);

/**
* DATABASE PASSWORD
*/
define(‘DB_PASSWORD’, ‘support’);

/**
* DATABASE NAME
*/
define(‘DB_NAME’, ‘kayako_fusion’);

4. kemudian ganti permission file di bawah ini dengan 777

__swift/files
__swift/cache
__swift/geoip
__swift/logs
__apps

misal : chmod 777 __apps

5. restart apache + mysql

/etc/init.d/httpd restart
/etc/init.d/mysqld restart

6. coba buka kayako nya :

http://ipaddr/kayako/setup

7. kalo belum tampil berarti ada problem yg belum di setting .

– cek php version

php -v

-cek php modul

php -m

nb : jika ingin mngetahui error nya bisa di enable / on display_error yg di php.ini

Exit mobile version