LAMP (Linux, Apache, MySQL and PHP) servers are very popular for their ease of use and flexibility. They’re also easy to initiate, because the components are easy to aquire and there’s a lot of documentation available to help with getting started. Read on to find some of the best resources available for creating your own home LAMP server, from installation to maintenance.
Follow these tips for a simpler and easier installation experience.
- Use localhost: If you don’t know your IP address, you can just use localhost, https://localhost:10000/, to access your setup on the machine you’re using, specifically with Webmin.
- Have at least 256MB of RAM available: If you go any lower than 256MB of RAM, you just won’t have enough memory to run your server.
- Avoid using HTTP GET: GET may set you up for problems with search engines and users, so use POST instead.
- Turn off unnecessary services: There are a number of services on most distributions that are just not needed to run a LAMP server.
- Don’t forget to set up a firewall: Protect your LAMP server with a firewall that has strong settings.
- Create a junk database: Give yourself a database for things that don’t need backing up, such as views, caching tables, and session states, and you’ll save yourself time and bandwidth when backing up the stuff that matters.
- Don’t forget to update: Make sure you’ve updated all of your necessary packages before you get started installing your server.
- Consider removing default installations: If you plan to install LAMP from scratch, you’ll want to remove default installations of Apache, MySQL and PHP.
- Check the status of your PHP installation: Point your web browser to http://yourserveripaddress/testphp.php after you’ve set up your PHP installation to make sure everything came out OK.
- Keep all of your database code together: Keep all of your database calls in a single source file if possible so that you can easily modify it later.
- Set up redundant components: Be sure to have a redundant power supply, RAID, and ethernet adapters.
- Be sure to choose manual partitioning: With manual partitioning of your disk, you can create seven partitions to be used for specific functions.
- Don’t forget to set up Wins Support: Make sure that you can access your server from a Windows machine by enabling Wins Support.
- Set up directory password protection: Use .htaccess to set up files in a directory to be protected.
This software is helpful for managing and installing LAMP.
- Ubuntu: Download Ubuntu to get the operating system your server can run on.
- Webmin: Use Webmin to set up a web-based Unix system administration that will allow you to set up user accounts, DNS, file sharing, and more, either from your computer or remotely.
- VPSlink: Get a virtual private server package from this host.
- PuTTy: If you’re accessing your server through SSH, you can use this terminal emulator application to act as a client.
- phpMyAdmin: With this software, you’ll be able to manage your database from the web.
- BastilleLinux: BastilleLinux is recommended for security hardening measures.
- Balance: Use this open source software to load balance for your servers.
- Apache Friends: Use this project’s easy to use LAMP installation for minimal hassles.
- eaccelerator: Use this PHP extension to save on processing and perform page generation.
- VMware: You can set up a virtual machine on your computer with this player.
- VMware Utilities: Add a few bells and whistles to your virtual machine with these utilities.
- DYN-DNS: Use this dynamic DNS service to create an address that others can bookmark and connect to your server with.
- OpenSSH: Use this free SSH connectivity tool for secure access to your console.
- Webalizer: With this web server log file analysis program, you can get detailed usage reports in HTML format.
- psPictureViewer: This tool offers a simple, effective way to present images on a LAMP server.
- XAMPP: Set up this Apache web server that has MySQL, PHP, and Perl pre-installed.
- Samba: The Samba network fileshare tool can be easily accessed.
- Samba Web Administration Tool: Simplify the process of configuring Samba by using this tool.
Here you’ll find a variety of different distributions and approaches to getting started with a LAMP server.
- Ubuntu 8.04 (Hardy Heron) LAMP Server Setup: Here you’ll find out how to install and set up a LAMP server in about the same time as it takes to install the Ubuntu Server Edition.
- The Perfect Server-Ubuntu Gusty Gibbon: This tutorial will show you how to set up the perfect server for what you need it to do.
- How to install a LAMP Server: Visit this wiki entry to get detailed instructions for setting up a LAMP server on NetBSD.
- How-To: Add a LAMP Server to Your Linux Desktop for Development: Alexander Grundner explains how to set up a LAMP server for development testing purposes.
- Ubuntu LAMP Server-Setup Guide with Desktop GUI: Follow this guide to learn how to create an Ubuntu LAMP server.
- LAMP Installation On Ubuntu 6.06 for Linux Noobs: Linux newbies will be able to easily follow this LAMP tutorial.
LAMP Server: This coder explains the process of a recent Ubuntu home server installation.
- Setup LAMP System: Here you’ll find LAMP documentation aimed at RedHat users.
- How to Configure an $80 File Server in 45 Minutes: Here you’ll find out how to set up a LAMP file server in a quick and simple way.
- Ubuntu 7.10 (Gusty Gibbon) LAMP Server Setup: Use this tutorial to set up a LAMP server on the Gusty Gibbon distribution of Ubuntu.
- Installing LAMP Server Using TASKEL: Install an Ubuntu LAMP server with TASKEL by following this tutorial.
- How To: Set Up Ubuntu Linux 6.06 LTS LAMP Server: Here you’ll find an incredibly detailed 4-step guide to setting up Ubuntu Linux.
- Howto: Setup a Debian/Ubuntu LAMP Server: Find out how to do an easy DIY installation with this tutorial.
- Setting Up Your PHP Server Environment Using Linux, Apache, MySQL, and PHP: This tutorial is geared towards Dreamweaver users.
- LAMP Setup: spideR Net offers a customizable guide to setting up a LAMP server.
- Building a LAMP Server with SSL and mod_perl Support: This tutorial offers a few extra touches.
- The Perfect Setup-CentOS: Find out how to set up a CentOS LAMP server in this tutorial.
- How to Set Up LAMP on Ubuntu Desktop Edition: This is a friendly tutorial for creating a LAMP server that also functions as a desktop.
- Ubuntu LAMP Server Guide-Configure Apache, mySQL, and cgi-bin: This tutorial explains how to get LAMP components set up the way you’d like them to be.
- Installing LAMP on Ubuntu for Newbies: Get a newbie-friendly guide to LAMP installation here.
- Set up your own server with Ubuntu 7.10 server edition: This tutorial explains how you can set up an old piece of hardware as a LAMP server using Ubuntu.
- Ubuntu LAMP Server With TorrentFlux in VMware: Follow this tutorial to set up an Ubuntu Server box as a web server and torrent client in VMware.
Use these resources to learn more about installing and using LAMP.
- LAMP on Wikipedia: Check out this Wikipedia article to learn the background and details of LAMP.
- LAMPware: This user community is all about LAMP.
- ApacheMySQLPHP Community Documentation: Turn to this Ubuntu community documentation to get some guidance on setting up a LAMP server.
- Adding New User Accounts to MySQL: This guide explains how you can set up new user accounts in MySQL.
- O’Reilly ONLamp: ONLamp is a great resource for finding LAMP information.
- QuickStudy: LAMP: Learn all about LAMP details in this informative article.
- PHP Documentation: Here you’ll find useful information for making sense of PHP.
- How to Configure Wake on LAN and Broadcast Magic Packets: Find out how you can set up your server to wake on LAN. This is a convenient way to avoid having to physically turn on your server.
- LAMP vs. LAMP: This article compares LAMP using Perl and LAMP using PHP.
- LAMP lights the way in open-source security: Here you’ll find out why LAMP servers are so secure.
- Your LAMP Server GUI: Find out what other server administrators are using as their interface for LAMP.
- LAMP Server Layout: This diagram and explanation offers an easy way to visualize your LAMP server.
- MySQL Documentation: This resource is a great place to start when you’re looking for help with MySQL.
- Hard Drive Size Limitations and Barriers, The Basics: Make better use of the hard drive space you’ve got with this guide.
- Securing the Initial MySQL Accounts: This resource explains how to lock down your initial MySQL accounts.
- Strong Passwords: This guide offers a good look at using strong passwords to protect sensitive information.
- Benchmarking your LAMP server: Find out how well your LAMP server performs by following this tutorial’s method.
- Apache HTTP Server Documentation: Check out this documentation to get all of the little details you need for Apache.
- How to Configure a Low-Cost Load-Balanced LAMP Cluster: This resource will show you how to create a load-sharing cluster that distributes Web requests over a number of different servers.
- MySQLPasswordReset: If you’re having trouble setting up your MySQL password, check out this resource.
- Hardening the TCP/IP stack to SYN attacks: Read this article to beef up security a bit.
- Open source LAMP a beacon to developers: This article explains why LAMP is such a great tool to use.
- Three simple tips for LAMP web site developers: Here you’ll find some common sense tips for developing on a LAMP server.
- Securing your Environment, Part One: Use these LAMP tools to beef up your security.
- Fine Tuning a Linux Apache MySQL PHP (LAMP) Server: Read this resource to learn how to fine tune LAMP for your usage, load, and more.
- LAMP Performance for Dummies: This LAMP user shares his tips for dealing with slow performance.
Use these resources to find good parts for a LAMP server.
- Garage sales: Garage sales are excellent places to find old computers that you can strip for parts or use whole as a server.
- Freecycle: Check out Freecycle, where you can often find old computers that people don’t have a use for anymore.
- Curbside trash: Take a drive around your neighborhood on trash day to find old unwanted computers that your neighbors are throwing away.
- Intechra Outlet: Here you’ll find used and refurbished computer hardware that you can use for a LAMP server.
- Craigslist: Craigslist is a wonderful source for finding free or cheap computer hardware that can be brought back to life.
- eBay: eBay is another great place to find cheap computer hardware.
- Woot: This deal-a-day site often features computer hardware that’s well below market value.
With these books, you’ll have a wealth of LAMP knowledge at your fingertips.
- LAMP Server Setup & Maintenance Essentials: Find out what books a systems administrator uses for LAMP reference.
- Professional LAMP: Linux, Apache, MySQL and PHP Web Development: Find sample scripts, applications, and in-depth discussions in this LAMP reference guide.
- Apache Cookbook: Solutions and Examples for Apache Administrators: Use this cookbook to find common solutions to Apache problems.
- Teach Yourself PHP, MySQL and Apache All in One: This book will help you learn how to use PHP, MySQL, and Apache at once.
- Apache Security: Use this book to make sure you’re running a tightly secured Apache ship.
- A Practical Guide to Ubuntu Linux: Follow this guide to learn more about a popular Linux distribution for LAMP.
- Run Your Own Web Server Using Linux & Apache: Web developers who want to set up a home server will appreciate the information in this book.
- PHP Cookbook: In this cookbook, you’ll find a number of solutions to regularly-faced problems in PHP.
- Linux Bible, 2008 Edition: This book will help you get started with 11 different distributions of Linux.
- Setting up LAMP: Getting Linux, Apache, MySQL, and PHP Working Together: This book offers a single volume that will help you set up a LAMP server of your own.
- Open Source Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP: Here you’ll find a practical guide to LAMP technologies with plenty of useful information.
- Web Database Applications with PHP & MySQL: Follow this guide to learn more about using PHP and MySQL together.
- MySQL Cookbook: In this cookbook, you’ll find out how to set up databases for queries, table manipulation, data formatting, transactions, and much more.
If you enjoyed this article, please bookmark it at del.icio.us »