Difference between revisions of "Instalasi PunBB"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 9: | Line 9: | ||
# tar jxvf punbb-1.2.17.tar.bz2 | # tar jxvf punbb-1.2.17.tar.bz2 | ||
# mv punbb-1.2.17 forum | # mv punbb-1.2.17 forum | ||
+ | |||
+ | |||
+ | Buat database punbb pada MySQL, siapkan user database untuk mengakses database punbb melalui perintah | ||
+ | |||
+ | # mysql | ||
+ | mysql> SET PASSWORD FOR root@localhost=PASSWORD('password'); | ||
+ | |||
+ | atau | ||
+ | |||
+ | # mysql -u root -p | ||
+ | Enter password: (isi password root untuk MySQL) | ||
+ | mysql> create database punbbdb; | ||
+ | mysql> grant ALL on punbbdb.* to punbb@localhost identified by 'punbbpass'; | ||
+ | mysql> grant ALL on punbbdb.* to punbb identified by 'punbbpass'; | ||
+ | mysql> exit | ||
+ | |||
+ | |||
+ | Chown folder Web | ||
+ | |||
+ | # chown -Rf www-data.www-data /var/www/forum | ||
+ | # chmod -Rf 0755 /var/www/forum | ||
+ | |||
+ | |||
Akses Web ke | Akses Web ke | ||
http://localhost/forum/upload/install.php | http://localhost/forum/upload/install.php | ||
+ | |||
+ | Masukan data berikut | ||
+ | |||
+ | Database type MySQL Improved | ||
+ | Database server hostname localhost | ||
+ | Database name punbbdb | ||
+ | Database username punbb | ||
+ | Database password punbb | ||
+ | Table prefix punbb_ | ||
+ | |||
+ | Administrator username admin-username | ||
+ | Password admin-password | ||
+ | Confirm Password admin-password | ||
+ | Administrator's e-mail admin-email | ||
+ | |||
+ | Base URL http://localhost/forum/upload | ||
+ | |||
+ | Klik "'''Start Install'''" | ||
+ | |||
+ | Masukan file / konfigurasi yang di hasilkan ke file /var/www/forum/config.php | ||
+ | |||
+ | # vi /var/www/forum/config.php | ||
Revision as of 13:26, 2 May 2008
Ambil souce code punbb di
http://punbb.org/downloads.php
Install punbb
# cp punbb-1.2.17.tar.bz2 /var/www/ # cd /var/www # tar jxvf punbb-1.2.17.tar.bz2 # mv punbb-1.2.17 forum
Buat database punbb pada MySQL, siapkan user database untuk mengakses database punbb melalui perintah
# mysql mysql> SET PASSWORD FOR root@localhost=PASSWORD('password');
atau
# mysql -u root -p Enter password: (isi password root untuk MySQL) mysql> create database punbbdb; mysql> grant ALL on punbbdb.* to punbb@localhost identified by 'punbbpass'; mysql> grant ALL on punbbdb.* to punbb identified by 'punbbpass'; mysql> exit
Chown folder Web
# chown -Rf www-data.www-data /var/www/forum # chmod -Rf 0755 /var/www/forum
Akses Web ke
http://localhost/forum/upload/install.php
Masukan data berikut
Database type MySQL Improved Database server hostname localhost Database name punbbdb Database username punbb Database password punbb Table prefix punbb_
Administrator username admin-username Password admin-password Confirm Password admin-password Administrator's e-mail admin-email
Base URL http://localhost/forum/upload
Klik "Start Install"
Masukan file / konfigurasi yang di hasilkan ke file /var/www/forum/config.php
# vi /var/www/forum/config.php