Instalasi PunBB

From OnnoWiki
Revision as of 10:50, 6 August 2012 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Ambil souce code punbb di

http://punbb.org/downloads.php

Install punbb

cp punbb-1.3.4.tar.gz /var/www/
cd /var/www
tar zxvf punbb-1.3.4.tar.gz 
mv punbb-1.3.4 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

Bagi mereka yang sedang experimen / mencoba dapat menggunakan yang lebih sederhana

# mysql -u root -p
Enter password: (isi password root untuk MySQL)
create database punbb;
grant ALL on punbb.* to punbb@localhost identified by 'punbb';
grant ALL on punbb.* to punbb identified by 'punbb';
exit


Chown folder Web

chown -Rf www-data.www-data /var/www/forum
chmod -Rf 0755 /var/www/forum
cd /var/www/forum

Akses Web ke

http://localhost/forum/admin/install.php

Bagi anda yang sedang experimen dapat masukan data berikut

Database type              MySQL Improved
Database server hostname   localhost
Database name              punbb
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/

Klik "Start Install"

Masukan file / konfigurasi yang di hasilkan ke file /var/www/forum/config.php

# vi /var/www/forum/config.php


Referensi

Pranala Menarik