Difference between revisions of "SchoolOnffline: Instalasi SISFOKOL SD"

From OnnoWiki
Jump to navigation Jump to search
Line 30: Line 30:
 
  $sek_alamat = "Jl. Raya Biasawae... No... ";
 
  $sek_alamat = "Jl. Raya Biasawae... No... ";
 
  $sek_kontak = "Telp. . . . Fax. . . .";
 
  $sek_kontak = "Telp. . . . Fax. . . .";
  $sumber = "http://192.168.0.254/sisfokol-sd/";
+
  $sumber = "http://192.168.0.254/sisfokol-sd";
  
 
  $xhostname = "localhost";
 
  $xhostname = "localhost";

Revision as of 11:23, 6 January 2010

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_SD_v2;
GRANT ALL PRIVILEGES ON sisfokol_SD_v2.* TO 'sisfokol_SD_v2'@'localhost' IDENTIFIED BY 'sisfokol_SD_v2';
GRANT ALL PRIVILEGES ON sisfokol_SD_v2.* TO 'sisfokol_SD_v2' IDENTIFIED BY 'sisfokol_SD_v2';
exit

Copykan source code SISFOKOL ke folder Web

mv /usr/local/src/SISFOKOL_SD_v2.tar.gz /var/www/
cd /var/www
tar zxvf SISFOKOL_SD_v2.tar.gz 
mv source sisfokol-sd
cd sisfokol-sd

Edit file

# vi /var/www/sisfokol-sd/inc/config.php

Isi kurang lebih

$sek_nama = "SD BIASAWAE...";
$sek_alamat = "Jl. Raya Biasawae... No... ";
$sek_kontak = "Telp. . . . Fax. . . .";
$sumber = "http://192.168.0.254/sisfokol-sd";
$xhostname = "localhost";
$xdatabase = "sisfokol_SD_v2";
$xusername = "sisfokol_SD_v2";
$xpassword = "sisfokol_SD_v2";


Ubah sesuai dengan data sekolah anda ..

Masukan isi database

# mysql -u sisfokol_SD_v2 -psisfokol_SD_v2 sisfokol_SD_v2 < /var/www/sisfokol-sd/db/agust18_0855.sql

Restart MySQL

# /etc/init.d/mysql restart


Login ke Sisfokol SD

http://192.168.0.254/sisfokol-sd
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