PDA

View Full Version : local host ???



helnick
Wed 20th Feb '08, 10:58pm
I just downloaded all my files from vb. I do not have a hosting site because I am waiting for my domain name to become available in early April. I thought I would get a head start by doing a bit of learning while I wait. I was told that I could install VB on My own PC with a local host. Great!
I cant seem to find threads relating to this.
Heres how far I got:\
Dowloaded and unzipped to a folder on my desktop. Changed config.php.new to config.php.
Um.......Now what, I will keep searching but a next step or a link with instructions would greatly help. I am a newbie so short hand wont work yet for me. Thanks in advance.
I will edit this post if I figure it out.

Steve Machol
Wed 20th Feb '08, 11:02pm
You have to install a web server, PHP and MySQL to do this. Do a search for XAMP.

helnick
Wed 20th Feb '08, 11:20pm
thanks got a wamp server here
http://sourceforge.net/project/downloading.php?groupname=wampserver&filename=WampServer2.0a.exe&use_mirror=superb-east

Steve Machol
Wed 20th Feb '08, 11:21pm
You can view the installation instructions in our online documentation here:

http://www.vbulletin.com/docs/html/install/

helnick
Thu 21st Feb '08, 12:07am
i have just installed wamp5 and it is running. I am sorry for all the questions but very new. I am reading through insatll and it says I have to name the database. I am in wamp and I'm not sure how to point my database to it. where do I find how to point my database to it.
also I edited the things in config.php. Do I still need smart ftp to do this or should I have what I need already?

helnick
Thu 21st Feb '08, 12:26am
[23:24:39] SmartFTP v2.5.1008.37
[23:24:39] Resolving host name "localhost"
[23:24:39] Connecting to 127.0.0.1 Port: 21
[23:24:40] No connection could be made because the target machine actively refused it.
[23:24:40] Cannot login waiting to retry (30s)...
[23:24:40] Client closed the connection.
[23:24:40] Active Help: http://www.smartftp.com/support/kb/58


here is what i am getting.
I put local host in url and my username and password that I set in config.php. \
am I way off?

helnick
Thu 21st Feb '08, 12:34am
here is what i am getting now. I changed the name to ftp.localhost.com (ftp://ftp.localhost.com)

[23:28:07] SmartFTP v2.5.1008.37
[23:28:07] Resolving host name "ftp.localhost.com"
[23:28:07] Connecting to 10.11.12.13 Port: 21
[23:28:07] Connected to ftp.localhost.com.
[23:28:28] An established connection was aborted by the software in your host machine.
[23:28:28] Cannot login waiting to retry (30s)...
[23:28:28] Server closed connection

I cant seem to figure it out. It does connect temporarily but disconnects.
any suggestions.

helnick
Sun 24th Feb '08, 12:12am
i copied this from likenota.com works like a champ!

local host install using wamp5


i have found many ways to do this. There are many alternative ways to do this, but ill show you how i did it. This can be used for testing different skins to testing modifications.

1) Download WAMP (you can use any localhost server really as long as you have up to date php, MySQL, and Apache...which this one does)
http://www.wampserver.com/dl.php (http://www.wampserver.com/dl.php)

2) Run the install file.

3) Go to http://localhost (http://localhost/) and if it say apache is successfully installed, then continue.

4) The location of the files will be different depending on the server you use. Again this is for WAMP.

5) If you want to put your forum in a forum directory so you can access it like http://localhost/forum/ (http://localhost/forum/) , make a folder called forum in your c:\wamp\www folder. now put all your vb files there.
If you don’t want to use a directory, so you just have to type http://localhost (http://localhost/) to access your forum, then put your vb files in your c:\wamp\www folder.

6) Now open up phpmyadmin (http://localhost/phpmyadmin/ (http://localhost/phpmyadmin/)) and create a new database for your new forum. you can call it anything, but to make things easy just name it forum. once you have created the database, you can close phpmyadmin because you are done using it. if you created your database and you did not call it forum, then you need to change this in your config.php file.

7) Open up your config.php file from your vBulletin directory. Find and edit the following...
$config['Database']['dbname'] = 'forum'; (change 'forum' to what ever you named your database in phpmyadmin)

make sure this setting is set to mysql:
$config['Database']['dbtype'] = 'mysql';

you need to put your mysql user name and password here. if you have not edited your mysql user permissions then you are using the default mysql root user name with no password. so, you do not need to change these two settings,. If you have changed it, then replace the 'root' and the ''
$config['MasterServer']['username'] = 'root';
$config['MasterServer']['password'] = '';

if you have put your vb install into a forum directory, change it to:
$config['Misc']['forumpath'] = 'C:\wamp\www\forum';

if you did not use a directory, change it to:
$config['Misc']['forumpath'] = 'C:\wamp\www';

8) Go to http://localhost/forums/install/install.php (http://localhost/forums/install/install.php) and follow the instructions on screen.

9) once installed it will tell you to delete the install.php file, so delete it.

10) Then it will let you go to http://localhost/forums/admincp/index.php (http://localhost/forums/admincp/index.php) and go through and have fun with your vBulletin on your computer.

a different way i found can be located here: http://www.dgunawan.com/23/howtoamp (http://www.dgunawan.com/23/howtoamp)

and i forgot to mention that you must have WAMP open to run the vBulletin. so go to Start>All Prgrams>WAMP Server>Start WAMP Server. then a little meter will be in your taskbar by your clock.

or like i said before there are so many ways that you can google if you dont like this one.

also if you wanna be a dick, then you can say i ripped this. cause really everything in this tut is in the vbulletin read me install thingy.