Instalasi Sisfokol SMP
Revision as of 12:36, 9 November 2010 by Onnowpurbo (talk | contribs)
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 -p123456 create database sisfokol_sltp; GRANT ALL PRIVILEGES ON sisfokol_sltp.* TO 'sisfokol_sltp'@'localhost' IDENTIFIED BY 'sisfokol_sltp'; GRANT ALL PRIVILEGES ON sisfokol_sltp.* TO 'sisfokol_sltp' IDENTIFIED BY 'sisfokol_sltp'; exit
Copykan source code SISFOKOL ke folder Web
mkdir /var/www/sisfokol-smp mv /usr/local/src/sisfokol_v3_sltp_free.rar /var/www/sisfokol-smp cd /var/www/sisfokol-smp unrar x sisfokol_v3_sltp_free.rar mv sisfokol_v3_sltp_free/* .
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://ip-address-server/sisfokol-smp";
Ubah sesuai dengan data sekolah anda ..
$xhostname = "localhost"; $xdatabase = "sisfokol_sltp"; $xusername = "sisfokol_sltp"; $xpassword = "sisfokol_sltp";
Masukan isi database
mysql -u sisfokol_sltp -psisfokol_sltp sisfokol_sltp < /var/www/sisfokol-smp/db/sisfokol.sql
Restart MySQL
/etc/init.d/mysql restart rm -Rf /var/www/sisfokol-smp/install rm -Rf /var/www/sisfokol-smp/db
Login ke Sisfokol SMP
http://ip-address-server/sisfokol-smp
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