Difference between revisions of "Instalasi Sisfokol SMK"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(5 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 \ | |
php5-mysql php5-gd php5-curl php-pear | 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 | |
+ | cp sisfokol_v3_smk_free.zip /var/www/sisfokol-smk | ||
+ | cd /var/www/sisfokol-smk | ||
+ | unzip sisfokol_v3_smk_free.zip | ||
− | + | cp 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_nama = "SMK BIASAWAE..."; | ||
$sek_alamat = "Jl. Raya Biasawae... No... "; | $sek_alamat = "Jl. Raya Biasawae... No... "; | ||
$sek_kontak = "Telp. . . . Fax. . . ."; | $sek_kontak = "Telp. . . . Fax. . . ."; | ||
− | $sumber = "http:// | + | $sumber = "http://ip-address-server/sisfokol-smk"; |
Ubah sesuai dengan data sekolah anda .. | 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 | Restart MySQL | ||
− | + | /etc/init.d/mysql restart | |
− | + | rm -Rf /var/www/sisfokol-smk/install | |
+ | rm -Rf /var/www/sisfokol-smk/db | ||
− | ==Login ke | + | ==Login ke SISFOKOL SMK== |
− | http:// | + | http://ip-address-server/sisfokol-smk |
tipe administrator | tipe administrator | ||
Line 55: | Line 62: | ||
password 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== | ==Pranala Menarik== | ||
Line 66: | Line 88: | ||
* [[Instalasi Sisfokol SMA]] | * [[Instalasi Sisfokol SMA]] | ||
* [[Instalasi Sisfokol SMK]] | * [[Instalasi Sisfokol SMK]] | ||
+ | * [[Instalasi Sisfokol Janisari]] | ||
* [[Linux Howto]] | * [[Linux Howto]] |
Latest revision as of 13:44, 4 January 2011
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 cp sisfokol_v3_smk_free.zip /var/www/sisfokol-smk cd /var/www/sisfokol-smk unzip sisfokol_v3_smk_free.zip
cp 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://ip-address-server/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://ip-address-server/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