Difference between revisions of "Instalasi PunBB"

From OnnoWiki
Jump to navigation Jump to search
Line 30: Line 30:
 
  # chown -Rf www-data.www-data /var/www/forum
 
  # chown -Rf www-data.www-data /var/www/forum
 
  # chmod -Rf 0755 /var/www/forum
 
  # chmod -Rf 0755 /var/www/forum
 
+
# cd /var/www/forum
 +
# mv upload/* /var/www/forum
  
  
 
Akses Web ke
 
Akses Web ke
  
  http://localhost/forum/upload/install.php
+
  http://localhost/forum/install.php
  
 
Masukan data berikut
 
Masukan data berikut
Line 51: Line 52:
 
  Administrator's e-mail    admin-email
 
  Administrator's e-mail    admin-email
  
  Base URL                  http://localhost/forum/upload
+
  Base URL                  http://localhost/forum/
  
 
Klik "'''Start Install'''"
 
Klik "'''Start Install'''"

Revision as of 05:02, 7 June 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
# cd /var/www/forum
# mv upload/* /var/www/forum


Akses Web ke

http://localhost/forum/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/

Klik "Start Install"

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

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




Pranala Menarik