Setting up LAMP and over one million other books are available for Amazon Kindle. Learn more
Only 2 left in stock (more on the way).
Ships from and sold by
Gift-wrap available.
Setting up LAMP: Getting ... has been added to your Cart
+ CDN$ 6.49 shipping
Used: Good | Details
Condition: Used: Good
Comment: Ships from the USA. Please allow 14-21 business days for delivery. Book has some visible wear on the binding, cover, pages. Biggest little used bookstore in the world.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Setting up LAMP: Getting Linux, Apache, MySQL, and PHP Working Together Paperback – Sep 3 2004

See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
"Please retry"
CDN$ 37.99
CDN$ 25.48 CDN$ 5.96 First Novel Award - 6 Canadian Novels Make the Shortlist

Product Details

Product Description

From the Back Cover

You could think of Setting Up LAMP as four books in one, but it's actually something much more valuable: a single volume that presents the open-source technologies known collectively as LAMP— Linux, Apache, MySQL, and PHP—as tightly dovetailed components of today’s most affordable and effective platform for building dynamic web-based applications.

Each technology has uses outside of this context, of course, but within it they form something greater than the sum of their parts. This book shows you how to take full advantage of this power, walking you through all the steps required to lay your Linux foundation, install and configure your Apache web server, and then begin using PHP to access content stored in MySQL. Here are a few of the specific topics you’ll find covered inside:
  • Installing and configuring qmail with support for IMAP, POP3, SMTP, virtual domains, spam filtering, and antivirus
  • Managing system users and groups
  • Configuring your network
  • Creating a custom firewall script using IP tables
  • Recognizing when a system is in distress
  • Handling MySQL database replication
  • Configuring virtual domains
  • Writing a basic PHP script that integrates with MySQL

If you're new to all of this, you'll quickly get to where you need to be to start developing and deploying the higher-level pieces of your web application. Even if you have experience with one or all of these technologies, this book—including its quick-start installation appendix—is a resource you’ll want close by whenever you’re setting up or fine-tuning your LAMP system.

About the Author

Eric Rosebrook is the lead developer and owner of PHP Freaks (, Linux Forum (, Apache Freaks (, and MySQL Freaks (, communities of developers helping one another learn and troubleshoot open-source solutions. He has been developing websites for a decade, relying heavily on HTML, ASP, JSP, JavaScript, ColdFusion, Perl and PHP. He is the author of Creating Interactive Websites with PHP and Web Services (Sybex, 2004).

Inside This Book (Learn More)
First Sentence
If you are a webmaster, a web developer, or a company that is interested in running your own web server, look no further: LAMP is here. Read the first page
Explore More
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on (beta) 24 reviews
31 of 32 people found the following review helpful
Easy read, but room for improvement Sept. 7 2005
By Gadget Geek - Published on
Format: Paperback Verified Purchase
This book was most certainly an easy read, giving step-by-step explanations and instructions for setting up LAMP, that is no where near as intimidating as all the other resources out there. I was quite pleased with it! As you can see by the other reviews, this book has hit the mark!

However, my complaint about the book is that since it is geared more towards newbies to the Linux world, the step-by-step instructions are not completely accurate. Those that follow the book word-for-word will find themselves stuck unless they have a basic working knowledge of Unix/Linux, or know someone that does.

This book uses Fedora as the linux-distribution.

Despite my one complaint, this is one of the easier to read books out there, and I would recommend for anyone new to the Linux world wanting to set up a web server.

Edit (9/27/05): If you prefer to take an easier route than this guide, search google for or XAMPP. This book will teach you different processes, and go through reasons why certain things are done. While the information is useful, if you do not wish to go that in-depth into the subject, and just get a webserver up quickly, try this method. You will not learn all the intricate step-by-step procedures this book will teach you, but you should have LAMP set up within 10 minutes. Hope this information helps! :)
18 of 20 people found the following review helpful
A valuable book for setting up a web and e-mail server Sept. 19 2004
By Kurt Jung - Published on
Format: Paperback
Linux, qmail, PHP, MySQL and Apache form a rewarding and rock-solid combination. Authors Rosebrock and Filson and the good folk at Sybex deserve accolades for conceiving a book directed at just this combination and bringing it to press.

The distinctive feature of this book is just how readable it is. A myriad choices exist when it comes to Linux distributions and server applications for e-mail, database, web and server-side scripting. In each case, the authors summarize the alternatives and, with focused and generally unarguable judgment, choose the one they consider to be best. Without looking back, they then proceed to guide the reader through its essential installation and maintenance. It is clear they strive to make a system that is well integrated. An example of this is their decision to cover Apache 1.3 rather than Apache 2.0. Although they clearly like what they see in the newer branch, for reasons of interoperability with PHP they select Apache 1.3 for their book.

Rosebrock and Filson serve as trustworthy mentors in the whole process of getting a complete installation up and running. They clearly teach from experience and with an appreciation of the frustrations beginning administrators may face. For example, while admitting the vi editor's power, they have the reader use the friendlier editor pico for basic editing.

In addition to covering the main server applications, this book provides a cursory introduction to auxiliary programs like the various MySQL and qmail utilities. A number of network tools such as nmap and traceroute are given quick overviews. For my part, I think the book should contain more discussion of the secure shell client and server and the process of creating and maintaining public and private keys.

"Setting up LAMP" is a well-written, well-targeted book. May it serve as a guide to a whole new generation of administrators who wish to build a complete, fast and robust web and mail server.
10 of 10 people found the following review helpful
Good information but outdated July 11 2007
By terlynn4 - Published on
Format: Paperback
This book was probably great a couple of years ago. It has great step-by-step instructions, and it walks you through things in a very detailed manner.

However, since the versions of all software (and the OS) used in the book have been updated at least a few times since 2004, I ran into several issues. Maybe 10% of all the links are accurate (which you need to install the .rpm files in the way the book tells you to), and when you do find the updated versions of everything, some of the commands the book gives you produce errors. Since the instructions probably worked correctly in 2004, there is no information on what those errors mean or how to fix them.

In short, I'm setting this book aside to find something more recent, and reloading the system I was using to test this with. If you do not have prior experience and a good understanding of how all of these programs work and how to troubleshoot their errors, I would recommend finding a more up-to-date book.
8 of 8 people found the following review helpful
setting up lamp June 22 2008
By Pragmatic - Published on
Format: Paperback
At the moment, don't buy this book. The reason: what is otherwise an excellent book cannot be followed, because the essential steps it takes you through require resources that are not available - ie. the web resources no longer exist. Time is money, and after spending another long day yesterday, running into one dead end after another, one failed work around after another, this book has cost me lots, and I've not achieved anywhere near Setting Up Lamp. The authors/publisher could correct this easily enough, by providing the info on their website. If these issues are corrected, the book is likely to rate differently. Until that time, invest elsewhere.
8 of 8 people found the following review helpful
Great book - got everything working (took a while) Dec 28 2005
By Jim Bowden - Published on
Format: Paperback
I've been working on getting my RedHat Fedora 3 working with LAMP. Finally I sat down and spent some dedicated time with this book and got it working.

apache: apache_1.3.33

mysql: 5.0.2-alpha


This is my environment I setup and it worked! Good step by step instructions and the quick reference steps in the back of the book were excellent.

Highly recommend.