I found some bits and pieces on the web about how to build Mybb on a web server but thought it would be a good idea to document these for my own use and for others as you might see from my previous post that had phpbb working with worpress on ubuntu see here for instructions on how to do that.
Mybb is and open source forum platform more information forums ect is available here
Before we start you must have the LAMP stack installed on your server the LAMP stack which for those who don’t know is apache2, mysql and linux platform to produce scalable virtual private servers.
Go to yoursite/phpmyadmin and create a new database called forum then login to your server and enter
Now we need to get the latest copy of Mybb by using these commands
We now have a copy of Mybb but we need to move it to the correct place on our server
Please note you may need to install unzip if you have not installed already you will be prompted to install if the program is not present.
Move uploaded files NOTE IF YOU HAVE WORPRESS INSTALLED in /var/www CREATE AN EXTRA DIRECTORY IN var/www/forum
mv Upload/* /var/www
Move to that directory
Move the files below
mv inc/config.default.php inc/config.php
Set the permissions for Mybb to work
chmod 666 inc/config.php inc/settings.php inc/languages/english/*.php inc/languages/english/admin/*.php
chmod 777 cache/ cache/themes/ uploads/avatars/ uploads/ admin/backups/ inc/languages
If all went well navigate to
Here you can see that you have all the correct requirements to run the forum.
Here you need to set your hostname and admins for the forum
Then complete the install by setting up the board configs.
Dont forget to delete the installation file by using filzilla or use these commands when logged in using root.
rm -rf install
You should be good to go remeber if you install the forum in /var/www/forum you need to navigate to there to administer you board and remove the installation file.