SchoolOnffline: Instalasi SISFOKOL Janissari

From OnnoWiki
Revision as of 09:14, 7 September 2009 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

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

Siapkan database

# mysql -u root -p
password:
create database sisfokol_janissari_v1;
GRANT ALL PRIVILEGES ON sisfokol_janissari_v1.* TO 'janissari'@'localhost' IDENTIFIED BY 'sisfokol_janissari_v1';
GRANT ALL PRIVILEGES ON sisfokol_janissari_v1.* TO 'janissari' IDENTIFIED BY 'sisfokol_janissari_v1';
exit

Copykan source code SISFOKOL ke folder Web

mkdir /var/www/janissari
mv /usr/local/src/sisfokol_janissari.tar.gz /var/www/janissari
cd /var/www/janissari
tar zxvf sisfokol_janissari.tar.gz

Edit file

# vi /var/www/janissari/inc/config.php

Pastikan

$sek_nama = "SMK BIASAWAE...";
$sek_alamat = "Jl. Raya Biasawae... No... ";
$sek_kontak = "Telp. . . . Fax. . . .";
$sumber = "http://192.168.0.254/janissari/";

Ubah sesuai dengan data sekolah anda ..

$xhostname = "localhost";
$xdatabase = "sisfokol_janissari_v1";
$xusername = "janissari";
$xpassword = "sisfokol_janissari_v1";

Masukan isi database

# mysql -u janissari -psisfokol_janissari_v1 sisfokol_janissari_v1 < /var/www/janissari/db/agust26_1307.sql


Restart MySQL

# /etc/init.d/mysql restart


Login ke SISFOKOL Janissari

http://192.168.0.254/janissari/
tipe      administrator
username  admin
password  admin
tipe      guru
username  120001
password  7aa9eba
tipe      siswa
username  81000234
password  a7d38ff
tipe      Wali Kelas
username  120001
password  7aa9eba
tipe      Tata Usaha
username  120386458
password  c9d7b16
tipe      Kepala Sekolah
username  12035464
password  c855ec8

Pranala Menarik