• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install MyBB CMS 1.8.15 on Ubuntu 18.04

{{postValue.id}}

To install MyBB CMS on Ubuntu 18.04


MyBB is an open source, multi-lingual extensible blogging engine which does not require a database. It stores all of its content on text files. It also contains features like support of various plugins, widget support, customizable themes.

Prerequisites


To install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules

add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  php7.0-xml
php7.0-intl  php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Download a MyBB package using the following command

root@linuxhelp1:~# wget https://resources.mybb.com/downloads/mybb_1815.zip
--2018-06-22 20:37:56--  https://resources.mybb.com/downloads/mybb_1815.zip
Resolving resources.mybb.com (resources.mybb.com)... 104.25.195.102, 104.25.196.102, 2400:cb00:2048:1::6819:c466, ...
Connecting to resources.mybb.com (resources.mybb.com)|104.25.195.102|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2248609 (2.1M) [application/zip]
Saving to: ‘ mybb_1815.zip’ 
mybb_1815.zip           100%[==============================> ]   2.14M   323KB/s    in 6.8s    
2018-06-22 20:38:05 (325 KB/s) - ‘ mybb_1815.zip’  saved [2248609/2248609]

The downloaded package is a zip file, so we need to unzip the package now

root@linuxhelp1:~# unzip mybb_1815.zip -d mybb
Archive:  mybb_1815.zip
   creating: mybb/Documentation/
  inflating: mybb/Documentation/credits.html  
   creating: mybb/Documentation/images/
  inflating: mybb/Documentation/images/logo.png  
 extracting: mybb/Documentation/images/notice_credits.png  
 extracting: mybb/Documentation/images/notice_install.png
.
.
   creating: mybb/Upload/uploads/
   creating: mybb/Upload/uploads/avatars/
  inflating: mybb/Upload/uploads/avatars/index.html  
  inflating: mybb/Upload/uploads/index.html  
  inflating: mybb/Upload/usercp.php  
  inflating: mybb/Upload/usercp2.php  
  inflating: mybb/Upload/warnings.php  
  inflating: mybb/Upload/xmlhttp.php

Move the extracted file into the following path

root@linuxhelp1:~# mv mybb /var/www/

Switch to the following directory

root@linuxhelp1:~# cd /var/www/

Change the ownership and permission of the file

root@linuxhelp1:/var/www# chown -R www-data.www-data mybb
root@linuxhelp1:/var/www# chmod -R 775 mybb

Create a new virtual host configuration for accessing the MyBB application

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/mybb.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/mybb/Upload/
< Directory /var/www/mybb/Upload/> 
AllowOverride All
allow from all
< /Directory> 
< /VirtualHost> 

Enable the site access

root@linuxhelp1:/var/www# a2ensite mybb.conf
Enabling site mybb.
To activate the new configuration, you need to run:
systemctl reload apache2

Disable the default access

root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable the rewrite module

root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Restart the apache2 service

root@linuxhelp1:/var/www# systemctl restart apache2

Open a browser and type the following URL of http://local IP (or ) domain name
web_configuration

Welcome document of MyBB
installation_wizard

Accept the license agreement
license_acceotance

Verify the requirements
req_check

Configure the database detail
db_configuration

You will see the Table creation
table_creation

You can see the data insertion
table_population

Choose the theme installation
theme_insertion

Configure the site information
board_configuration

Configure the Admin user credential
admin_setup

Once the setup is finished you will see the following page.
setup_complete

Log in using the Admin user credential
login

Admin page of Mybb

admin_dashboard

With this, the method to install MyBB CMS on Ubuntu 18.04 comes to an end.

Tags:
frank
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What are the Prerequisites of MyBB CMS?

A

To install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )

Q

How to Download a MyBB package?

A

Execute the following link:
# wget https://resources.mybb.com/downloads/mybb_1815.zip

Q

Is there any alternatives in MyBB CMS?

A

The alternatives are,
Discourse. Discourse is an open source discussion platform built for the next decade of the Internet. ...
Flarum. Flarum is the next-generation forum software that makes online discussion fun. ...
phpBB. ...
Simple Machines Forum. ...
bbPress. ...

Q

How can I extract the downloaded package?

A

Run the following command:
# unzip mybb_1815.zip -d mybb

Q

What is MyBB CMS?

A

MyBB is an open source, multi-lingual extensible blogging engine which does not require a database. It stores all of its content on text files. It also contains features like support of various plugins, widget support, customizable themes.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.