• 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 on Debian 11.3

  • 00:35 lsb_release –a
  • 01:00 systemctl status apache2
  • 01:16 apt install php php-xml php-mysql php-mbstring php-zip php-soap php-sqlite3 php-curl php-gd php-ldap php-imap php-common
  • 01:35 mysql -u root -p
  • 01:46 create database mybb;
  • 01:59 create user 'mybbuser'@localhost identified by '123456';
  • 02:16 grant all privileges on mybb.* to 'mybbuser'@localhost;
  • 02:48 flush privileges;
  • 02:58 \q
  • 03:06 wget https://resources.mybb.com/downloads/mybb_1820.zip
  • 03:15 unzip mybb_1820.zip
  • 03:24 mv Upload /var/www/mybb
  • 03:41 chown -R www-data.www-data /var/www/mybb
  • 04:02 chmod -R 755 /var/www/mybb
  • 04:20 vim /etc/apache2/sites-available/mybb.conf
  • 05:40 a2ensite mybb.conf
  • 05:52 a2enmod rewrite
  • 06:12 vim /etc/hosts
  • 06:47 systemctl restart apache2
{{postValue.id}}

To install MYBB CMS on Debian 11.3.

Introduction:

MyBB, formerly MyBBoard and originally MyBulletinBoard, is a free and open-source content management system.MyBB is a free open source forum software developed in PHP, that offers support for the following databases: MySQL, PostgreSQL and SQLite and has a database failover support.You can manage everything from creating a new forum to users, private messaging and templates.

Prerequisites. Mybb install Before Need for Lamp setup.

Installation process:

Step 1:Run lsb_release command to check the installed version of OS as follows.

root@linuxhelp:~# lsb_release –a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

Step 2:Check the Status of Apache Webserver

root@linuxhelp:~# systemctl status apache2
● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor prese>
     Active: active (running) since Thu 2022-07-21 01:35:57 IST; 6min ago
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 43240 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/S>
   Main PID: 43244 (apache2)
      Tasks: 11 (limit: 4620)
     Memory: 29.6M
        CPU: 408ms
     Jul 21 01:35:57 linuxhelp systemd[1]: Starting The Apache HTTP Server...

Step 3:Install PHP modules by using the below commands:

root@linuxhelp:~# apt install php php-xml php-mysql php-mbstring php-zip php-soap php-sqlite3 php-curl php-gd php-ldap php-imap php-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-42 linux-headers-5.4.0-42-generic linux-headers-5.4.0-52 linux-headers-5.4.0-52-generic
  linux-image-5.4.0-42-generic linux-image-5.4.0-52-generic linux-modules-5.4.0-42-generic linux-modules-5.4.0-52-generic
  linux-modules-extra-5.4.0-42-generic linux-modules-extra-5.4.0-52-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libapache2-mod-php7.4 libc-client2007e libonig5 libzip5 mlock php7.4 php7.4-cli php7.4-common php7.4-curl php7.4-gd
  php7.4-imap php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-soap php7.4-sqlite3
  php7.4-xml php7.4-zip

Step 4:Create database for Mybb CMS

root@linuxhelp:~# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 30
Server version: 10.5.15-MariaDB-0+deb11u1 Debian 11


MariaDB [(none)]> create database mybb;
Query OK, 1 row affected (0.010 sec)

MariaDB [(none)]> create user 'mybbuser'@localhost identified by '123456';
Query OK, 0 rows affected (0.025 sec)

MariaDB [(none)]> grant all privileges on mybb.* to 'mybbuser'@localhost;
Query OK, 0 rows affected (0.004 sec)

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.005 sec)

MariaDB [(none)]> \q
Bye

Step 5:Download Mybb CMS by using the below command:

root@linuxhelp:~# wget https://resources.mybb.com/downloads/mybb_1820.zip
--2022-07-21 01:27:05--  https://resources.mybb.com/downloads/mybb_1820.zip
Resolving resources.mybb.com (resources.mybb.com)... 104.24.30.89, 172.67.67.178, 104.24.31.89, ...
Connecting to resources.mybb.com (resources.mybb.com)|104.24.30.89|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2251084 (2.1M) [application/zip]
Saving to: ‘mybb_1820.zip’


mybb_1820.zip       100%[===================>]   2.15M  3.07MB/s    in 0.7s

2022-07-21 01:27:06 (3.07 MB/s) - ‘mybb_1820.zip’ saved [2251084/2251084]

Extract the Zip file by using the below command:
root@linuxhelp:~# unzip mybb_1820.zip 
Archive:  mybb_1820.zip
   creating: Documentation/
  inflating: Documentation/credits.html  
   creating: Documentation/images/
  inflating: Documentation/images/logo.png  
 extracting: Documentation/images/notice_credits.png  
 extracting: Documentation/images/notice_install.png  
 extracting: Documentation/images/notice_license.png  
 extracting: Documentation/images/notice_upgrade.png  

Step 6:Rename the directory:

root@linuxhelp:~# mv Upload /var/www/mybb

Step 7:Give the Ownership and permissions to Mybb directory root@linuxhelp:~# chown -R www-data.www-data /var/www/mybb root@linuxhelp:~# chmod -R 755 /var/www/mybb

Step 8:Create a virtualhost for Mybb CMS:

root@linuxhelp:~# vim /etc/apache2/sites-available/mybb.conf
<virtualhost *80>
Servername www.linuxhelp1.com
Documentroot /var/www/mybb
</vitualhost>

Step 9:Disable default access

root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.

Step 10:To activate the new configuration, you need to run:

systemctl reload apache2

Step 11:Enable site access

root@linuxhelp:~# a2ensite mybb.conf
Enabling site mybb.

Step12 :To activate the new configuration, you need to run:

 systemctl reload apache2

Step 13 :Enable rewrite module

root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.

Step 14:To activate the new configuration, you need to run:

systemctl restart apache2

Step 15:Enter the Host entery

root@linuxhelp:~# vim /etc/hosts
192.168.6.137 www.linuxhelp1.com

Step 16 :Once it is completed, Restart the Apache Web Server by running the following command

root@linuxhelp:~# systemctl restart apache2

Step 17:Once completed above step goto browser type URL snap 1 Step 18 :Welcome page for Mybb CMS snap 2 Step19:StepLicense agreement page snap 3 Step20:Check requirements snap 4 Step21 :Database configuration snap 5 Step 22: After that click next, for installation process pages snap 6 snap 7 Step 23: Check board configuration and click next snap 8 Step 24: Create admin account snap 9 Step 25 :Click admin control panel snap 10 Step 26 :Login admin page snap 11 Step 27:Then it will show dashboard snap 12

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to install MYBB CMS on Debian 11.3.Your feedback is much welcome.

Tags:
michael
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is MyBB CMS?

A

MyBB is an open-source, multi-lingual extensible blogging engine. It stores all of its content on text files.

Q

What is the path of the apache configuration?

A

The path is # /etc/apache2/sites-available/

Q

How do you enable the rewrite module?

A

The command is # a2enmod rewrite

Q

How do you install the modules of PHP?

A

The command is # apt install php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap
php-imap php-common php-dev libmcrypt-dev php-pear

Q

How do you check the status of the Apache service?

A

he command is # systemctl status apache2

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 Ganesh Konka ?
Zentya 6.1 http proxy configuration

please send link for creating zentyal 6.1 for http proxy and firewall as gateway.

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.