MyBB Tutorials
Install Live Board on Localhost
Submitted by JumpingJack, 01-08-2016, 10:19 AM, Thread ID: 22579
Thread Closed
Yes
100.00%
Votes:
1
% of votes:
100.00%
No
0%
Votes:
0
% of votes:
0%
You have already voted. Click on the dropdown to undo your vote.
What are the benefits of Install your live board copy on localhost?
You can do any changes is plugins and test anything you want on localhost before it can be applied on live board.
How to install your live board on Local Host?
Just follow below steps and you will enjoy a lot.
Suppose you want to upgrade Your Live Board 1.6.16 to 1.8.6
1. Install wamp software from site according to your pc bit version.
2. Go to wamp location-->www--> create folder of your desire i.e mybb
3. Open your cpanel of your website host & create backup of your full site and once it backuped than Download backup file OR You can manually download all files from public_html from file manager from cpanel.
you can use filezilla to proper export of server files.
4. Open your cpanel of your website host and go to phpmyadmin and click on your live running board database --> Click on export to take backup of live board database with all tables which will download file like abc_0x0y0z.sql
i.e abc_0x0y0z (from your live board config.php file , you can know your forum database, user of database and password)
5. After installing correct wamp software .Open phpmyadmin from your pc taskbar so it will open phpmyadmin on localhost
6. Create same name database abc_0x0y0z on local host
7. on localhost click on home option, you will see 'user' menu and click it and create same user as of your database. (from your live board config.php file , you can know your forum database, user of database and password) with keeping host as local.
abc_xyz (Database Username)
password
8. Now click on databases on localhost and click on new created database (abc_0x0y0z) and import backup file (look like abc.sql) which is created as in point no. 4.
9. Now go to wamp-->www-->mybb and copy your live running board server files from downloaded files only public_html files as describe in point no. 3
10. You have to modify config.php and setting.php files inside inc to proper working copy of your live board.
/inc/settings.php:
$settings['cookiedomain'] = "";
$settings['cookiepath'] = "http://localhost/mybb/";
$settings['cookieprefix'] = "";
$settings['homeurl'] = "http://localhost/test or "/";
$settings['bburl'] = "http://localhost/test";
$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'abc_0x0y0z';
$config['database']['table_prefix'] = 'mybb_';
$config['database']['hostname'] = 'localhost';
$config['database']['username'] = 'abc_xyz';
$config['database']['password'] = 'pass';
11.. Its done.
12. Now if you want to upgrade to 1.8.6 than download fresh copy of mybb1.8.6 and copy files inside 'upload' folder of it and overwrite in wamp-->www-->mybb
13. Now remove lock file from wamp-->www-->mybb-->install folder if you want to install new version of mybb over existing.
13. Now run upgrade script localhost/mybb/install.upgrade.php & run it and click on next , next till finish.
14. Congratulation !!! Your copy is upgraded to 1.8.6
Users browsing this thread: 1 Guest(s)