Difference between revisions of "SchoolOnffline: Instalasi SISFOKOL Sabily SLTA"

From OnnoWiki
Jump to navigation Jump to search
Line 16: Line 16:
 
Copykan [[source code]] SISFOKOL ke folder [[Web]]  
 
Copykan [[source code]] SISFOKOL ke folder [[Web]]  
  
  # mv /usr/local/src/SISFOKOL_SMK_v2.tar.gz /var/www/
+
# mkdir /var/www/sisfokol-sabily-slta
  # cd /var/www
+
  # mv /usr/local/src/sisfokol_sabily_slta.tar.gz /var/www/sisfokol-sabily-slta
  # tar zxvf SISFOKOL_SMK_v2.tar.gz  
+
  # cd /var/www/sisfokol-sabily-slta
# mv source sisfokol-smk
+
  # tar sisfokol_sabily_slta.tar.gz  
# cd sisfokol-smk
 
  
 
Edit file
 
Edit file
  
  # vi /var/www/sisfokol-smk/inc/config.php
+
  # vi /var/www/sisfokol-sabily-slta/inc/config.php
  
 
Pastikan
 
Pastikan

Revision as of 07:17, 19 September 2009

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-slta
# mv /usr/local/src/sisfokol_sabily_slta.tar.gz  /var/www/sisfokol-sabily-slta
# cd /var/www/sisfokol-sabily-slta
# tar sisfokol_sabily_slta.tar.gz 

Edit file

# vi /var/www/sisfokol-sabily-slta/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-slta/";

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-slta/db/sep01_1158.sql

Restart MySQL

# /etc/init.d/mysql restart


Login ke SISFOKOL SMK

http://192.168.0.254/sisfokol-sabily-slta
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

Pranala Menarik