How To Install Lion On Mac

broken image


The machine specific version of Lion for your Mac will be installed. IF 4) When the install is complete, you can open the App Store and create your own account. How to Make a Lion Bootable USB flash drive shows how to do this for Lion, but is directly applicable to Mountain Lion. Bootable USB Installers for OS X Mavericks, Yosemite, El Capitan, and Sierra First, review this introductory article: Create a bootable installer for macOS.

  1. How To Install Lion On Macbook Pro
  2. How To Install Mac Os X Lion On Qemu
  3. Can't Reinstall Mac OS X Lion On My M… - Apple Community

If you want to install MySQL on Lion it's pretty easy, just head on over and download the DMG from mysql.com (for lion you'll need the 64bit DMG Archive).
Then double click on mysql package to install it, then on MySQLStartupitem.pkg, and then on the MySQL.prefPane. Once that's done start it up via system prefs.

Finally, you will need to add ‘/usr/local/mysql/bin' to your path environment. To do this, open up terminal and type in:

Or if you have textmate you can use:

Then just update the export PATH if there's one already there, my file looks like this:

export PATH='$HOME/.rbenv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH'
eval '$(rbenv init -)'
PS1='[W:]$ '
alias ll='ls -lahG'
alias irbs='irb --simple-prompt'
alias rake='bundle exec rake'

Then save it. Rbenv already created the PATH so I just updated it. The PS1 line tells terminal to show the directory you are currently in as the prompt (you can always use ‘pwd' to get the full path to working directory if you forget where you are). I've also added the alias to ll, which shows you all your files in the directory (including hidden files) with permissions, when you type in ll in terminal. The alias, irbs, will give you irb –simple-prompt, and the last one for rake, will use bundler.

If you want your terminal prompt to be in red, use the following instead:

Close the terminal window and restart it for changes to take effect, and now you should be able to type ‘mysql' and get to MySQL.

Set root password for MySQL

It's good practise to set your root password, here's how:

mysql -u root
SET PASSWORD FOR root@localhost=PASSWORD('your_password_here');
FLUSH PRIVILEGES;

Install MySQL gem for Ruby

If you're using Ruby, simply open a terminal window and:

Enter your user password (not your mysql one) when asked.

If you get an ‘Library not loaded: libmysqlclient.18.dylib' when doing your first rake db:migrate, you will need to add this to your .bash_profile

export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH

(Then simply close and open a new terminal window)

If that doesn't work try running this in your terminal:

sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib

All done 🙂

This is what my .bash_profile looks like btw, I'll probably keep it updated in this post given I mention it above:

export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH
export PATH='$HOME/.rbenv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH'
eval '$(rbenv init -)'
PS1='[W]$ '
alias ll='ls -lahG'
alias irbs='irb --simple-prompt'
alias rake='bundle exec rake'
alias bec='bundle exec cucumber'
alias ber='bundle exec spec'
alias pow='touch tmp/restart.txt'

Why not give PostgreSQL a go?

Since writing this guide I have moved to Postgres – it is a much better relational database and includes many features such as a nosql option, queueing, transactions plus lots more. It is also very fast and very stable – and now seems to be the database of choice for Rails developers. You can install easily by brew install postgresql (you can install it in addition to MySQL btw – so you don't have to choose one or the other).

OS X 10.8 'Mountain Lion' Q&A - Published September 9, 2012

To be notified of new Q&As, sign up for EveryMac.com's bimonthly email list.

If you find this page useful, please Bookmark & Share it. Thank you.



How can I upgrade or 'hack' an incompatible Intel Mac to run OS X 10.8 'Mountain Lion'? Is it even possible?

As noted elsewhere within EveryMac.com's Mountain Lion Q&A, Mountain Lion entirely drops support for many 'older' Macs, some of which were sold as new only a little over three years ago.

Some users may view this increasingly short support timeline unimportant, as they wish to purchase a new computer or a newer computer every couple of years and have little need for 'legacy' software or document support. Others may be quite happy with the computer they have -- even if it is a few years old -- and are not interested in upgrading to Mountain Lion, regardless.

However, for those who would like to run the latest operating system and have a Mac officially capable of running Lion, but not Mountain Lion, there are obstacles to overcome.

Mountain Lion Installation Obstacles

There are three issues that keep these unsupported Macs from running Mountain Lion:

  1. Although 32-bit EFIs were supported in early builds, Apple removed support for systems that have a 32-bit EFI during the development process and only 64-bit EFIs are supported in the final release.
  2. Even for Macs that have a 64-bit EFI, Apple does not provide drivers for Intel GMA 950 or X3100 graphics amongst several other graphics cards.
  3. The installer performs an identification check and refuses to install on an unsupported system.

Installing Mountain Lion on an unsupported Mac involves defeating these issues. Where there is a challenge, it is a safe bet that hardworking hackers will rise to the occasion.

However, please note that any attempt to install or use an unsupported operating system could wipe out all of your data and/or cause other software or hardware problems.

Do not attempt to install Mountain Lion on an unsupported Mac if it is 'mission critical' or data is important. Any hacks are performed at your own risk. Be absolutely sure to backup everything before proceeding with any experimental hacks (or before proceeding with any official operating system upgrades, for that matter).

How To Install Lion On Macbook Pro

Upgrades & Hack Options for the Original Mac Pro

Most of the attention has focused on the original Mac Pro -- the Mac Pro 'Quad Core' 2.0 (Original), 'Quad Core' 2.66 (Original), 'Quad Core' 3.0 (Original), and 'Eight Core' 3.0 (2,1) -- as these models are quite powerful and can be substantially upgraded.

Although the process of installing Mountain Lion on these Macs is complex, and involves a hardware upgrade of the graphics card, a second hard drive, and an assortment of 'Hackintosh' tactics, the diligent hacker 'Jabbawok' prepared a straightforward tutorial (archive copy, original no longer online).

Software Hack Options for Other Intel Macs

The equally diligent hacker 'hackerwayne' has provided a detailed tutorial to install Mountain Lion on other unsupported Macs, including custom kexts (drivers) from hackers 'kylegray' and 'trunkz' for partial support of GMA 950 and X3100 graphics.

Should you be interested in installing Mountain Lion on any of the other unsupported Macs, be absolutely sure to pay close attention to the 'What works, what doesn't' section in the tutorial.

In particular, note that some systems have significant RAM capacity limitations that are not an issue running an earlier version of the operating system or have issues with sound and graphics, as is common for Hackintosh systems. It is very important to understand these limitations.

Mountain Lion Hacks Summary

Ultimately, it is quite possible to install OS X Mountain Lion on many Macs that Apple no longer supports, although as is often the case for 'hacks,' these systems may not be fully functional and many users with these older Macs likely would be better off sticking with Snow Leopard or Lion or alternately switching to Windows.

At least some of the Macs that are not supported running Mountain Lion likely could run the operating system without difficulty had Apple simply not removed support for 32-bit EFIs as well as written graphics drivers to support the hardware. In an odd twist of fate, Microsoft provides everything needed to natively run Windows 8 on these Macs.

It's certainly a strange world where Microsoft provides better support for older Macs than Apple does.

How to install lion on mac from usb

Permalink | E-mail a Friend | Bookmark & Share | Report an Error/Typo


Suggest a New Q&A | Sign Up for Bimonthly Site Update Notices


<< OS X 10.8 'Mountain Lion' Q&A (Main)

How To Install Mac Os X Lion On Qemu


Can't Reinstall Mac OS X Lion On My M… - Apple Community

EveryMac.com is provided 'as is' without warranty of any kind whatsoever. EveryMac.com, and the author thereof, shall not be held responsible or liable, under any circumstances, for any damages resulting from the use or inability to use the information within. For complete disclaimer and copyright information please read and understand the Terms of Use and the Privacy Policy before using EveryMac.com. Use of any content or images without expressed permission is not allowed, although links to any page are welcomed and appreciated.





broken image