Previous Thread
Next Thread
Print Thread
Rate Thread
#252046 06/23/2003 11:52 AM
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
So you just bought your copy of .threads installed it as per the instructions and it works just fine. Some time has passed, you are lurking here and reading about all the things other people do and want to participate actively. In addition to that you also want to make some modifications yourself. This might be a new stylesheet, changing the way things look and feel (templates) or even adding some code to give you that extra bit functionality that your board users want. But where do you start....

Installing another copy on your host which will be your dev forum will do the trick but then you need to have a second database. Some hosts will allow you to have more than one and others will charge you for it. Being on a slow 56K modem connection doesn't help either... So what do you do?

Well what you can do is install the whole software on your home computer and run things from there. What you can do is:

On a Windows system you can install Internet Information Server (IIS) a component that comes with Windows 2000 or Windows XP. This will give you the ability to display pages on your browser which reside on your home computer by using the address http://localhost. Another alternative (which I favor personally) is to use Apache (http://httpd.apache.org). It does exaclty the same thing as IIS but is more flexible in terms of starting/stopping/configuring. The choice is yours. Apache comes in an .msi flavor (windows executable) so all you have to do is click on next a couple of times and fill 3 fields. After that it is up and running.

But wait a minute... "When I tried to install the forum on my computer the install.php script showed up on screen instead of actually executing something" I hear you say. This is true because your web server is not configured to run php scripts. So off we go to install php support for your web server. http://www.php.net is our target and we move straight to the downloads section. The site will detect where you are from your IP address and it will bring the closest mirrors to the top of your list so that your downloads are faster. PHP for windows comes in two flavors. One as an executable and one as a zip file. Download both because you will need them. Run the .exe file. This will install php on your box with a handful of clicks. I usually prefer to have everything nice and tidy so I change the destination folders to c:/program files/php instead of the default c:/php. The choice is yours... If you have IIS installed, the php installer will automatically configure it for you to use. If on the other hand you have Apache, you will have to do things yourself. There is a very good guide presented in the installation.txt file which is at the php root folder. Follow the instructions there and you will have everything installed! The last thing to do is unzip the php.zip file that you downloaded earlier in the same folder and with the preserved folder structure as it is on the zip file, to where you have installed php on your box. The reason for this is that the installer version doesn't come with all the possible extensions and additional goodies that php can offer, so you will possibly find yourself missing some things if you don't do this step.

Ok Php is setup and so is my web server. Let's install .threads!

The copy of the .threads has to be in the web folder that your web server executes scripts. For IIS it is usually c:/inetpub/wwww, while Apache defaults to c:/program files/apache group/apache2/htdocs. Both these locations can change to where you want them to. All you have to do is read the supplied documentation.

The install script starts running until you realize that it asks you about a database and some username and password information! Doh! We forgot the database where our data is to be stored!

OK no biggie there. Let's go to http://www.mysql.com and straight to the downloads page. Download the latest stable version. It will take some time but when the zip file is downloaded, extract its contents in an empty folder and run the setup program. This will instll mysql in your box. Once this is finished go to the folder where you installed mysql (I prefer c:/program files/mysql) and navigate to the bin subfolder. In there there is a file called winmysqladmin.exe. Run this and for the first time it will ask you for a username and password. Type in administrator and a password of your choice. Once this is done your user is set up and you can see mysql running (through this tool). Now it is a good time to restart your PC after all these installations - just to be sure...

Once the system boots up again, you will need to create a database.... You can create one using the command line and executing mysql.exe from the c:/program files/mysql/bin - but then again you will have to know the syntax - or be smart and download either phpMyAdmin (http://www.phpmyadmin.net) or MySQL Control Center (http://www.mysql.com). Eiter of these tools will allow you to access your local databases. Create one - e.g. testubb - and you are nearly there!

Run the installation program of the threads again and you will find out that you have a working copy of threads for you to experiment with very quickly.

These three programs have a plethora of features that you will soon discover on your own by investigating and taking logical steps. However you might need to do all in one with no hassle for you to download this and that and then tweak this program so that the other one can work.

Don't worry. Help is at hand. Go to http://www.bigapache.org. This is a project that combines tlatest versions of apache, mysql, php, jboss and perl in one downloadable package. It also includes the Mercury Mail server but you can skip this for the time being.

Installation and setup is really straight forward and all you have to do is decide which modules to install (leave Mercury out) and where to install them. The installation program will contact the download sites and download each component for you and set it up as needed. The beauty of this distribution is that it is all preconfigured for you and it will save you time until you get your bearings straight with the operation of Apache/PHP/MySQL and .threads.

For IIS information there is a plethora of articles on the Internet and also on the http://msdn.microsoft.com

Good luck!


Nikos
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thanks.

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
While having a looksy around in which forum to post this, I saw this topic.

It's kinda old, so the question is, is there anything new and improved I have to take in considiration?

I want to have a copy of ubb.threads running on my local windows xp machine. I guess that would aid development instead of constantly uploading to the testsite. Plus I could run tests with a backup of the actual live board.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I use Uniform Server for my local test machine; it's an all in one solution for your windows machine that comes with Apache2, PHP5, MySQL5, Perl, PHPMyAdmin, anything you could really need...



UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
okay, cool, was looking for an all-in-one solution smile

Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
There are a ton, I've tried out several and keep coming back to Uniform Server hehe...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Will this work pretty okay for a production server?

I'm not in need for a super duper server, but we do have a 1 gb connection at work, and I'd love to put something online for some basic webhosting.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
It'll work fine for production from what I've experinacned.

With some products they state not to use their stuff (not US) in production, but with US ive had no problems with anything


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
i prefer wamp wink

Linky Poo

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I tried WAMP and wasn't impressed at all, I tried to create a virtual directory which displayed content on my removable drive for my camera, but it just wouldn't take... no matter what i tried... Yet i loaded up US and first try worked peachy...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
well, you didn't know how to do it then wink

it's easy peasy and httpd.conf is no diff than any normal apache with regard to vd's, which would makes sense, since it really is apache after all.

diff strokes, i guess.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Lol I know how to hack apache's config, WAMP is insane with how it wants things formatted to work sane... Yet in US I can do it as I've done in *nix millions of times and have it respect it with little to no problems...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
i don't recal my having to 'hack' httpd.conf. in any apache install, i just open my editor and do the deed with httpd.conf.

now if you are using wizards to do that for you, then ok. but here i thought you were a cmd line sorta guy.

go figure.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
by "hack" i mean opening the file by hand and modifying it.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
wow, i've been a hacker all my life eek

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Originally Posted by sirdude
wow, i've been a hacker all my life eek
UBBDev aka The Code Hackers Hangout wink...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Originally Posted by sirdude
wow, i've been a hacker all my life eek


Me not, I started out as cracker smile

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
you still are a cracker wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
But I don't crack commodore 64 games anymore smile

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
i have a commodore 2001 sitting in my guest room on the bed gathering dust... was going to sell it but I'm unsure about if anyone would buy it, especially since it needs some TLC and some electronic work :x


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
I threw all my c64 stuff in the garbage 2 months ago. It was just collecting dust. I live at this place for 10 years, and I never got it out anymore.

The trashbin didn't say thank you, but I am pretty sure he or she was happy with it smile Happier then me smile

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Psh, if it worked, i'd have asked for it :X... I love antiques hehe


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Don't know if it worked, been in the place I put it for atleast 10 years just collecting dust, and it wasn't exactly used before I put it there smile

I don't collect anymore just out of nostalgic reasons, out with it smile Or did you really want my amber 12" monitor? laugh

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
lol, i have one of those in my garage already thanks wink...

you know those old mac's that schools had in the early 90's? have one of those in the garage too lol...

Then a ton of old pc's and old servers (I actually bought the entire set of 4 servers that the school district used to use several years back, though never did anything with them)


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
ehr, this is a topic about home developement. Not home storage of stuff what might, once, years ago, decades ago, could add up 1 and 1 in a blazing 40 minute time frame smile

Oh well, it is always hard to part with that old stuff, but I'm getting better at it. Gonna throw some more old stuff away maybe soon smile


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)