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

From OnnoWiki
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
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
  
  # apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \
+
  apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \
 
  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/
 
  http://senayan.diknas.go.id/web/?q=node/1
 
  http://senayan.diknas.go.id/web/?q=node/1
  
Copykan source code senayan ke folder Web
+
Sebagai root di shell, copy & buka [[source code]] senayan ke folder [[Web]]
  
  # mv /usr/local/src/senayan3-stable10-patch1.tar.gz /var/www/
+
  mv /usr/local/src/senayan3-stable14-patch1.tar.gz /var/www/
  # cd /var/www
+
  cd /var/www
 +
tar zxvf senayan3-stable14-patch1.tar.gz
 +
mv senayan3-stable14 senayan
 +
chown -Rf www-data.www-data /var/www/senayan
  
Buka source code senayan
+
Siapkan [[database]] [[MySQL]]
  
  # cd /var/www
+
  mysql -u root -p123456
# tar zxvf senayan3-stable10-patch1.tar.gz
 
# mv senayan3-stable10 senayan
 
  
Siapkan database MySQL
+
create database senayan;
 +
GRANT ALL PRIVILEGES ON senayan.* TO 'senayan'@'localhost' IDENTIFIED BY 'senayan';
 +
GRANT ALL PRIVILEGES ON senayan.* TO 'senayan' IDENTIFIED BY 'senayan';
 +
quit
  
# mysql -u root -p
+
Masukan template [[database]] ke [[MySQL]]
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
  
# mysql -u root -p senayan < /var/www/senayan/install/senayan.sql
+
Edit konfigurasi [[Web]] Senayan
# mysql -u root -p senayan < /var/www/senayan/install/sample_data.sql
 
  
Edit konfigurasi Web Senayan
+
  vi /var/www/senayan/sysconfig.inc.php
 
 
  # vi /var/www/senayan/sysconfig.inc.php
 
  
 
  define('DB_HOST', 'localhost');
 
  define('DB_HOST', 'localhost');
Line 48: Line 45:
 
Lakukan
 
Lakukan
  
  # chown -Rf www-data.www-data /var/www/senayan
+
  chown -Rf www-data.www-data /var/www/senayan
  
Akses ke Web Digital Library Senayan Melalui
+
Akses ke [[Web]] [[Digital Library]] Senayan Melalui
  
 
  http://192.168.0.254/senayan/index.php
 
  http://192.168.0.254/senayan/index.php
Line 61: Line 58:
  
 
* [[Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK]]
 
* [[Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK]]
 +
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
 +
* [[SchoolOnffLine: Server Wikipedia for School]]
 
* [[Remastering Ubuntu]]
 
* [[Remastering Ubuntu]]
 +
 +
[[Category: Linux]]
 +
[[Category: Distro Linux]]
 +
[[Category: SchoolOnffLine]]

Latest revision as of 17:19, 20 November 2010

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

Sebagai root di shell, copy & buka source code senayan ke folder Web

mv /usr/local/src/senayan3-stable14-patch1.tar.gz /var/www/
cd /var/www
tar zxvf senayan3-stable14-patch1.tar.gz
mv senayan3-stable14 senayan
chown -Rf www-data.www-data /var/www/senayan

Siapkan database MySQL

mysql -u root -p123456
create database senayan;
GRANT ALL PRIVILEGES ON senayan.* TO 'senayan'@'localhost' IDENTIFIED BY 'senayan';
GRANT ALL PRIVILEGES ON senayan.* TO 'senayan' IDENTIFIED BY 'senayan';
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', '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