How to download macOS High Sierra with Terminal?.General information on macOS High Sierra 10.13.6.Step 4: Download macOS High Sierra through the Mac App Store link.ĭon’t worry, MAS will fetch the package files from localhost and launch the installer (“.app”) file once the packages have been processed. Your Internet bandwidth is not being used. This is because the file is being downloaded through localhost. You should notice a very high speed which is much higher than the speed of your Internet connection. To verify the setup, open any of the package (.pkg or pkg) URLs in your browser and check the download speed as it downloads the package. Leave the Terminal window open to keep the localhost server running until the process is completed. The current directory (macos_local) is now hosted on localhost. Provide the admin password and click on Allow in the subsequent message prompt. With macos_local as the present working directory in Terminal, execute the following command: “ sudo python -m SimpleHTTPServer 80”.Click on Authenticate when prompted, and provide the system admin password. Place the downloaded package files in their respective relative location (as per their URLs) within the macos_local folder on the Desktop.pkg files, inside the macos_local folder (Provide the admin password when requested): “ sudo mkdir -p. Enter the following command to create the relative path for the.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.
0 Comments
Leave a Reply. |