Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Run your vBulletin on your PC
Deaths
Join Date: Oct 2004
Posts: 679

 

Europe, Belgium
Show Printable Version Email this Page Subscription
Deaths Deaths is offline 04-06-2005, 10:00 PM

I know there is a guide like this out already, and it's created by TECK.
However, his guide is outdated, and the download links are no longer valid.

So, I though I'd tell you how I did it

Please do NOT distribute this guide outside of vBulletin.org! If you wish to put it on your site, contact me by PM!

Here are a couple of simple steps on how to run your vB on your PC:

Installing Apache, PHP, MySQL, phpMyAdmin, etc...
  • Download the newest version of PHPTriad (http://sourceforge.net/project/showf...ckage_id=9390).
    • This is a very easy to use all-in-one pack.
  • Run the .exe, and let the installer do the job for you.
  • Now go to C:\apache\mysql\bin\, and run winmysqladmin.
    • If, and it probably will, it asks you for a password, enter root as password, and password as password.
  • Goto your start menu > PHPtriad > Apache Console > Stop Apache
  • Now go to start menu > PHPtriad > Apache Console > Start Apache
    • Note: Do NOT select "Restart Apache".
  • Now, Apache will pop up in a new window.
  • Simply minimize it.
    • Do NOT close it!
  • Now, open up c:\apache\htdocs\phpmyadmin\config.inc.php.
    • Find: $cfgServers[1]['password'] = '';
    • Between the '' tags, enter "password" WITHOUT the quotes
    • Save & Close
  • Now, your "webpage" is available at http://localhost!

Ok, nowthat we've installed and configured everything, we can start with the actuall vBulletin install!

Installing your vBulletin
  • Look at your task menu, and right click the traffic light icon.
  • Click "Show me"
  • Now, go to the databases tab.
  • Right click on the "Test" database
  • Click "Create Database".
  • In the window which just opened, enter the exact name which you gave to your online database. (If you're installing a new vBulletin forum on your local PC, you may call it anything you want. Do remember what you call it though).
  • Click "Create the Database" once you've entered a name.
  • Click "OK" on the error box which just poped up.
  • Now, press cancel, and it should bring you back to the databases tab.
  • Now, you have 2 options.
    • Follow these steps if you want to install a NEW vBULLETIN, if not, simply scroll down.
      • Download a new vBulletin copy from the members area.
      • Extract it to: c:\apache\htdocs\forum
      • Open up c:\apache\htdocs\forum\includes\config.php.
        • Set the the servername to "localhost" (without quotes)
        • Set NO dbusername and NO dbuserpassword!
        • Set the database name to the name of the database you created a couple of steps above.
        • Now install vBulletin, and follow vBulletin's steps.
    • Follow these steps if you want to install your online vBulletin Board on your PC.
      • Download your vBulletin files from your FTP
      • Download you Database from your host.
      • Rename your database file to vbulletin.sql
      • Go to http://localhost/phpmyadmin
      • Go to the database you created a couple of steps ago.
      • Click the "import" tab.
      • Find this text: "Or Location of the textfile :" (without quotes)
      • Bellow it, there should be a "browse" button.
      • Click it.
      • Browse to your vbulletin.sql file, and select it
      • Now, click the "Go" button. ONLY CLICK THIS ONCE
      • Get yourself a cup of coffee, because this might take a while.
      • When its done, it will most likely say "No tables found". Just ignore that.
  • Go to http://localhost/forum/admincp
  • Log in
    • If you can NOT log in, follow these steps.
      • Go to http://localhost/phpmyadmin, and open your database.
      • Open up the table "datastore" (BROWSE it)
      • Open up "options" (inside the database)
      • Find (where XXXX is your cookie domain you set when your board was online.
        Code:
        cookiedomain";s:0:"XXXX"
      • REMOVE the cookiedomain text. sothat it will look like this:
        Code:
        cookiedomain";s:0:""
      • Go back to your database.
      • Now browse the SETTING table.
      • Find the "cookiedomain" field.
      • Edit it, and empty the "value" box.
  • Thats it! You're done!

IF IT SAYS THE DATABASE IS EMPTY, JUST IGNORE THAT! FOLLOW THE REST OF THE STEPS, AND YOU WILL SEE IT WORKS!

You can now start playing around with your offline vBulletin copy, without having to worry about your members
Reply With Quote
  #12  
Old 04-08-2005, 06:10 PM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802
Your typical "newbie"' wouldn't know anything about AppServ or even SourceForge.
What I meant was: instead of telling them to edit this and that you can tell them just run a file(click next next and next..) and then http://localhost , isn't it better for newbie ? The only thing you need to guide for that 'newbie' is the link to download that file.
Reply With Quote
  #13  
Old 04-08-2005, 07:18 PM
AlexUK's Avatar
AlexUK AlexUK is offline
 
Join Date: Jan 2005
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

# Click the "import" tab.
# Select "browse" near "upload file"

I installed everything ok.
Now I am in phpmyadmin but I dont see the fields above.
There is a run sql queries area only.
Any ideas?
Reply With Quote
  #14  
Old 04-08-2005, 08:53 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by deathemperor
What I meant was: instead of telling them to edit this and that you can tell them just run a file(click next next and next..) and then http://localhost , isn't it better for newbie ? The only thing you need to guide for that 'newbie' is the link to download that file.
... but then you end up having to tell the 'newbie' where to find AppServ, how to install that, what the need to know about it, and then they can 'click next next next'. Somewhere in the chain the person needs to be flat out told what directions to take: Adding another layer to it like AppServ just strays from the KISS method.
Reply With Quote
  #15  
Old 04-08-2005, 11:01 PM
N8's Avatar
N8 N8 is offline
 
Join Date: Dec 2004
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit, nvm
Reply With Quote
  #16  
Old 04-09-2005, 01:35 AM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome Deaths, even though there is already another one, it's nice to check 2 sources. Things like this also take a lot of work, so thanks!

Quick question: will this work from the internet, via http://ipaddress/ ?
Reply With Quote
  #17  
Old 04-09-2005, 03:35 AM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheSpecialist
Awesome Deaths, even though there is already another one, it's nice to check 2 sources. Things like this also take a lot of work, so thanks!

Quick question: will this work from the internet, via http://ipaddress/ ?
If your ISP allows you to run server on their network, ppl can access to website on your home machine.
Reply With Quote
  #18  
Old 04-09-2005, 07:45 AM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AlexUK
# Click the "import" tab.
# Select "browse" near "upload file"

I installed everything ok.
Now I am in phpmyadmin but I dont see the fields above.
There is a run sql queries area only.
Any ideas?
Yes, below that big textbox there is a little text saying:
"Or Location of the textfile :"
Press "browse", the press "go".

Quote:
Originally Posted by TheSpecialist
Awesome Deaths, even though there is already another one, it's nice to check 2 sources. Things like this also take a lot of work, so thanks!

Quick question: will this work from the internet, via http://ipaddress/ ?
Depends on your ISP.
Your firewall will probably block it though, if you have a good router.

You can access it from your local network VIA the IP, just go to WinMySQLadmin, and there it says your local IP.

EDIT:
Updated the guide, gone into a little more detail for the importing of your old DB.

Also fixed a little typo, it wasnt an "Upload" button, but a "Go" button
Reply With Quote
  #19  
Old 04-09-2005, 08:04 AM
TyleR's Avatar
TyleR TyleR is offline
 
Join Date: Nov 2004
Location: North Carolina
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, i never knew i could do this ^_^

Works like a charm..will definately be using this for testing mods i make for my forum ~_^
Reply With Quote
  #20  
Old 04-09-2005, 08:06 AM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hehe, glad it worked .

There should be some kind of install button for hints & tips :/
Reply With Quote
  #21  
Old 04-09-2005, 09:39 AM
AlexUK's Avatar
AlexUK AlexUK is offline
 
Join Date: Jan 2005
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am loading my vbulletin.sql file which is 9mb size but I am waiting for so long and nothing happens, I mean almost an hour now.
is this normal?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:23 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.27728 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete