Difference between revisions of "SchoolOnffline: Instalasi SISFOKOL SLTP"

From OnnoWiki
Jump to navigation Jump to search
Line 19: Line 19:
 
  # cd /var/www
 
  # cd /var/www
 
  # tar zxvf SISFOKOL_SLTP_v2.tar.gz  
 
  # tar zxvf SISFOKOL_SLTP_v2.tar.gz  
  # mv source sisfokol-sltp
+
  # mv source sisfokol-smp
  # cd sisfokol-sltp
+
  # cd sisfokol-smp
  
 
Edit file  
 
Edit file  
  
  # vi /var/www/sisfokol-sltp/inc/config.php
+
  # vi /var/www/sisfokol-smp/inc/config.php
  
 
Pastikan
 
Pastikan
Line 31: Line 31:
 
  $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-sltp/";
+
  $sumber = "http://192.168.0.254/sisfokol-smp/";
  
 
Ubah sesuai dengan data sekolah anda ..
 
Ubah sesuai dengan data sekolah anda ..
Line 42: Line 42:
 
Masukan isi database
 
Masukan isi database
  
  # mysql -u sisfokol_sltp_v2 -psisfokol_sltp_v2 sisfokol_sltp_v2 < /var/www/sisfokol-sltp/db/agust18_0929.sql  
+
  # mysql -u sisfokol_sltp_v2 -psisfokol_sltp_v2 sisfokol_sltp_v2 < /var/www/sisfokol-smp/db/agust18_0929.sql  
  
  
Line 52: Line 52:
 
==Login ke Sisfokol SMP==
 
==Login ke Sisfokol SMP==
  
  http://192.168.0.254/sisfokol-sltp
+
  http://192.168.0.254/sisfokol-smp
  
 
  tipe      administrator
 
  tipe      administrator

Revision as of 06:42, 18 November 2009

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:
mysql> create database sisfokol_sltp_v2;
mysql> GRANT ALL PRIVILEGES ON sisfokol_sltp_v2.* TO 'sisfokol_sltp_v2'@'localhost' IDENTIFIED BY 'sisfokol_sltp_v2';
mysql> GRANT ALL PRIVILEGES ON sisfokol_sltp_v2.* TO 'sisfokol_sltp_v2' IDENTIFIED BY 'sisfokol_sltp_v2';
mysql> exit

Copykan source code SISFOKOL ke folder Web

# mv /usr/local/src/SISFOKOL_SLTP_v2.tar.gz /var/www/
# cd /var/www
# tar zxvf SISFOKOL_SLTP_v2.tar.gz 
# mv source sisfokol-smp
# cd sisfokol-smp

Edit file

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

Pastikan

$sek_nama = "SMP BIASAWAE...";
$sek_alamat = "Jl. Raya Biasawae... No... ";
$sek_kontak = "Telp. . . . Fax. . . .";
$sumber = "http://192.168.0.254/sisfokol-smp/";

Ubah sesuai dengan data sekolah anda ..

$xhostname = "localhost";
$xdatabase = "sisfokol_sltp_v2";
$xusername = "sisfokol_sltp_v2";
$xpassword = "sisfokol_sltp_v2";

Masukan isi database

# mysql -u sisfokol_sltp_v2 -psisfokol_sltp_v2 sisfokol_sltp_v2 < /var/www/sisfokol-smp/db/agust18_0929.sql 


Restart MySQL

# /etc/init.d/mysql restart


Login ke Sisfokol SMP

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