Edit Host for Mac

来源: 2012-04-05 18:19:40 [博客] [旧帖] [给我悄悄话] 本文已被阅读:

Editing the hosts file

Step 1 – Open the Terminal.app

Either by start typing Terminal on the Spotlight, or by going into Applications -> Utilities -> Terminal.

Step 2 – Open the hosts file

Open the hosts by typing on the Terminal that you have just opened:

1 $ sudo nano /private/etc/hosts

Type your user password when prompted.

Step 3 – Edit the hosts file

Add 127.0.0.1 activate.adobe.co

Step 4 – Save the hosts file

Press control-o to save the file.
Press enter on the filename prompt, and control-x to exit the editor.