Difference between revisions of "SchoolOnffline: Instalasi SISFOKOL SD"

From OnnoWiki
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
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:
+
 
  mysql> create database sisfokol_SD_v2;
+
  create database sisfokol_sd;
  mysql> GRANT ALL PRIVILEGES ON sisfokol_SD_v2.* TO 'root'@'localhost' IDENTIFIED BY "";
+
  GRANT ALL PRIVILEGES ON sisfokol_sd.* TO 'sisfokol_sd'@'localhost' IDENTIFIED BY 'sisfokol_sd';
  mysql> GRANT ALL PRIVILEGES ON sisfokol_SD_v2.* TO 'root' IDENTIFIED BY "";
+
  GRANT ALL PRIVILEGES ON sisfokol_sd.* TO 'sisfokol_sd' IDENTIFIED BY 'sisfokol_sd';
  mysql> exit
+
  exit
  
 
Copykan source code SISFOKOL ke folder Web  
 
Copykan source code SISFOKOL ke folder Web  
  
  # mv /usr/local/src/SISFOKOL_SD_v2.tar.gz /var/www/
+
  mkdir /var/www/sisfokol-sd
  # cd /var/www
+
mv /usr/local/src/sisfokol_v3_sd_free.tar.bz2 /var/www/sisfokol-sd/
  # tar zxvf SISFOKOL_SD_v2.tar.gz
+
  cd /var/www/sisfokol-sd
  # mv source sisfokol-sd
+
  tar jxvf sisfokol_v3_sd_free.tar.bz2
  # cd sisfokol-sd
+
  mv /usr/local/src/sisfokol_v3_sawahsiring_sd.tar.lzma /var/www/sisfokol-sd/
 +
cd /var/www/sisfokol-sd
 +
tar xvf sisfokol_v3_sawahsiring_sd.tar.lzma
 +
cp -Rf /var/www/sisfokol-sd/sisfokol_v3_sawahsiring_sd/source/* /var/www/sisfokol-sd/
 +
  rm -Rf /var/www/sisfokol-sd/sisfokol*
 +
 
 +
Edit file
 +
 
 +
vi /var/www/sisfokol-sd/inc/config.php
  
Edit file /var/www/sisfokol_sd/inc/config.php
+
Isi kurang lebih
  
 
  $sek_nama = "SD BIASAWAE...";
 
  $sek_nama = "SD BIASAWAE...";
 
  $sek_alamat = "Jl. Raya Biasawae... No... ";
 
  $sek_alamat = "Jl. Raya Biasawae... No... ";
 
  $sek_kontak = "Telp. . . . Fax. . . .";
 
  $sek_kontak = "Telp. . . . Fax. . . .";
  $sumber = "http://localhost/";
+
  $sumber = "http://192.168.0.254/sisfokol-sd";
 +
 
 +
$xhostname = "localhost";
 +
$xdatabase = "sisfokol_sd";
 +
$xusername = "sisfokol_sd";
 +
$xpassword = "sisfokol_sd";
  
 
Ubah sesuai dengan data sekolah anda ..
 
Ubah sesuai dengan data sekolah anda ..
  
Masukan isi database
+
  mysql -u sisfokol_sd -psisfokol_sd sisfokol_sd < /var/www/sisfokol-sd/db/sisfokol.sql
 
 
  # mysql -u root -p sisfokol_SD_v2 < /var/www/sisfokol-sd/db/agust18_0855.sql
 
Enter password: '''<TEKAN ENTER>'''
 
  
 
Restart MySQL
 
Restart MySQL
  
  # /etc/init.d/mysql restart
+
  /etc/init.d/mysql restart
 
+
rm -Rf /var/www/sisfokol-sd/install
 +
rm -Rf /var/www/sisfokol-sd/db
  
 
==Login ke Sisfokol SD==
 
==Login ke Sisfokol SD==
Line 44: Line 55:
 
  http://192.168.0.254/sisfokol-sd
 
  http://192.168.0.254/sisfokol-sd
  
  tipe      administrator
+
  admin
  username  admin
+
  user : admin
  password  admin
+
  pass : admin
  
 +
guru
 +
user : 120001
 +
pass : 120001
  
 +
siswa
 +
user : 810001
 +
pass : 810001
  
 +
wali kelas
 +
user : 120001
 +
pass : 120001
  
 +
tata usaha
 +
user : 1200017
 +
pass : 1200017
  
 +
kepala sekolah
 +
user : 1200010
 +
pass : 1200010
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK]]
 
* [[Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK]]
 +
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Alternate]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
 +
* [[SchoolOnffLine: Server Wikipedia for School]]
 
* [[Remastering Ubuntu]]
 
* [[Remastering Ubuntu]]
 
* [[Instalasi Sisfokol SD]]
 
* [[Instalasi Sisfokol SD]]
Line 62: Line 94:
 
* [[Instalasi Sisfokol SMK]]
 
* [[Instalasi Sisfokol SMK]]
 
* [[Linux Howto]]
 
* [[Linux Howto]]
 +
 +
[[Category: Linux]]
 +
[[Category: Distro Linux]]
 +
[[Category: SchoolOnffLine]]

Latest revision as of 18:08, 20 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_sd;
GRANT ALL PRIVILEGES ON sisfokol_sd.* TO 'sisfokol_sd'@'localhost' IDENTIFIED BY 'sisfokol_sd';
GRANT ALL PRIVILEGES ON sisfokol_sd.* TO 'sisfokol_sd' IDENTIFIED BY 'sisfokol_sd';
exit

Copykan source code SISFOKOL ke folder Web

mkdir /var/www/sisfokol-sd
mv /usr/local/src/sisfokol_v3_sd_free.tar.bz2 /var/www/sisfokol-sd/
cd /var/www/sisfokol-sd
tar jxvf sisfokol_v3_sd_free.tar.bz2
mv /usr/local/src/sisfokol_v3_sawahsiring_sd.tar.lzma /var/www/sisfokol-sd/
cd /var/www/sisfokol-sd
tar xvf sisfokol_v3_sawahsiring_sd.tar.lzma
cp -Rf /var/www/sisfokol-sd/sisfokol_v3_sawahsiring_sd/source/* /var/www/sisfokol-sd/
rm -Rf /var/www/sisfokol-sd/sisfokol*

Edit file

vi /var/www/sisfokol-sd/inc/config.php

Isi kurang lebih

$sek_nama = "SD BIASAWAE...";
$sek_alamat = "Jl. Raya Biasawae... No... ";
$sek_kontak = "Telp. . . . Fax. . . .";
$sumber = "http://192.168.0.254/sisfokol-sd";
$xhostname = "localhost";
$xdatabase = "sisfokol_sd";
$xusername = "sisfokol_sd";
$xpassword = "sisfokol_sd";

Ubah sesuai dengan data sekolah anda ..

mysql -u sisfokol_sd -psisfokol_sd sisfokol_sd < /var/www/sisfokol-sd/db/sisfokol.sql

Restart MySQL

/etc/init.d/mysql restart
rm -Rf /var/www/sisfokol-sd/install
rm -Rf /var/www/sisfokol-sd/db

Login ke Sisfokol SD

http://192.168.0.254/sisfokol-sd
admin
user : admin
pass : admin
guru
user : 120001
pass : 120001
siswa
user : 810001
pass : 810001
wali kelas
user : 120001
pass : 120001
tata usaha
user : 1200017
pass : 1200017
kepala sekolah
user : 1200010
pass : 1200010

Pranala Menarik