Difference between revisions of "Instalasi Senayan"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: 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 ...) |
Onnowpurbo (talk | contribs) |
||
Line 30: | Line 30: | ||
# vi /var/www/senayan3-stable5/sysconfig.inc.php | # 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'); |
Revision as of 08:57, 19 August 2008
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');