Difference between revisions of "Instalasi Senayan"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 12: | Line 12: | ||
Copykan [[source code]] senayan ke folder [[Web]] & buka [[source code]]-nya | Copykan [[source code]] senayan ke folder [[Web]] & buka [[source code]]-nya | ||
− | cp | + | sudo su |
− | cd /var/www | + | cp slims3-stable15.tar.gz /var/www/ |
− | tar zxvf | + | cd /var/www/ |
− | mv | + | tar zxvf slims3-stable15.tar.gz |
+ | mv slims3-stable15 senayan | ||
Siapkan [[database]] [[MySQL]] | Siapkan [[database]] [[MySQL]] | ||
Line 26: | Line 27: | ||
quit | quit | ||
− | Bagi anda yang masih belajar, | + | Bagi anda yang masih belajar, dengan asumsi password root 123456, dapat menggunakan |
+ | |||
+ | # mysql -u root -p123456 | ||
− | |||
− | |||
create database senayan; | create database senayan; | ||
GRANT ALL PRIVILEGES ON senayan.* TO 'senayan'@'localhost' IDENTIFIED BY 'senayan'; | GRANT ALL PRIVILEGES ON senayan.* TO 'senayan'@'localhost' IDENTIFIED BY 'senayan'; |
Revision as of 17:33, 15 November 2011
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 (semoga Web-nya masih hidup)
http://slims.web.id/web/?q=node/1
Copykan source code senayan ke folder Web & buka source code-nya
sudo su cp slims3-stable15.tar.gz /var/www/ cd /var/www/ tar zxvf slims3-stable15.tar.gz mv slims3-stable15 senayan
# mysql -u root -p password: create database senayan; GRANT ALL PRIVILEGES ON senayan.* TO 'senayanuser'@'localhost' IDENTIFIED BY 'password_senayanuser'; GRANT ALL PRIVILEGES ON senayan.* TO 'senayanuser' IDENTIFIED BY 'password_senayanuser'; quit
Bagi anda yang masih belajar, dengan asumsi password root 123456, dapat menggunakan
# 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', '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