• 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 CentOS 7.5

  • 00:39 rpm -q centos-release
  • 00:56 mysql -u root -p
  • 02:06 wget https://resources.mybb.com/downloads/mybb_1820.zip
  • 02:20 unzip mybb_1820.zip.1
  • 02:32 mv Upload /var/www/mybb
  • 02:45 chown -R apache:apache /var/www/mybb
  • 02:58 chmod -R 755 /var/www/mybb
  • 03:09 vim /etc/httpd/conf.d/mybb.conf
  • 04:16 systemctl restart httpd
{{postValue.id}}

Installation of MyBB CMS on CentOS 7.5

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. This tutorial covers the installation of MyBB CMS on Centos 7.5

Requirements for MyBB cms :

Apache

MariaDB

PHP and its modules

(php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-mcrypt)

Installation procedure

Check the Centos version by using the following command.

[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-5.1804.el7.centos.x86_64

Configure the MySQL database. Log into MySQL as a root user and make the necessary settings.

[root@linuxhelp ~]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 5.5.60-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database mybb;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> create user 'mybbuser'@localhost identified by '123456';
Query OK, 0 rows affected (0.01 sec)
MariaDB [(none)]> grant all privileges on mybb.* to 'mybbuser'@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> Ctrl-C -- exit!
Aborted

Once the database configuration is done, download the MyBB CMS installation package by using the wget command.

[root@linuxhelp ~]# wget https://resources.mybb.com/downloads/mybb_1820.zip
--2019-05-14 16:28:18--  https://resources.mybb.com/downloads/mybb_1820.zip
Resolving resources.mybb.com (resources.mybb.com)... 104.25.196.102, 104.25.195.102, 2606:4700:20::6819:c366, ...
Connecting to resources.mybb.com (resources.mybb.com)|104.25.196.102|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2251084 (2.1M) [application/zip]
Saving to: ‘mybb_1820.zip.1’
100%[===========================================================>] 2,251,084    855KB/s   in 2.6s   
2019-05-14 16:28:22 (855 KB/s) - ‘mybb_1820.zip.1’ saved [2251084/2251084]

Once the download is completed extract the downloaded package using unzip command.

[root@linuxhelp ~]# unzip mybb_1820.zip.1
Archive:  mybb_1820.zip.1
   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  
.
.
.        
   creating: Upload/uploads/
   creating: Upload/uploads/avatars/
  inflating: Upload/uploads/avatars/index.html  
  inflating: Upload/uploads/index.html  
  inflating: Upload/usercp.php       
  inflating: Upload/warnings.php     
  inflating: Upload/xmlhttp.php      

Move the MyBB CMS directory to apache root directory.

[root@linuxhelp ~]# mv Upload /var/www/mybb

Set the ownership and permission for MyBB CMS by using the following command.

[root@linuxhelp ~]# chown -R apache:apache /var/www/mybb
[root@linuxhelp ~]# chmod -R 755 /var/www/mybb

Configure the virtualhost for accessing the MyBB CMS.

[root@linuxhelp ~]# vim /etc/httpd/conf.d/mybb.conf
<Virtualhost *:80>
        Servername www.linuxhelp1.com
        Documentroot /var/www/mybb
<directory /var/www/mybb>
allowoverride all
allow from all
</directory>
</Virtualhost>

**Once it is done, restart the apache service by using the following command. **

[root@linuxhelp ~]# systemctl restart httpd

After the Apache service is restarted, switch to your browser and enter the domain name. snap1

Welcome document of MyBB CMS. snap2 Accept the license agreement and proceed further. snap3 Verify the requirements MyBB CMS. snap4 Configure the database detail snap5 Check the Table creation snap6 You can see the data insertion snap7 Choose the theme installation snap8 Configure the site information snap9 Configure the Admin user credential snap10 Once the setup is finished you will see the following page. snap11 Log in using the Admin user credential snap12 This Is the dashboard MyBB CMS. snap13

With this, the method to install MyBB CMS on CentOS 7.5 comes to an end.

Tags:
ethan
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is the use of 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.

Q

How to entry to the host's file for MyBB CMS?

A

Use the following command to enter the hostS file.
# vim /etc/hosts

Q

Where to download the package of MyBB CMS in ubuntu?

A

Download a MyBB package using the following URL.


#wget https://resources.mybb.com/downloads/mybb_1820.zip

Q

What are the php modules required for MyBB CMS?

A

These are the php modules required for MyBB CMS.

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

What are the requirements for MyBB CMS?

A

These are the requirements for MyBB CMS
Apache
MySQL
PHP and its modules

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 keel johnston ?
Unhide the folders on windows Explorer

Give any solutions to unhide folder using command prompt?

forum3

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.