Go to the newly created folder by typing “ cd macos_local” and hitting return.Type “ mkdir macos_local” and hit return to create the root directory of the same name on Desktop.Type “ cd Desktop” on the command line and hit return to enter the Desktop folder.Open Terminal from the Launchpad or Applications list.The below instructions will guide you through the set up process. Then, we’ll use macOS’ buit-in SimpleHTTP server convert the folder into a web server directory. Once the relative path has been created, we’ll configure the localhost server to point to the “macos_local” directory on Desktop. In this example, we’ll create a folder named “macos_local” on Desktop, and replicate the directory structure of the package URLs under the same. Step 3: Place the package files in a certain relative path from the localhost root, so as to mimic the structure of their respective download URLs. In that case, use the “sudo killall -HUP mDNSResponder” command to flush DNS cache. Note: Sometimes, you might need to flush the DNS cache for the changes to take effect. Press control + X (^X), then Y and hit return to save the file and return to Terminal prompt.įrom now on, any request issued for the particular root domain () from the Mac will be directed to localhost.Append the following line to the end of the file: “ 127.0.0.1 ”.The hosts file is now open in editable mode within the Terminal window. Provide the System Password when prompted.Type in the following command: “sudo nano /etc/hosts”.Launch Terminal on your Mac from Launchpad or Applications list.The below instructions will guide you to modify the hosts file as required. To do this, you need to edit the hosts file on Mac to point the root domain of the download URLs (“”) to localhost (“127.0.0.1”). Step 2: Configure your Mac so that MAS looks for the macOS packages locally instead of from the Apple server. macOS High Sierra InstallAssistantAuto.pkg file download URL:.macOS High Sierra RecoveryHDMetaDmg.pkg file download URL:.macOS High Sierra InstallESDDmg.pkg file download URL:.When the new owner starts up the Mac, they can use their own information to complete the setup process.Step 1: Download the three “.pkg” files from the respective URLs given below. If you’re selling, trading in or giving away your Mac, close the setup assistant without completing the setup process, then click Shut Down. When installation has completed, your Mac may start up to a setup assistant.Your Mac may restart and show a progress bar several times, and the screen may be empty for minutes at a time. Allow installation to complete without putting your Mac to sleep or closing its lid.If the installer can't see your disk, or it says that it can't install on your computer or volume, you may need to erase your disk first.If the installer offers the choice between installing on Macintosh HD or Macintosh HD – Data, choose Macintosh HD.If the installer asks to unlock your disk, enter the password that you use to log in to your Mac.Click Continue, then follow the onscreen instructions.When you see a window with the option to reinstall macOS, this means your Mac has started up from Recovery. Then click Next and enter that user’s administrator password, which is the password they use to log in to the Mac. If you’re asked to select a user you know the password for, select the appropriate user.To select a Wi-Fi network, use the Wi-Fi menu in the top right-hand corner of the screen. You may be asked to select a Wi-Fi network or attach a network cable.Keep holding the keys until you see an Apple logo or spinning globe.Shift-Option-Command-R: when you press and hold these four keys during the startup process, macOS Recovery may offer the macOS that came with your Mac, or the closest version still available.Option-Command-R: when you press and hold these three keys during the startup process, macOS Recovery may offer the latest macOS that is compatible with your Mac.Command-R: when you press and hold these two keys during the startup process, macOS Recovery will offer the current version of the most recently installed macOS. ![]() ![]() If none of them work, review the guidelines for using startup key combinations. Immediately after releasing the power button, press and hold one of these key combinations.Press and release the power button to turn on your Mac.If you're not using a Mac with Apple silicon, you're using an Intel-based Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |