Difference between revisions of "Instalasi Senayan"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
− | Tampaknya DIKNAS mulai mengembangkan software open source untuk digital library dengan nama Senayan | + | Tampaknya [[DIKNAS]] mulai mengembangkan [[software]] [[open source]] untuk [[digital library]] dengan nama [[Senayan]] |
Siapkan dependencies | Siapkan dependencies | ||
Line 6: | Line 6: | ||
php5-mysql php5-gd php5-curl php-pear | php5-mysql php5-gd php5-curl php-pear | ||
− | Download source code Senayan dari Web dari | + | Download [[source code]] [[Senayan]] dari [[Web]] dari |
http://senayan.diknas.go.id/web/ | http://senayan.diknas.go.id/web/ | ||
Line 13: | Line 13: | ||
Copykan source code senayan ke folder Web | Copykan source code senayan ke folder Web | ||
− | # cp senayan3- | + | # cp senayan3-stable10-patch3.tar.gz /var/www/ |
# cd /var/www | # cd /var/www | ||
− | Buka source code senayan | + | Buka [[source code]] [[senayan]] |
− | # tar zxvf senayan3- | + | # tar zxvf senayan3-stable10-patch3.tar.gz |
+ | # mv senayan3-stable10-patch3 senayan | ||
− | Siapkan database MySQL | + | Siapkan [[database]] [[MySQL]] |
# mysql -u root -p | # mysql -u root -p | ||
Line 29: | Line 30: | ||
mysql> quit | mysql> quit | ||
− | + | Bagi anda yang masih belajar, ada baiknya menggunakan | |
− | # mysql -u root -p senayan < /var/www/ | + | # mysql -u root -p |
+ | password: | ||
+ | mysql> create database senayan; | ||
+ | mysql> GRANT ALL PRIVILEGES ON senayan.* TO 'senayan'@'localhost' IDENTIFIED BY 'senayan'; | ||
+ | mysql> GRANT ALL PRIVILEGES ON senayan.* TO 'senayan' IDENTIFIED BY 'senayan'; | ||
+ | mysql> quit | ||
+ | |||
+ | |||
+ | Masukan template [[database]] ke [[MySQL]] | ||
+ | |||
+ | # mysql -u senayan -psenayan senayan < /var/www/senayan/install/senayan.sql | ||
+ | # mysql -u senayan -psenayan senayan < /var/www/senayan/install/sample_data.sql | ||
Edit konfigurasi Web Senayan | Edit konfigurasi Web Senayan | ||
− | # vi /var/www/ | + | # vi /var/www/senayan/sysconfig.inc.php |
define('DB_HOST', 'localhost'); | define('DB_HOST', 'localhost'); | ||
Line 42: | Line 54: | ||
define('DB_USERNAME', 'senayanuser'); | define('DB_USERNAME', 'senayanuser'); | ||
define('DB_PASSWORD', 'password_senayanuser'); | define('DB_PASSWORD', 'password_senayanuser'); | ||
+ | |||
+ | Untuk anda yang masih belajar ada baiknya | ||
+ | |||
+ | define('DB_HOST', 'localhost'); | ||
+ | define('DB_PORT', '3306'); | ||
+ | define('DB_NAME', 'senayan'); | ||
+ | define('DB_USERNAME', 'senayan'); | ||
+ | define('DB_PASSWORD', 'senayan'); | ||
Lakukan | Lakukan | ||
− | # chown -Rf www-data.www-data /var/www/ | + | # chown -Rf www-data.www-data /var/www/senayan |
Akses ke Web Digital Library Senayan Melalui | Akses ke Web Digital Library Senayan Melalui | ||
− | http://localhost/ | + | http://localhost/senayan/index.php |
username admin | username admin |
Revision as of 16:18, 5 August 2009
Tampaknya DIKNAS mulai mengembangkan software open source untuk digital library dengan nama Senayan
Siapkan dependencies
# apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \ php5-mysql php5-gd php5-curl php-pear
Download source code Senayan dari Web dari
http://senayan.diknas.go.id/web/ http://senayan.diknas.go.id/web/?q=node/1
Copykan source code senayan ke folder Web
# cp senayan3-stable10-patch3.tar.gz /var/www/ # cd /var/www
Buka source code senayan
# tar zxvf senayan3-stable10-patch3.tar.gz # mv senayan3-stable10-patch3 senayan
# 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
Bagi anda yang masih belajar, ada baiknya menggunakan
# mysql -u root -p password: mysql> create database senayan; mysql> GRANT ALL PRIVILEGES ON senayan.* TO 'senayan'@'localhost' IDENTIFIED BY 'senayan'; mysql> GRANT ALL PRIVILEGES ON senayan.* TO 'senayan' IDENTIFIED BY 'senayan'; mysql> quit
Masukan template database ke MySQL
# mysql -u senayan -psenayan senayan < /var/www/senayan/install/senayan.sql # mysql -u senayan -psenayan senayan < /var/www/senayan/install/sample_data.sql
Edit konfigurasi Web Senayan
# vi /var/www/senayan/sysconfig.inc.php
define('DB_HOST', 'localhost'); define('DB_PORT', '3306'); define('DB_NAME', 'senayan'); define('DB_USERNAME', 'senayanuser'); define('DB_PASSWORD', 'password_senayanuser');
Untuk anda yang masih belajar ada baiknya
define('DB_HOST', 'localhost'); define('DB_PORT', '3306'); define('DB_NAME', 'senayan'); define('DB_USERNAME', 'senayan'); define('DB_PASSWORD', 'senayan');
Lakukan
# chown -Rf www-data.www-data /var/www/senayan
Akses ke Web Digital Library Senayan Melalui
http://localhost/senayan/index.php
username admin password admin