Difference between revisions of "Instalasi PunBB"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
| Line 5: | Line 5: | ||
Install punbb | 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 | |
| Line 24: | Line 24: | ||
mysql> grant ALL on punbbdb.* to punbb identified by 'punbbpass'; | mysql> grant ALL on punbbdb.* to punbb identified by 'punbbpass'; | ||
mysql> exit | 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 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 | |
| Line 38: | Line 48: | ||
http://localhost/forum/install.php | http://localhost/forum/install.php | ||
| − | + | Bagi anda yang sedang experimen dapat masukan data berikut | |
Database type MySQL Improved | Database type MySQL Improved | ||
Database server hostname localhost | Database server hostname localhost | ||
| − | Database name | + | Database name punbb |
Database username punbb | Database username punbb | ||
Database password punbb | Database password punbb | ||
Revision as of 05:26, 5 November 2009
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 mv upload/* /var/www/forum
Akses Web ke
http://localhost/forum/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