How to execute app DVD through Terminal of recovery flash drive?
OS X installers downloaded from the MacAppStore before February 14, 2016 are no longer functional due to Apple's Worldwide Developer Certificate expiration.

during installation you have to set your system's clock prior to that date, with the date command, for example:

date 1111111115 


and then install normally your OS X lion version on a freshly erased HD

-

to get a functional lion usb installer, just restore (with Disk Utility) InstallESD.dmg on a usb stick or burn it on a dvd

the file is inside the app bundle "Install Mac OS X Lion.app" -&gt; Content -&gt; SharedSupport