Difference between revisions of "Instalasi Sisfokol SD"

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
  
Line 11: Line 11:
  
  
Siapkan database
+
Siapkan [[database]]
  
 
  # mysql -u root -p
 
  # mysql -u root -p
 
  password:
 
  password:
  mysql> create database sisfokol_SD_v2;
+
  create database sisfokol_SD_v2;
  mysql> GRANT ALL PRIVILEGES ON sisfokol_SD_v2.* TO 'root'@'localhost' IDENTIFIED BY '';
+
  GRANT ALL PRIVILEGES ON sisfokol_SD_v2.* TO 'root'@'localhost' IDENTIFIED BY '';
  mysql> GRANT ALL PRIVILEGES ON sisfokol_SD_v2.* TO 'root' IDENTIFIED BY '';
+
  GRANT ALL PRIVILEGES ON sisfokol_SD_v2.* TO 'root' IDENTIFIED BY '';
  mysql> quit
+
  quit
  
Copykan source code SISFOKOL ke folder Web  
+
Copykan [[source code]] SISFOKOL ke folder [[Web]]
  
  # cp SISFOKOL_SD_v2.tar.gz /var/www/
+
  cp SISFOKOL_SD_v2.tar.gz /var/www/
  # cd /var/www
+
  cd /var/www
  # tar zxvf SISFOKOL_SD_v2.tar.gz  
+
  tar zxvf SISFOKOL_SD_v2.tar.gz  
  # mv source sisfokol_sd
+
  mv source sisfokol_sd
  # cd sisfokol_sd
+
  cd sisfokol_sd
  
 
Edit file /var/www/sisfokol_sd/inc/config.php
 
Edit file /var/www/sisfokol_sd/inc/config.php
Line 37: Line 37:
 
Ubah sesuai dengan data sekolah anda ..
 
Ubah sesuai dengan data sekolah anda ..
  
Masukan isi database
+
Masukan isi [[database]]
  
 
  # mysql -u root -p sisfokol_SD_v2 < /var/www/sisfokol_sd/db/agust18_0855.sql
 
  # mysql -u root -p sisfokol_SD_v2 < /var/www/sisfokol_sd/db/agust18_0855.sql

Revision as of 08:21, 20 March 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


Download source code SISFOKOL dari Web dari

http://sisfokol.wordpress.com/download/
http://tech.groups.yahoo.com/group/sisfokol/files (bagi anggota mailing list SISFOKOL)


Siapkan database

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

Copykan source code SISFOKOL ke folder Web

cp SISFOKOL_SD_v2.tar.gz /var/www/
cd /var/www
tar zxvf SISFOKOL_SD_v2.tar.gz 
mv source sisfokol_sd
cd sisfokol_sd

Edit file /var/www/sisfokol_sd/inc/config.php

$sek_nama = "SD BIASAWAE...";
$sek_alamat = "Jl. Raya Biasawae... No... ";
$sek_kontak = "Telp. . . . Fax. . . .";
$sumber = "http://localhost/";

Ubah sesuai dengan data sekolah anda ..

Masukan isi database

# mysql -u root -p sisfokol_SD_v2 < /var/www/sisfokol_sd/db/agust18_0855.sql
Enter password: <TEKAN ENTER>

Restart MySQL

# /etc/init.d/mysql restart


Login ke Sisfokol SD

http://localhost/sisfokol_sd
tipe      administrator
username  admin
password  admin




Pranala Menarik