Difference between revisions of "Instalasi Sisfokol SMK"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: 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 SI...) |
Onnowpurbo (talk | contribs) |
||
Line 15: | Line 15: | ||
# mysql -u root -p | # mysql -u root -p | ||
password: | password: | ||
− | mysql> create database | + | mysql> create database sisfokol_smk_v2; |
− | mysql> GRANT ALL PRIVILEGES ON | + | mysql> GRANT ALL PRIVILEGES ON sisfokol_smk_v2.* TO 'root'@'localhost' IDENTIFIED BY ''; |
− | mysql> GRANT ALL PRIVILEGES ON | + | mysql> GRANT ALL PRIVILEGES ON sisfokol_smk_v2.* TO 'root' IDENTIFIED BY ''; |
mysql> quit | mysql> quit | ||
Copykan source code SISFOKOL ke folder Web | Copykan source code SISFOKOL ke folder Web | ||
− | # cp | + | # cp SISFOKOL_SMK_v2.tar.gz /var/www/ |
# cd /var/www | # cd /var/www | ||
− | # tar zxvf | + | # tar zxvf SISFOKOL_SMK_v2.tar.gz |
− | # mv source | + | # mv source sisfokol_smk |
− | # cd | + | # cd sisfokol_smk |
Edit file /var/www/sisfokol_sd/inc/config.php | Edit file /var/www/sisfokol_sd/inc/config.php | ||
− | $sek_nama = " | + | $sek_nama = "SMK BIASAWAE..."; |
$sek_alamat = "Jl. Raya Biasawae... No... "; | $sek_alamat = "Jl. Raya Biasawae... No... "; | ||
$sek_kontak = "Telp. . . . Fax. . . ."; | $sek_kontak = "Telp. . . . Fax. . . ."; | ||
Line 39: | Line 39: | ||
Masukan isi database | Masukan isi database | ||
− | # mysql -u root -p | + | # mysql -u root -p sisfokol_smk_v2 < /var/www/sisfokol_smk/db/sept04_1155.sql |
Enter password: '''<TEKAN ENTER>''' | Enter password: '''<TEKAN ENTER>''' | ||
Line 47: | Line 47: | ||
− | ==Login ke Sisfokol | + | ==Login ke Sisfokol SMK== |
− | http://localhost/ | + | http://localhost/sisfokol_smk |
tipe administrator | tipe administrator |
Revision as of 13:20, 4 July 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
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: mysql> create database sisfokol_smk_v2; mysql> GRANT ALL PRIVILEGES ON sisfokol_smk_v2.* TO 'root'@'localhost' IDENTIFIED BY ; mysql> GRANT ALL PRIVILEGES ON sisfokol_smk_v2.* TO 'root' IDENTIFIED BY ; mysql> quit
Copykan source code SISFOKOL ke folder Web
# cp SISFOKOL_SMK_v2.tar.gz /var/www/ # cd /var/www # tar zxvf SISFOKOL_SMK_v2.tar.gz # mv source sisfokol_smk # cd sisfokol_smk
Edit file /var/www/sisfokol_sd/inc/config.php
$sek_nama = "SMK 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_smk_v2 < /var/www/sisfokol_smk/db/sept04_1155.sql Enter password: <TEKAN ENTER>
Restart MySQL
# /etc/init.d/mysql restart
Login ke Sisfokol SMK
http://localhost/sisfokol_smk
tipe administrator username admin password admin