arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to install Mybb forum in Debian/unbuntu
#1
The first thing you have to do when trying to get this software first of all you will have to install lamp because it is important thing for installing mybb .
What is Lamp?
LAMP is an Open Source Web development platform that uses Linux as the operating system, Apache as the Web server, Mysql as the relational database management system and PHP as the object-oriented scripting language. (Sometimes Perls or Python is used instead of PHP.
So now we will start installing Lamp On Vps
First of all we need to install Apache for installing apache we need to type that in command in terminal
sudo apt-get update

sudo apt-get install apache2

next step is to install mysql mysql is an database management system which is reponsible for storing database to install mybb forum we need to install mysql because we will need to save user data in it for installing mysql we will need to type the following commands in terminal

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

Now we have to install php because it is an important thing for install mybb forum for PHP forum we have to type the following commands

sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt

Now we will secure mysql database management system by typing the following commands
sudo mysql_install_db

sudo mysql_secure_installation

after this its will ask some questions answer each question with Yes Except the password change question if you are happy with your password

First of all login to your mysql with the following command password will be same which you gived duuring installation
mysql -u root -p
now we will create a database for our forum and also a user and then we will grant all previllages to that user for doing it type the following commands
CREATE DATABASE kabir;


CREATE USER 'kabir'@'localhost' IDENTIFIED BY 'kabir';


GRANT ALL PRIVILEGES ON kabir.* TO 'kabir'@'localhost' IDENTIFIED BY 'kabir';


FLUSH PRIVILEGES;

exit
Now We will Download Forum to vps
for downloading forum to vps you will havee to type the following commands 
[code]cd /var/www/html/
wget https://resources.mybb.com/downloads/mybb_1811.zip
We need to unzip the files but unzip is not installed in our system yet for installing type the following commands
sudo apt-get install unzipnow we can install it by typing the following command
unzip [font=monospace]mybb_1811.zip
[font=monospace][font=monospace]
Now we just need to configure few files permissions then we will be able to configure forum correctly
sudo chmod a+rw inc/settings.php
sudo chmod a+rw inc/config.php
sudo chmod a+rw cache
sudo chmod a+rw uploads
sudo chmod a+rw uploads/avatars
Now you are ready to configure your site for setting visit to ur domain
if you get any problems please post here i will be happy to help u out[/code]
#2
Great Tutorial @kabir145 Big Grin keep it up Easy Method....
Note: please Change your bold fonts as its annoying
Thanks to @Post4VPS & @Hostdare for Providing their VPS Hosting Services: VPS 12
#3
Maybe in other way is installing a control panel with softcalous inside and install mybb forum from there xD
Sorry for My Bad English
I am Web Developer || Python, NodeJs, C# Programer
My Fiverr Profile
#4
(01-02-2018, 01:04 AM)Arkiven4 Wrote: Maybe in other way is installing a control panel with softcalous inside and install mybb forum from there xD

I don't support auto installers and softcalous because they just give free license without any benefits as when i tried to install mybb at the free version it told me you cant install mybb with a free license please contact your hosting provider to buy a license.



person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting