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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |