Tuesday, September 11, 2012

UBUNTU: Configuration KOHA in Ubuntu Server

KOHA CONFIGURATION 
------------------
AFTER DONE UPLOADE THE IMAGE TO NEW SERVER..

 1) Change hostname
     # nano /etc/hostname

 2) Change new IP in vhost file
     # /etc/koha/koha-httpd.conf

 3) Reboot server
     # reboot

 4) Change binding ip in my.cnf
     # /etc/mysql/my.cnf
     ** can use this command to compare the different between files
     # diff my.cnf my.cnf.save

 5) Restart the mysql service
     # service mysql stop
     # service mysql start
     # ps ax | grep mysql

    **should get something like this
 22823 ? Ssl 0:01 /usr/sbin/mysqld
 22841 ? S 0:00 /bin/bash /etc/mysql/debian-start
 22859 ? S 0:00 xargs -i /usr/bin/mysql --defaults-file=/etc/mysql/debian.cnf --skip-column-names --silent --batch --force -e {}
 22928 pts/0 S+ 0:00 grep --color=auto mysql
 22929 ? R 0:00 /usr/bin/mysql --defaults-file=/etc/mysql/debian.cnf --skip-column-names --silent --batch --force -e select count(*) into @discard from `initial-koha`.`reserves`

 6) Try run koha in browser
      http://domain.com/

 .

0 comments:

Post a Comment