Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Installing BitNami for Mac OS X

From: Installing Apache, MySQL, and PHP

Video: Installing BitNami for Mac OS X

Bitnami maintains an Apache, MySQL and PHP stack for Mac OS 10 called MAMP stack. Then I'll open up terminal.

Installing BitNami for Mac OS X

Bitnami maintains an Apache, MySQL and PHP stack for Mac OS 10 called MAMP stack. It's available from Bitnami.com/stack/MAMP. There are two ways to install this stack. You can get it directly from the Mac App Store. And this is a very simple installation. When you install in this way, you'll always be using Apache on port 8080, not the standard port 80.

If you want the full stack, you should download the installer from this webpage. By default, you'll still be running on port 8080, but I'm going to show you a technique that will let you install with the standard port 80 instead. Also, one of the advantages of this software stack, is that the initial installation lets you install standard PHP frameworks, such as Zen framework Symphony, Code Igniter and more. I've downloaded the DMG file to my desktop and I'm going to double-click to mount the volume.

The volume includes a standard installation process. I'm not going to start it from here. If I do it this way, I'll be working with non-root privileges, and that will result in running Apache on port 8080. In order to run on port 80, I need to start the installer from terminal. To make that a little bit easier, I'll click and drag the installer to my desktop. Then I'll open up terminal. In terminal, I'll change to my desktop folder, with tilde slash desktop.

And then I'll use the sudo command. That's super user do. And then I'll drill down into the contents of the Bitnami AMP application folder. I'll start by typing bit. And I'll press Tab. And terminal will autocomplete the package folder name. Now I'll go downa couple more levels, to Contents/MacOS and then I'll type ins, and press Tab, and then add .sh.

Now here's what I'm doing. I'm running the install builder script as the super user, and that will allow me to bind to port 80. I'll press Return, and type my administrative password, and that will launch the installer application. If you previously worked through the XAMPP installation, this is going to look very familiar. The XAMPP installation and the Bitnami installation share a lot of features. You'll see that the management console looks almost identical, but one of the big differences is that the Bitnami installation lets you install these frameworks.

You don't have to go get separate modules. I'm not going to be using any of these frameworks, so I'm going to uncheck them. That will make the installation go a lot faster. But I'll be sure to include PHP My Admin. At the next screen, I'll select what folder I want to install to and I'll accept the default. I'll click Next again, and I'll type in the root password I want to use. In my mysql database. It has to be at least six characters long. I'll type it twice and click Next again.

On this screen I'll uncheck this option. It would just result in showing me a web page about Bitnami's cloud hosting services. I'll click Next again. And Next again and that launches the installation. It'll take a few minutes to unpack all of the files and then install the entire stack. But once the installation is complete, you'll be ready to do your development and testing on your local system using the Bitnami software stack. When you see this screen the installation is complete.

I'll use the option to launch the MAMP stack selected and click finish, and that will start the servers and launch the management console. The first thing you'll see is the web browser, and if you look at the URL, you should see it displayed without any port information. And that's a confirmation that the installation of Apache, listening on port 80, worked correctly. The management console application is named Manager-OSX. Just like XAMPP, it includes the three tabs labeled Welcome, Manage Servers, and Application log.

On the Manage Servers tab, you can start and stop your servers. And you can try to configure them from here, but you might find it tough to change the ports from this screen. Notice that I'm listening on standard ports because I installed as superuser. You can get to phpMyAdmin from the management console by clicking this button. And you'll get to the login screen. Type in the username which is always root and then the password which you selected during the installation. That should take you to the phpMyAdmin Web Application, where you can create and manage your databases.

You can also get to phpMyAdmin from the MAMP Stack home page. Click on the Applications tab and then click Access. The management console has a button that will take you to the Application folder. This opens the folder where the MAMP stack is installed. This is where you'll find the manager dash OS X application, that's the management console, and the uninstall script. If you installed as superuser, you might find that the uninstall script doesn't work, but you can safely uninstall MAMP Stack by simply dragging the entire folder to the trash.

The Apache 2 folder contains the HT Docs folder. This is your documents home folder. And this is where you should put your HTML image and other web assets. So that's a look at getting started with the Bitnami stack. Again, one of the advantage of this particular AM stack is that it makes it very easy to install popular PHP frameworks at the same time as installing the standard Apache stack. There are also versions of this stack that already have standard web applications included such as WordPress, Drupal, and Joomla and you can find all those on the Bitnami website.

Show transcript

This video is part of

Image for Installing Apache, MySQL, and PHP
Installing Apache, MySQL, and PHP

39 video lessons · 44189 viewers

David Gassner

Expand all | Collapse all
  1. 17m 35s
    1. Welcome
      1m 9s
    2. Understanding Apache, MySQL, and PHP
      7m 12s
    3. Using the exercise files
      1m 7s
    4. What's new in this update
      3m 35s
    5. Choosing a software stack
      4m 32s
  2. 30m 18s
    1. Installing Apache HTTP Server 2.4 on Windows
      6m 51s
    2. Installing PHP 5.5 on Windows
      4m 12s
    3. Starting Apache from the command line
      5m 24s
    4. Installing MySQL on Windows
      7m 24s
    5. Installing phpMyAdmin on Windows
      6m 27s
  3. 44m 5s
    1. Activating Apache on Leopard and Snow Leopard
      3m 35s
    2. Activating Apache on Lion
      5m 9s
    3. Activating Apache on Mountain Lion and Mavericks
      4m 57s
    4. Configuring personal site folders on Mountain Lion and Mavericks
      6m 59s
    5. Activating PHP on Mac OS X
      6m 12s
    6. Installing MySQL on Mac OS X
      3m 59s
    7. Setting the root user password
      2m 28s
    8. Installing phpMyAdmin on Mac OS X
      6m 16s
    9. Uninstalling MySQL on Mac OS X
      4m 30s
  4. 14m 35s
    1. Installing WampServer
      6m 25s
    2. Managing WampServer
      2m 2s
    3. Defining directory aliases through WampServer
      2m 55s
    4. Changing software versions with WampServer add-ons
      3m 13s
  5. 10m 58s
    1. Installing MAMP
      4m 6s
    2. Configuring Apache and MySQL server ports
      1m 57s
    3. Managing MAMP
      4m 55s
  6. 29m 3s
    1. Installing XAMPP for Windows
      10m 0s
    2. Managing XAMPP for Windows
      4m 4s
    3. Managing MySQL security through XAMPP for Windows
      2m 40s
    4. Installing XAMPP for Mac OS X
      6m 14s
    5. Managing XAMPP for Mac OS X
      2m 27s
    6. Managing MySQL security through XAMPP
      3m 38s
  7. 13m 20s
    1. Installing BitNami for Windows
      6m 31s
    2. Installing BitNami for Mac OS X
      6m 49s
  8. 18m 49s
    1. Handling port conflicts with Skype on Windows
      2m 37s
    2. Handling other port conflicts on Windows
      5m 19s
    3. Detecting and handling port conflicts on Mac OS X
      6m 26s
    4. Configuring Apache to work with IPv6 on Windows 8
      4m 27s
  9. 31s
    1. Goodbye

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed Installing Apache, MySQL, and PHP.

Return to your organization's learning portal to continue training, or close this page.

Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?


Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.