Want to Setup a Web Server in Under an Half an Hour?
Tuesday, January 16th, 2007I’m taking a class for the hell of it on web development and first day in we find it’s going to be taught by downloading and using XAMPP, which is an Apache Distribution of just about everything you’d need to host your own site. It setups an Apache web server with PHP, MySQL, SQLite, Perl and a good deal of other useful adds for ones website. This is ideal if you’re setting up a website on your home box.
It is fairly straightforward on how to set it up. Instructions can be found at the download site on starting up the Apache and MySQL database. It only takes about 7 steps to get a web site up and running.
Here are the instructions Prof. Batzinger gave the class to follow.
Running XAMPPlite for the first time
- Download XAMPPlite (ZIP version) from http://www.xampp.org
- Unzip the XAMPPlite folder on to your flash drive
- Open a DOS window and make the XAMPPlite folder your working directory
- Run xampp-portcheck and close any applications that are using ports 80, and 3306
- Run setup_xampp to reconfigure the server for your drive
- Run xampp_start to start the service
- Use FireFox or IExplorer to browse the server at http://localhost
Shutting down XAMPPlite
- Run xampp_stop to halt the service
- Close the DOS windows
- Unmount the drive from your computer
Restarting XAMPPlite
- Run xampp-portcheck and close any applications that are using ports 80, and 3306
- Run setup-xampp to reconfigure the server for your drive
- Run xampp_start to start the service
- Use FireFox or IExplorer to browse the server at http://localhost
I have my own MySQL and Apache server running on my Suse box in the livingroom so I haven’t taken the time to get this to work on Linux but if you’re interested in downloading the distribution for linux just go to: LAMPP, XAMPP for Linux.