Installing Drupal 7 on OS X Mountain Lion 10.8 Quickly and Easily

To get Drupal 7 quick and easily installed on top of Mac OS X 10.8 Mountain Lion for development or just to learn the software, this guide is intended for those who just want to get the CMS system without worrying too much about Apache, MySQL and PHP or launching the Terminal.

Download the Drupal AMP Stack

This contains all you need to get you going - Drupal 7.22, WebServer (Apache) and Database (MySQL)

Download The Software

bitnami drupal install osx mountain ion

Get latest bundled installer here Drupal 7.22 version this will download the compressed zip to your download folder, decompress and leave the installer 'bitnami-drupal-7.22-0-osx-x86-installer'.

bitnami drupal install download safari

 

drupal downloaded in finder osx

 

 

OSX 10.8 Mountain Lion Install Issue

bitnami-install-security-issue mountain lion

Mountain Lion has extra security installed by default on installing non-Apple and non-App Store Applications, if you get the error above on the installation you need to adjust a System Preference. (OS X 10.7 Lion does not have this issue).

 

System Preferences > General > Allow Applications Downloaded from: Anywhere (as below) - or just control-click 'Open' the file with contextual menu.

bitnami-installer-fix mountain lion

 

Install The Software

install drupal on osx mountain lion
Run the installer

 

 

drupal installer amp stack on osx

 

 

select drupal and phpmyadmin
Make sure both packages are checked

 

 

drupal location folder
Leave the default location in the Applications folder to easily find

 

 

drupal account logon
Set a login and password - this will set username and password for Drupal admin account (default is 'user') but only password for phpMyAdmin (the username is root)

 

 

msql port number
Leave any port numbers as the suggested ones

 

drupal site name
Name the Drupal Site what you want

 

installation begins of drupal required files
Install the files

 

launch the drupal site
Launch the Drupal application

 

Where Stuff Is

After you launch the application your browser will launch and you will be brought to the local Bitnami home location

home drupal page stack
The default home URL is http://127.0.0.1:8080 (or your computer name in the bonjour format with a .local) Click on the Drupal icon to go to Drupal.

 

drupal logon page
The default home for your Drupal site is http://127.0.0.1:8080/drupal
The user is 'user' and the password is what you set earlier.

That's It! Login and learn Drupal.

 

 

Stuff About the Database

phpmyadmin homepage
The default home for your phpMyAdmin is http://127.0.0.1:8080/phpmyadmin - the user is 'root' and the password is what you set earlier.
You don't need to go here unless you want to.

 

phpmyadmin home page
On login to phpmyadmin you have access to the backend MySQL databases

 

Stuff About The WebServer and the Database

manage mysql and apache mountain lion
All the files and software needed to make the installation are all filed in /Applications/drupal-7.22-0 with the most important being  'manager-osx' if something isn't working check here to see if your websharing and database tools are running, which are Apache and MySQL - start the servers if required.

 

check servers if running

 

To Remove the Bitnami Stack and Drupal Installation

Run the /Applications/drupal-7.22-0/uninstall application

 

Troubleshooting Port Numbers

port numbers alternative

The Drupal/Bitnami Stack uses port 8080 for websharing - if you are already using that port you are prompted for an alternative port number as it won't be able to bind to the default port, this also applies to SSL which uses 8443 and MySQL which uses port 3306.

If you want to install Drupal manually on a workstation that already has an AMP stack try this method.

Tags: