Server Installation [Sept. 16, 2012, 11:48 p.m.]
Objective
Learn how to install a web server stack.
Concepts
- Operating System
- Web Server
- Database Server
- Hypertext Preprocessor
Installing a web server 'stack'
In order to work with Drupal, you will need to install several baseline components. These components are common to many web hosts, and are free/open source software (meaning you have the freedom to use the software, and inspect/modify it to meet your needs). Depending on your Operating System (OS), you will have a slightly different experience when installing the necessary components.
The specific components we will be using in this course, and which are very common in Drupal development, consist of:
- Apache Web Server
- MySQL Database Engine
- PHP Hypertext Preprocessor
Skip to the section below that matches your chosen OS.
GNU/Linux
Many GNU/Linux systems make it easy to install the necessary components. Depending on your flavor of GNU/Linux, you may have slightly different commands.
Debian/Ubuntu
In a terminal, paste the following command:
sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server phpmyadmin
Macintosh OSX