|

Installing MyBB 1.8.12 on Ubuntu Server

In the following tutorial I will explain how to install MyBB 1.8.12 on Ubuntu Server. I will be doing this from the command line so no GUI needed.

  1. Download the MyBB package. You will want to get the latest version of MyBB.
  2. wget --content-disposition https://www.mybb.com/download/latest -O mybb.zip
    
  3. By default Ubuntu does not come with unzip. Install that now.
  4. sudo apt install unzip
    
  5. Unzip the MyBB zip file
  6. unzip mybb.zip
    

    2 folders should now be in your present working directory. Unload and Documentation.

  7. Install LAMP (Linux, Apache2, PHP and MySQL) Restart Apache after
  8. sudo apt install apache2 mysql-server php-mysql php libapache2-mod-php php-mcrypt
    sudo systemctl restart apache2
    

    This install will ask to create a root password for the MySQL database.

  9. Move MyBB files to the server folder
  10. cd /var/www/
    sudo mkdir mybb/
    mv ~/Upload/* /var/www/html/mybb/
    

    You should now see all the files in the www/mybb directory.

  11. Rename the inc/config.default.php
  12. sudo mv inc/config.default.php inc/config.php
    
  13. Now change permissions on the following files and directories
  14. sudo chmod 666 inc/config.php inc/settings.php inc/languages/english/*.php inc/languages/english/admin/*.php
    sudo chmod 777 cache/ cache/themes/ uploads/ uploads/avatars/ admin/backups/
    
  15. Login to MySQL and create Database.
  16. mysql -u root -p
    

    Enter the password that was create for MySQL.
    Now create the database and a user to have access to this database only.

    create database MyBB;
    grant all privileges on MyBB.* to 'MyBB'@'localhost' identified by "S0mePassw0rd";
    flush privileges;
    exit;
    
  17. Browse to the install page.
  18. You can now follow the step by step installer. Be sure to specify the database credentials you create above. Do not use the root account.

Go to your main web URL and you should see your new forum ready to go! If you have any questions please leave them below.

Similar Posts

  • |

    Birthday

    Well my birthday was on July 23 and my parents decided to get me a new mixing board. Well it arrived today and boy is it neat! 😀 It’s the new Alesis MultiMix 12 FireWire. It is a small version of the bigger recording studio mixing board. It does have firewire witch is already built…

  • | |

    New Laptop #2

    Well for those of you I don’t talk to on a regular bases here is a little update: I have graduated from Canadore College and received my “Computer System Technology – Networking Program”. So that’s it, I’m done. Not so much. I have deiced to go back for another 3 years for the “Computer Programmer…

  • Vista

    Well Vista is gone now. There were to many problem with software running on it. I don’t have a Vista disk with me or I would do a fresh install so instead XP is going back on it. I may install it later on but not until I get more RAM for my laptop. Till…

  • | |

    Service Manager

    Welcome to Service Manager v1.0.0. The following application allows a user to easily start and stop services as required. I built this tool a few years ago when I was developing database software. I would have issues with the service and need to restart it. It was much easier to build a program to do…

  • |

    Poor computer

    Well yesterday my poor old AMD 3500+ Asus AV8 – Delux motherboard gave up the ghost and died. Me and it were together for 5 greatfull years but now it has moved onto a better place. So it’s replacment is going to be a bare bones kit from Tigerdirect. Click here for more details. It’s not the best thing ever but it will do exactly what I need it to do. In the mean time I’m using a AMD Duron 1Ghz with 256 MB of ram running…