Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > All Around Tutorials
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 09-15-2009, 04:46 PM
  #1
batterj2
Soldier (Level 11)
 
batterj2's Avatar
 
Join Date: Jan 2005
Location: Sheffield
Posts: 132
iTrader: (0)
batterj2 is on a distinguished road
James Battersby Tutorial 02: Setting Up a Web Server

Disclaimer:
A few of these tutorials feature specific products and opinions. I do not work for any of the mentioned companies and these opinions (although shared by many) are my own. Take them as you will (visit my website for more information on my background).

02: Setting Up a Web Server
There are hundreds of ways to run a web server - some are free and others will cost you all your limbs combined. We'll go for the former and, mostly favourite, setup: WAMP.

What is WAMP?
W Windows This is your operating system.
A Apache This is the actual web server itself. It handles requests and respones and manages other applications running on it.
M MySQL This is a database - it stores data. We will be covering this later.
P PHP This is a web programming language that we will cover later. Its fast, robust and will allow you to connect to the database (amongst other things).

All these technologies are free and the combination is based on the most popular and reliable web server configuration at present, LAMP, where the L stands for Linux.

We could install all these components individually but it can be a bit fiddly for those who don't know what they're doing so that is covered in the advanced topics section. Instead we are going to use WampServer kindly provided by Romain Bourdon who has simplified the whole setup process for us.

How to setup WampServer
  1. Go to http://www.wampserver.com/en/download.php.
  2. Download the latest version (version 2.0 at 13 October 2008).
  3. Run the installation program.
  4. If it comes up with a message about upgrading from WAMP51.x. ignore it and press yes.
  5. You will be presented with the introduction screen. Press Next.
  6. Agree to the license agreement and press Next.
  7. It will then ask you where you want to install WAMP. You can install this anywhere you want but the recommended c:\wamp is good enough.
  8. It will then present you with the options to install icons in Quick Launch and the desktop. These aren't necessary so just leave them unchecked and press Next.
  9. Press Install to install WAMP. This will take a few minutes.
  10. It will probably ask you if you want Firefox to be the default web browser. I would accept as it will (more than likely) be the main development browser anyway.
  11. Accept the new WampServer 2 homepage as it is rather useful.
  12. It will now ask you for mail settings for PHP. If you know your SMTP server fill it in (ask your network provider) and provide any e-mail address you like.
  13. Finally complete the install by pressing Finish.
  14. Open a web browser and visit http://localhost. You should see a page like the one below you are successful and your web server is now set up and running!


Apache (and consequently WampServer) is known as a computer service and by default means that whenever you start your computer, it'll be ready for you so you don't have to worry about starting it yourself.

What Now?
You could start developing now but at present the tools available to you are too basic and would hinder your progress. So now we're going to setup a development environment for you (a.k.a. getting yourself a decent editor).
__________________
James Battersby BSc. (Hons) Artificial Intelligence, www.jamesbattersby.com
Professional Member of the British Computer Society (2005 onwards), ISEB Foundation Certificate in Software Testing (2007)
XHTML, CSS, Javascript, PHP, MySQL, MSSQL, Oracle, Java (J2SE, J2EE (Struts, Spring)), C#, Jasc Paint Shop Pro, Adobe Photoshop, GIMP, Software Testing
batterj2 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 10:06 PM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.