Difference between revisions of "SchoolOnffline: Instalasi SISFOKOL SLTA"

From OnnoWiki
Jump to navigation Jump to search
Line 45: Line 45:
 
Masukan isi [[database]]
 
Masukan isi [[database]]
  
  mysql -u sisfokol_slta -psisfokol_slta sisfokol_slta < /var/www/sisfokol-sma/db/sisfokol.sql  
+
  mysql -u sisfokol_slta -psisfokol_slta sisfokol_slta < /var/www/sisfokol-sma/db/sisfokol_v3_slta.sql
  
 
Restart MySQL
 
Restart MySQL

Revision as of 14:32, 17 November 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 -p123456
create database sisfokol_slta;
GRANT ALL PRIVILEGES ON sisfokol_slta.* TO 'sisfokol_slta'@'localhost' IDENTIFIED BY 'sisfokol_slta';
GRANT ALL PRIVILEGES ON sisfokol_slta.* TO 'sisfokol_slta' IDENTIFIED BY 'sisfokol_slta';
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 
mv /usr/local/src/sisfokol_v3_sawahsiring_slta.tar.lzma /var/www/sisfokol-sma/
cd /var/www/sisfokol-sma/
tar xvf sisfokol_v3_sawahsiring_slta.tar.lzma 
cp -Rf /var/www/sisfokol-sma/sisfokol_v3_sawahsiring_slta/source/* /var/www/sisfokol-sma/
rm -Rf /var/www/sisfokol-sma/sisfokol_v3_s*

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";
$xusername = "sisfokol_slta";
$xpassword = "sisfokol_slta";

Masukan isi database

mysql -u sisfokol_slta -psisfokol_slta sisfokol_slta < /var/www/sisfokol-sma/db/sisfokol_v3_slta.sql

Restart MySQL

/etc/init.d/mysql restart
rm -Rf /var/www/sisfokol-sma/install
rm -Rf /var/www/sisfokol-sma/db


Login ke Sisfokol SLTA

http://192.168.0.254/sisfokol-sma
tipe      administrator
username  admin
password  admin
tipe      guru
username  120001
password  120001
tipe      siswa
username  810001
password  810001
tipe      Wali Kelas
username  120001
password  120001
tipe      Tata Usaha
username  1200017
password  1200017
tipe      Kepala Sekolah
username  1200010
password  1200010

Pranala Menarik