Professional Documents
Culture Documents
Install Debian Linux 1. Download file ISO di http://lutung.library.ums.ac.id/debian-iso/50/debian-505-i386netinst.iso 2. Bakar file ISO yang sudah didownload 3. Boot server dari CD 4. Lakukan instalasi Install Koha 1. Lengkapi server dengan repositori Edit file /etc/apt/source.list
# sudo pico /etc/apt/source.list
Jika terdapat error GPG key saat update repositori, berikan perintah berikut
# aptitude install debian-archive-keyring
lalu update sekali lagi Tambahkan file pendukung supaya bias diremote
#apt-get install sudo openssh-server
Ganti dengan
'urllist' => [q[http://lutung.library.ums.ac.id/cpan/]], $ sudo cpan Algorithm::CheckDigits SMS::Send HTTP::OAI IPC::Cmd::Memoize::Memcached PDF::API2::Simple PDF::Table Storable Test::More::Locale::Currency::Format DateTime Lingua::Stem::Snowball Text::CSV::Encoded::UNIVERSAL::require YAML Authen::CAS::Client
dev:
Catat semua hal yang berhubungan dengan user dan password dari masing-masing servis Ternyata masih ada beberapa error
Warning: prerequisite Business::ISBN 2.05 not found. We have 2.0301. Warning: prerequisite Graphics::Magick 1.3.5 not found. We have 1.1.11. Warning: prerequisite IPC::Cmd 0.46 not found. We have 0.401. Warning: prerequisite Locale::Currency::Format 1.28 not found. Warning: prerequisite Memoize::Memcached 0.03 not found. Warning: prerequisite Text::CSV::Encoded 0.09 not found. Warning: prerequisite UNIVERSAL::require 0.13 not found. Writing Makefile for koha
$ tar zxvf GraphicsMagick-1.3.12.tar.gz $ cd GraphicsMagick-1.3.12 $ cd PerlMagick $ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Graphics::Magick $ cd .. $ make $ make test $ sudo make install
koha@core2duo:~$ mysqladmin -uroot -pwarlord create koha koha@core2duo:~$ mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 30 Server version: 5.0.51a-24+lenny5 (Debian) Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> grant all on koha.* to 'kohabase'@'localhost' identified by 'kohabase'; Query OK, 0 rows affected (0.00 sec) mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) mysql> quit Bye
9. Mengkonfigurasi Apache
edit file /etc/apache2/sites-available/koha ganti 127.0.0.1 dengan tanda asterix (*) tambahkan baris ini pada file berikut /etc/apache2/ports.conf:
Listen 80 Listen 8080
$ sudo a2enmod rewrite Enabling module rewrite. Run '/etc/init.d/apache2 restart' to activate new configuration! $ sudo a2ensite koha Enabling site koha. Run '/etc/init.d/apache2 reload' to activate new configuration! $ sudo apache2ctl restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
koha@core2duo:~$ sudo -u koha zebrasrv -f /home/koha/koha-dev/etc/kohaconf.xml 17:41:45-21/04 [fatal] lock file /home/koha/kohadev/var/lock/zebradb/biblios/zebrasrv.pid [Permission denied]
Atasi error di atas dengan mengubah hak milik file kepada user koha
$ sudo chown koha:koha -R koha-dev
13. Zebra Indexer dengan crontab Sudah disediakan contoh di koha-3.2.7/misc/cronjobs (bagian source code koha), hanya perlu dirubah bebrapa path karena kita menggunakan mode dev untuk installasi tadi.