Difference between revisions of "SchoolOnffline: Instalasi SISFOKOL Janissari"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
Siapkan dependencies
 
Siapkan dependencies
  
  # apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \
+
  apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \
 
  php5-mysql php5-gd php5-curl php-pear
 
  php5-mysql php5-gd php5-curl php-pear
  
 
Siapkan [[database]]
 
Siapkan [[database]]
  
  # mysql -u root -p
+
  mysql -u root -p123456
password:
 
  
 
  create database sisfokol_janissari_v1;
 
  create database sisfokol_janissari_v1;
Line 23: Line 22:
 
Edit file
 
Edit file
  
  # vi /var/www/janissari/inc/config.php
+
  vi /var/www/janissari/inc/config.php
  
 
Pastikan
 
Pastikan

Revision as of 09:29, 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_janissari_v1;
GRANT ALL PRIVILEGES ON sisfokol_janissari_v1.* TO 'janissari'@'localhost' IDENTIFIED BY 'sisfokol_janissari_v1';
GRANT ALL PRIVILEGES ON sisfokol_janissari_v1.* TO 'janissari' IDENTIFIED BY 'sisfokol_janissari_v1';
exit

Copykan source code SISFOKOL ke folder Web

mkdir /var/www/janissari
mv /usr/local/src/sisfokol_janissari.tar.gz /var/www/janissari
cd /var/www/janissari
tar zxvf sisfokol_janissari.tar.gz

Edit file

vi /var/www/janissari/inc/config.php

Pastikan

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

Ubah sesuai dengan data sekolah anda ..

$xhostname = "localhost";
$xdatabase = "sisfokol_janissari_v1";
$xusername = "janissari";
$xpassword = "sisfokol_janissari_v1";

Masukan isi database

# mysql -u janissari -psisfokol_janissari_v1 sisfokol_janissari_v1 < /var/www/janissari/db/agust26_1307.sql


Restart MySQL

# /etc/init.d/mysql restart


Login ke SISFOKOL Janissari

http://192.168.0.254/janissari/
Guru :
Username/Password : 170008, 170001, 1700011, 1700012.
Siswa :
Username/Password : 280005, 280001, 280004, 280006, 280008.
Administrator :
Username/Password : admin.

Pranala Menarik