Instalasi Senayan
Revision as of 09:03, 19 August 2008 by Onnowpurbo (talk | contribs)
Tampaknya DIKNAS mulai mengembangkan software open source untuk digital library dengan nama Senayan
Download source code Senayan dari Web dari
http://senayan.diknas.go.id/web/
Copykan source code senayan ke folder Web
# cp senayan3-stable5.tar.gz /var/www/ # cd /var/www
Buka source code senayan
# tar zxvf senayan3-stable5.tar.gz
Siapkan database MySQL
# mysql -u root -p password: mysql> create database senayan; mysql> GRANT ALL PRIVILEGES ON senayan.* TO 'senayanuser'@'localhost' IDENTIFIED BY 'password_senayanuser'; mysql> GRANT ALL PRIVILEGES ON senayan.* TO 'senayanuser' IDENTIFIED BY 'password_senayanuser'; mysql> quit
Masukan template database ke MySQL
# mysql -u root -p senayan < /var/www/senayan3-stable5/sql/install/senayan.sql
Edit konfigurasi Web Senayan
# vi /var/www/senayan3-stable5/sysconfig.inc.php
define('DB_HOST', 'localhost'); define('DB_PORT', '3306'); define('DB_NAME', 'senayan'); define('DB_USERNAME', 'senayanuser'); define('DB_PASSWORD', 'password_senayanuser');
Lakukan
# chown -Rf www-data.www-data /var/www/senayan3-stable5
Akses ke Web Digital Library Senayan Melalui
http://localhost/senayan3-stable5/index.php
username admin password admin