Difference between revisions of "SchoolOnffline: Instalasi SISFOKOL SLTA"

From OnnoWiki
Jump to navigation Jump to search
Line 15: Line 15:
 
Copykan [[source code]] SISFOKOL ke folder [[Web]]  
 
Copykan [[source code]] SISFOKOL ke folder [[Web]]  
  
  mv /usr/local/src/sisfokol_v3_slta_free.tar.bz2 /var/www/
+
mkdir /var/www/sisfokol-sma
  cd /var/www
+
  mv /usr/local/src/sisfokol_v3_slta_free.tar.bz2 /var/www/sisfokol-sma
 +
  cd /var/www/sisfokol-sma
 
  tar jxvf sisfokol_v3_slta_free.tar.bz2  
 
  tar jxvf sisfokol_v3_slta_free.tar.bz2  
mv source sisfokol-sma
 
  
 
Edit file
 
Edit file

Revision as of 09:22, 25 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:
mysql> create database sisfokol_slta_v2;
mysql> GRANT ALL PRIVILEGES ON sisfokol_slta_v2.* TO 'sisfokol_slta_v2'@'localhost' IDENTIFIED BY 'sisfokol_slta_v2';
mysql> GRANT ALL PRIVILEGES ON sisfokol_slta_v2.* TO 'sisfokol_slta_v2' IDENTIFIED BY 'sisfokol_slta_v2';
mysql> exit

Copykan source code SISFOKOL ke folder Web

mkdir /var/www/sisfokol-sma
mv /usr/local/src/sisfokol_v3_slta_free.tar.bz2 /var/www/sisfokol-sma
cd /var/www/sisfokol-sma
tar jxvf sisfokol_v3_slta_free.tar.bz2 

Edit file

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

Pastikan

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

Ubah sesuai dengan data sekolah anda ..

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


Masukan isi database

# mysql -u sisfokol_slta_v2 -psisfokol_slta_v2 sisfokol_slta_v2 < /var/www/sisfokol-sma/db/agust15_1505.sql 

Restart MySQL

# /etc/init.d/mysql restart


Login ke Sisfokol SLTA

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