Difference between revisions of "SchoolOnffline: Instalasi SISFOKOL SMK"

From OnnoWiki
Jump to navigation Jump to search
 
(8 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_smk_v2;
+
  create database sisfokol_smk;
  mysql> GRANT ALL PRIVILEGES ON sisfokol_smk_v2.* TO 'sisfokol_smk_v2'@'localhost' IDENTIFIED BY 'sisfokol_smk_v2';
+
  GRANT ALL PRIVILEGES ON sisfokol_smk.* TO 'sisfokol_smk'@'localhost' IDENTIFIED BY 'sisfokol_smk';
  mysql> GRANT ALL PRIVILEGES ON sisfokol_smk_v2.* TO 'sisfokol_smk_v2' IDENTIFIED BY 'sisfokol_smk_v2';
+
  GRANT ALL PRIVILEGES ON sisfokol_smk.* TO 'sisfokol_smk' IDENTIFIED BY 'sisfokol_smk';
  mysql> exit
+
  exit
  
 
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-smk
  # cd /var/www
+
mv /usr/local/src/sisfokol_v3_smk_free.zip /var/www/sisfokol-smk
  # tar zxvf SISFOKOL_SMK_v2.tar.gz
+
cd /var/www/sisfokol-smk
  # mv source sisfokol-smk
+
unzip sisfokol_v3_smk_free.zip
  # cd sisfokol-smk
+
mv /usr/local/src/sisfokol_v3_sawahsiring_smk.tar.lzma /var/www/sisfokol-smk/
 +
  cd /var/www/sisfokol-smk/
 +
  tar xvf sisfokol_v3_sawahsiring_smk.tar.lzma
 +
  cp -Rf sisfokol_v3_sawahsiring_smk/source/* /var/www/sisfokol-smk/
 +
  rm -Rf sisfokol_v3_s*
  
 
Edit file
 
Edit file
  
  # vi /var/www/sisfokol-smk/inc/config.php
+
  vi /var/www/sisfokol-smk/inc/config.php
  
 
Pastikan
 
Pastikan
Line 30: Line 34:
 
  $sek_alamat = "Jl. Raya Biasawae... No... ";
 
  $sek_alamat = "Jl. Raya Biasawae... No... ";
 
  $sek_kontak = "Telp. . . . Fax. . . .";
 
  $sek_kontak = "Telp. . . . Fax. . . .";
  $sumber = "http://192.168.0.254/sisfokol-smk/";
+
  $sumber = "http://192.168.0.254/sisfokol-smk";
  
 
Ubah sesuai dengan data sekolah anda ..
 
Ubah sesuai dengan data sekolah anda ..
  
 
  $xhostname = "localhost";
 
  $xhostname = "localhost";
  $xdatabase = "sisfokol_smk_v2";
+
  $xdatabase = "sisfokol_smk";
  $xusername = "sisfokol_smk_v2";
+
  $xusername = "sisfokol_smk";
  $xpassword = "sisfokol_smk_v2";
+
  $xpassword = "sisfokol_smk";
  
Masukan isi database
+
Masukan isi [[database]]
  
  # mysql -u sisfokol_smk_v2 -psisfokol_smk_v2 sisfokol_smk_v2 < /var/www/sisfokol-smk/db/sept04_1155.sql
+
  mysql -u sisfokol_smk -psisfokol_smk sisfokol_smk < /var/www/sisfokol-smk/db/sisfokol_v3_smk.sql
  
 
Restart MySQL
 
Restart MySQL
  
  # /etc/init.d/mysql restart
+
  /etc/init.d/mysql restart
 
+
rm -Rf /var/www/sisfokol-smk/install
 +
rm -Rf /var/www/sisfokol-smk/db
  
 
==Login ke SISFOKOL SMK==
 
==Login ke SISFOKOL SMK==
Line 58: Line 63:
 
  tipe      guru
 
  tipe      guru
 
  username  120001
 
  username  120001
  password  7aa9eba
+
  password  120001
  
 
  tipe      siswa
 
  tipe      siswa
  username  81000234
+
  username  810001
  password  a7d38ff
+
  password  810001
  
 
  tipe      Wali Kelas
 
  tipe      Wali Kelas
 
  username  120001
 
  username  120001
  password  7aa9eba
+
  password  120001
  
 
  tipe      Tata Usaha
 
  tipe      Tata Usaha
  username  120386458
+
  username  1200017
  password  c9d7b16
+
  password  1200017
  
 
  tipe      Kepala Sekolah
 
  tipe      Kepala Sekolah
  username  12035464
+
  username  1200010
  password  c855ec8
+
  password  1200010
  
 
==Pranala Menarik==
 
==Pranala Menarik==
Line 81: Line 86:
 
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 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 Alternate]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
Line 90: Line 96:
 
* [[Instalasi Sisfokol SMK]]
 
* [[Instalasi Sisfokol SMK]]
 
* [[Linux Howto]]
 
* [[Linux Howto]]
 +
 +
[[Category: Linux]]
 +
[[Category: Distro Linux]]
 +
[[Category: SchoolOnffLine]]

Latest revision as of 14:34, 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_smk;
GRANT ALL PRIVILEGES ON sisfokol_smk.* TO 'sisfokol_smk'@'localhost' IDENTIFIED BY 'sisfokol_smk';
GRANT ALL PRIVILEGES ON sisfokol_smk.* TO 'sisfokol_smk' IDENTIFIED BY 'sisfokol_smk';
exit

Copykan source code SISFOKOL ke folder Web

mkdir /var/www/sisfokol-smk
mv /usr/local/src/sisfokol_v3_smk_free.zip /var/www/sisfokol-smk
cd /var/www/sisfokol-smk
unzip sisfokol_v3_smk_free.zip
mv /usr/local/src/sisfokol_v3_sawahsiring_smk.tar.lzma /var/www/sisfokol-smk/
cd /var/www/sisfokol-smk/
tar xvf sisfokol_v3_sawahsiring_smk.tar.lzma 
cp -Rf sisfokol_v3_sawahsiring_smk/source/* /var/www/sisfokol-smk/
rm -Rf sisfokol_v3_s*

Edit file

vi /var/www/sisfokol-smk/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-smk";

Ubah sesuai dengan data sekolah anda ..

$xhostname = "localhost";
$xdatabase = "sisfokol_smk";
$xusername = "sisfokol_smk";
$xpassword = "sisfokol_smk";

Masukan isi database

mysql -u sisfokol_smk -psisfokol_smk sisfokol_smk < /var/www/sisfokol-smk/db/sisfokol_v3_smk.sql

Restart MySQL

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

Login ke SISFOKOL SMK

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

Pranala Menarik