Difference between revisions of "Tutorials and How-tos/Install FluxBB"

From BubbaWiki
Jump to navigation Jump to search
(Created page with 'Do you want to run your own forum on Bubba? FluxBB, [http://fluxbb.org http://fluxbb.org], is a light weight and fast forum well fitted for Bubba. 1. Download the latest version...')
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Do you want to run your own forum on Bubba? FluxBB, [http://fluxbb.org http://fluxbb.org], is a light weight and fast forum well fitted for Bubba.
Do you want to run your own forum on Bubba? FluxBB, [http://fluxbb.org http://fluxbb.org], is a light weight and fast forum well fitted for Bubba.  


1. Download the latest version of FluxBB from http://fluxbb.org/downloads/.
1. Download the latest version of FluxBB from http://fluxbb.org/downloads/.  


2. Unpack it to your home catalog on Bubba.
2. Unpack it to your home catalog on Bubba.  


3. Log in via SSH as your standard user.
3. Log in via SSH as your standard user.  


4. Now choose a name for the www path your forum will be located at, in my example "forum" (http://your_domain_naime/forum). Create the directory in the web catalog:
4. Now choose a name for the www path your forum will be located at, in my example "forum" (http://your_domain_naime/forum). Create the directory in the web catalog:  
<pre>mkdir /home/web/forum</pre>
<pre>mkdir /home/web/forum</pre>  
5. Copy the content from directory /home/[your user name]/fluxbb-1.2.22/upload/ to your forum catalog:
5. Copy the content from directory /home/[your user name]/fluxbb-1.2.22/upload/ to your forum catalog:  
<pre>cp -r /home/[your user name]/fluxbb-1.2.22/upload/* /home/web/forum/</pre>
<pre>cp -r /home/[your user name]/fluxbb-1.2.22/upload/* /home/web/forum/</pre>  
6. On the SSH command line: create a database, add user, modify user privileges:
6. On the SSH command line: create a database, add user, modify user privileges:  
<pre>mysql -u root</pre><pre>create database fluxbb;</pre><pre>CREATE USER 'fluxuser'@'localhost' IDENTIFIED BY 'fluxpsw';</pre><pre>GRANT ALL PRIVILEGES ON fluxbb.* TO 'fluxuser'@'localhost';</pre><pre>quit</pre>
<pre>mysql -u root</pre><pre>create database fluxbb;</pre><pre>CREATE USER ''''fluxuser''''@'localhost' IDENTIFIED BY 'fluxpsw';</pre><pre>GRANT ALL PRIVILEGES ON fluxbb.* TO 'fluxuser'@'localhost';</pre><pre>quit</pre>  
7. You must make the two catalogs /forum/cache and /forum/img/avatars writable. Issue the commands:
7. You must make the two catalogs /forum/cache and /forum/img/avatars writable. Issue the commands:  
<pre>chmod 0777 /home/web/forum/cache/</pre>
<pre>chmod 0777 /home/web/forum/cache/</pre>  
and
and  
<pre>chmod 0777 /home/web/forum/img/avatars/</pre>
<pre>chmod 0777 /home/web/forum/img/avatars/</pre>  
<br>8. Via a web browser, browse to your forum: http://your_domain_name/forum<br>9. Click install.php<br>10. Fill in the information:
<br>8. Via a web browser, browse to your forum: http://your_domain_name/forum<br>9. Click install.php<br>10. Fill in the information:  


Database setup<br>Database name: fluxbb<br>Database username: fluxuser<br>Database password: fluxpsw
'''Database setup'''<br>Database name: '''fluxbb'''<br>Database username: '''fluxuser'''<br>Database password: '''fluxpsw'''


Administration setup<br>Administrator username: your choice<br>Password: your choice<br>Administrator's e-mail: your choice
'''Administration setup'''<br>Administrator username: ''your choice''<br>Password: ''your choice''<br>Administrator's e-mail: ''your choice''
 
<br>11.Click "Start install"<br>12. Follow the instructions and copy the information shown on the text box called "Copy contents to config.php"<br>13. Via the SSH console create the file config.php:
<pre>nano /home/web/forum/config.php</pre>
14. Paste the content from the text box "Copy contents to config.php" into the file and save the file.<br>15. Now your new forum is up and running! Via a web browser go to http://your_domain_name/forum<br>16. Log in with your forum administrator and click Administration and configure your forum!


<br>11.Click "Start install"<br>12. Follow the instructions and copy the information shown on the text box called "Copy contents to config.php"<br>13. Via the SSH console create the file config.php:
<pre>nano /home/web/forum/config.php</pre>
14. Paste the content from the text box "Copy contents to config.php" into the file and save the file.<br>15. Now your new forum is up and running! Via a web browser go to http://your_domain_name/forum<br>16. Log in with your forum administrator and click Administration and configure your forum!


<br>


<br><br>
<br><br>

Latest revision as of 13:54, 4 September 2010

Do you want to run your own forum on Bubba? FluxBB, http://fluxbb.org, is a light weight and fast forum well fitted for Bubba.

1. Download the latest version of FluxBB from http://fluxbb.org/downloads/.

2. Unpack it to your home catalog on Bubba.

3. Log in via SSH as your standard user.

4. Now choose a name for the www path your forum will be located at, in my example "forum" (http://your_domain_naime/forum). Create the directory in the web catalog:

mkdir /home/web/forum

5. Copy the content from directory /home/[your user name]/fluxbb-1.2.22/upload/ to your forum catalog:

cp -r /home/[your user name]/fluxbb-1.2.22/upload/* /home/web/forum/

6. On the SSH command line: create a database, add user, modify user privileges:

mysql -u root
create database fluxbb;
CREATE USER ''''fluxuser''''@'localhost' IDENTIFIED BY 'fluxpsw';
GRANT ALL PRIVILEGES ON fluxbb.* TO 'fluxuser'@'localhost';
quit

7. You must make the two catalogs /forum/cache and /forum/img/avatars writable. Issue the commands:

chmod 0777 /home/web/forum/cache/

and

chmod 0777 /home/web/forum/img/avatars/


8. Via a web browser, browse to your forum: http://your_domain_name/forum
9. Click install.php
10. Fill in the information:

Database setup
Database name: fluxbb
Database username: fluxuser
Database password: fluxpsw

Administration setup
Administrator username: your choice
Password: your choice
Administrator's e-mail: your choice


11.Click "Start install"
12. Follow the instructions and copy the information shown on the text box called "Copy contents to config.php"
13. Via the SSH console create the file config.php:

nano /home/web/forum/config.php

14. Paste the content from the text box "Copy contents to config.php" into the file and save the file.
15. Now your new forum is up and running! Via a web browser go to http://your_domain_name/forum
16. Log in with your forum administrator and click Administration and configure your forum!