Difference between revisions of "Instalasi Hadist Web"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 6: | Line 6: | ||
sudo apt-get install apache2 php5 php5-xmlrpc php5-mysql php5-gd php5-cli php5-curl \ | sudo apt-get install apache2 php5 php5-xmlrpc php5-mysql php5-gd php5-cli php5-curl \ | ||
− | mysql-client mysql-server php-db | + | mysql-client mysql-server php-db libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \ |
+ | php-pear mysql-client-5.1 | ||
Buat [[database]] MySQL | Buat [[database]] MySQL | ||
Line 21: | Line 22: | ||
mysqladmin -u root --password="123456" create hadistweb | mysqladmin -u root --password="123456" create hadistweb | ||
mysqladmin -u root --password="123456" create hadistarb | mysqladmin -u root --password="123456" create hadistarb | ||
− | |||
==Langkah Instalasi== | ==Langkah Instalasi== |
Latest revision as of 13:07, 22 August 2010
Aplikasi ini dapat di peroleh dari DEPKOMINFO. Semoga amal ibadah mereka yang membuat aplikasi hadist Web ini di terima & di lipat gandakan.
Bagi teman-teman yang dapat mengcopy seluruh perpustakaan iso yang ada pada Onno W. Purbo biasanya ada file iso dari hadist web tersebut.
Siapkan Aplikasi Pendukung
sudo apt-get install apache2 php5 php5-xmlrpc php5-mysql php5-gd php5-cli php5-curl \ mysql-client mysql-server php-db libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \ php-pear mysql-client-5.1
Buat database MySQL
# mysql -u root -p Enter password: create database hadistweb; create database hadistarb; grant ALL on root.* to hadistweb@localhost; exit
Atau menggunakan shell (asumsi root password MySQL 123456)
mysqladmin -u root --password="123456" create hadistweb mysqladmin -u root --password="123456" create hadistarb
Langkah Instalasi
Untuk file iso
sudo mkdir /mnt/virtualcd sudo mount -t iso9660 -o loop cd-hadist-web.iso /mnt/virtualcd
cd /mnt/virtualcd/websources
mysql hadistweb -u root --password="123456" < hadistweb.sql mysql hadistarb -u root --password="123456" < hadistarb.sql tar -jxf hadits.tar.bz2 -C /var/www tar -jxf hadits_adm.tar.bz2 -C /var/www tar -jxf haditsarb_adm.tar.bz2 -C /var/www tar -jxf haditsarb.tar.bz2 -C /var/www
Edit konfigurasi
vi /var/www/hadits/dbconnect.php vi /var/www/hadits_adm/dbconnect.php vi /var/www/haditsarb/dbconnect.php vi /var/www/haditsarb_adm/dbconnect.php
Sesuaikan supaya
'phptype'=>'mysql', 'username'=>'root', 'password'=>'123456', 'hostspec'=>'localhost',
Ambil PHP-HTML dari LAMPP
Rupanya kita membutuhkan QuickForm.php yang ada di LAMPP
tar -jxf hadits-linux-full.tar.bz2 -C /opt/ cp -Rf /opt/lampp/lib/php/HTML /usr/share/php
Akses ke Hadist Web
http://localhost/hadits http://localhost/haditsarb
http://localhost/hadits_adm (username admin, password bismillah) http://localhost/haditsarb_adm (username admin, password bismillah)