In this article, I'll show the commands I have been using to set up a fresh Centos server, configured for Apache, MySQL, PHP, Tomcat, Drupal, and Apache Solr. For my article, I used Parallels to create a virtual machine from the Centos 5.6 64bit ISOs I downloaded. To simply this article, all commands are being executed as root, firewall configurations and performance tweaks are not accounted for. Once the distribution is installed, the first thing I do is upgrade all packages. $ yum update Install PHP, Apache, and MySQL
[Update: We've recently posted steps for setting up Ubuntu 12.04 Pangolin for Drupal 7 .] We're frequently setting up servers for development, for staging, for production. I've lately preferred the Debian flavor of Linux, but up until now that had been something of a problem because Debian and Ubuntu did not include the higher-quality php5-gd library, which meant that you either had to compile your own PHP, pull from an alternative source host, or cope with substandard image resizing with limited processing features. But now we have Ubuntu 10.4 LTS "Lucid" and life is good.
Build Your Own Debian/Ubuntu LAMP Server - Quick & Easy Do it Yourself Installation Apache 2 - Linux Web server MySQL 5 - MySQL Database Server PHP4/5 - PHP Scripting Language phpMyAdmin - Web-based database admin software. Note: L inux + A pache + M ySQL + P HP/Perl together commonly known as LAMP Server .