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
  #32  
Old 04-09-2005, 07:10 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AlexUK
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?
9 meg on your computer should be done in about 10 mins.

Also when looking to the left for tables they may not show so log out and back in - solves the problem all the time.

Use a program called Mysqfront to create databases local - is well easy program to use.
Reply With Quote
  #33  
Old 04-10-2005, 08:40 AM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is normal for it to say it is empty, it's some kind of bug in phpMyAdmin.
Just continue the steps, and you'll see it'll work.
Reply With Quote
  #34  
Old 04-10-2005, 11:12 AM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Out of curiosity, what if you want to run your forum from home and do the above and setup a forwarding URL by using dyndns.org.

How would you set this up so it connects to an outside port?

Laters
Reply With Quote
  #35  
Old 04-10-2005, 01:19 PM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wouldn't know...

Maybe someone else knows, but I'm not good with stuff like that.
Reply With Quote
  #36  
Old 04-10-2005, 09:40 PM
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 lasto
9 meg on your computer should be done in about 10 mins.

Also when looking to the left for tables they may not show so log out and back in - solves the problem all the time.

Use a program called Mysqfront to create databases local - is well easy program to use.
9 MB is a little too big for phpMyAdmin to handle, maybe you should copy & paste.
Reply With Quote
  #37  
Old 05-25-2005, 06:13 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can somebody please advise,ive installed everything and all is working the only thing i am having trouble with is installing vbulletin.ive just downloaded vb 3.0.7 unzipped it to my documents,then i cut and pasted the upload folder to C:\apache\htdocs then i renamed the upload folder to forum,i then went into the forums folder and opened the includes folder,then renamed config.php.new to config.php and i also done the edits in your instructions and saved,to do the install i typed http:/localhost/forum/install/install.php,and this is what it comes up with:::::
Please make sure you have entered the values in to config.php.new and renamed the file to config.php.

i have been at this for a while now and have checked and re checked everything what am i doing wrong,i also noticed when i highlight my mouse over the config.php file it saying type NEW file and config.php under it,any help or advise appreciated,i really want to get this working great for testing some of the hacks/and codes
Reply With Quote
  #38  
Old 05-25-2005, 10:06 AM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will need to add the database information to config.php.
Reply With Quote
  #39  
Old 05-25-2005, 06:24 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have a MySQL version 4.1 or higher then you will probable need your MySQL server to allow Old Passwords.
Reply With Quote
  #40  
Old 05-26-2005, 03:04 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok now when i type in
http:/localhost/forum/install/install.php it just goes to a blank page,any ideas???
Reply With Quote
  #41  
Old 05-26-2005, 05:24 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check the page source and post here.
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 12:25 AM.


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.09741 seconds
  • Memory Usage 2,307KB
  • 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
  • (2)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
  • (4)pagenav_pagelink
  • (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