Difference between revisions of "SchoolOnffLine: Instalasi Senayan Digital Library"

From OnnoWiki
Jump to navigation Jump to search
(New page: Tampaknya DIKNAS mulai mengembangkan software open source untuk digital library dengan nama Senayan Siapkan dependencies # apt-get install apache2 mysql-server libmysqlclient15-dev libp...)
 
Line 13: Line 13:
 
Copykan source code senayan ke folder Web
 
Copykan source code senayan ke folder Web
  
  # mv /usr/local/src/senayan3-stable9.tar.gz /var/www/
+
  # mv /usr/local/src/senayan3-stable10-patch1.tar.gz /var/www/
 
  # cd /var/www
 
  # cd /var/www
  
 
Buka source code senayan
 
Buka source code senayan
  
  # tar zxvf senayan3-stable9.tar.gz
+
# cd /var/www
 +
  # tar zxvf senayan3-stable10-patch1.tar.gz  
 +
# mv senayan3-stable10 senayan
  
 
Siapkan database MySQL
 
Siapkan database MySQL
Line 31: Line 33:
 
Masukan template database ke MySQL
 
Masukan template database ke MySQL
  
  # mysql -u root -p senayan < /var/www/senayan3-stable9/sql/install/senayan.sql
+
  # mysql -u root -p senayan < /var/www/senayan/install/senayan.sql  
  # mysql -u root -p senayan < /var/www/senayan3-stable9/sql/install/sample_data.sql  
+
  # mysql -u root -p senayan < /var/www/senayan/install/sample_data.sql  
  
 
Edit konfigurasi Web Senayan
 
Edit konfigurasi Web Senayan
  
  # vi /var/www/senayan3-stable9/sysconfig.inc.php
+
  # vi /var/www/senayan/sysconfig.inc.php
  
 
  define('DB_HOST', 'localhost');
 
  define('DB_HOST', 'localhost');
Line 46: Line 48:
 
Lakukan
 
Lakukan
  
# mv /var/www/senayan3-stable9 /var/www/senayan
 
 
  # chown -Rf www-data.www-data /var/www/senayan
 
  # chown -Rf www-data.www-data /var/www/senayan
  

Revision as of 14:42, 31 July 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

# mv /usr/local/src/senayan3-stable10-patch1.tar.gz /var/www/
# cd /var/www

Buka source code senayan

# cd /var/www
# tar zxvf senayan3-stable10-patch1.tar.gz 
# mv senayan3-stable10 senayan

Siapkan database MySQL

# 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 root -p senayan < /var/www/senayan/install/senayan.sql 
# mysql -u root -p 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', 'senayan');
define('DB_PASSWORD', 'senayan');

Lakukan

# chown -Rf www-data.www-data /var/www/senayan

Akses ke Web Digital Library Senayan Melalui

http://192.168.0.254/senayan/index.php
username admin
password admin


Pranala Menarik