04-05-2017, 11:43 AM
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
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
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
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';
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
[font=monospace][font=monospace]
Now we just need to configure few files permissions then we will be able to configure forum correctly
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]
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
Code: (Select All)
sudo apt-get update
Code: (Select All)
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
Code: (Select All)
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
Code: (Select All)
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
Code: (Select All)
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
CREATE DATABASE kabir;
CREATE USER 'kabir'@'localhost' IDENTIFIED BY 'kabir';
GRANT ALL PRIVILEGES ON kabir.* TO 'kabir'@'localhost' IDENTIFIED BY 'kabir';
Code: (Select All)
FLUSH PRIVILEGES;
Code: (Select All)
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/
Code: (Select All)
wget https://resources.mybb.com/downloads/mybb_1811.zip
sudo apt-get install unzipnow we can install it by typing the following command
Code: (Select All)
unzip [font=monospace]mybb_1811.zip
Now we just need to configure few files permissions then we will be able to configure forum correctly
Code: (Select All)
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
if you get any problems please post here i will be happy to help u out[/code]