SchoolOnffline: Instalasi SISFOKOL Sabily SLTA

From SpeedyWiki

Jump to: navigation, 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

Siapkan database

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

Copykan source code SISFOKOL ke folder Web

mkdir /var/www/sisfokol-sabily-sma
mv /usr/local/src/sisfokol_sabily_slta.tar.gz  /var/www/sisfokol-sabily-sma
cd /var/www/sisfokol-sabily-sma
tar zxvf sisfokol_sabily_slta.tar.gz 

Edit file

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

Pastikan

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

Ubah sesuai dengan data sekolah anda ..

$xhostname = "localhost";
$xdatabase = "sisfokol_sabily_slta";
$xusername = "sabily_slta";
$xpassword = "sisfokol_sabily_slta";

Masukan isi database

# mysql -u sabily_slta -psisfokol_sabily_slta sisfokol_sabily_slta < /var/www/sisfokol-sabily-sma/db/sep01_1158.sql

Restart MySQL

# /etc/init.d/mysql restart


[edit] Login ke SISFOKOL Sabily SMA

http://192.168.0.254/sisfokol-sabily-sma
Admin :
Username/Password : admin
Guru :
Username/Password : 120004
Siswa :
Username/Password : 8100233
Wali Kelas :
Username/Password : 120001
Tata Usaha :
Username/Password : 120386458
Kepala Sekolah :
Username/Password : 12035464

[edit] Pranala Menarik

Personal tools