Instalasi Sisfokol Janisari

From OnnoWiki
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


Download source code SISFOKOL dari Web dari

http://sisfokol.wordpress.com/download/
http://tech.groups.yahoo.com/group/sisfokol/files (bagi anggota mailing list SISFOKOL)

Siapkan database

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

Copykan source code SISFOKOL ke folder Web

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

Edit file /var/www/sisfokol_slta/inc/config.php

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

Ubah sesuai dengan data sekolah anda ..

Masukan isi database

# mysql -u root -p sisfokol_slta_v2 < /var/www/sisfokol-slta/db/agust15_1505.sql 
Enter password: <TEKAN ENTER>

Restart MySQL

# /etc/init.d/mysql restart


Login ke Sisfokol SMA

http://localhost/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