wangjiawei196 发表于 2023-8-10 18:54

各位大佬,屏蔽更新怎么取消?

以前别人给安装的,说啥hosts里屏蔽的,现在文件找到了,不知道怎么修改,恢复正常更新。
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.Do not change this entry.
##
127.0.0.1        localhost
255.255.255.255        broadcasthost
::1             localhost
# Added by Docker Desktop
# To allow the same kube context to work on the host and the container:
127.0.0.1 kubernetes.docker.internal
# End of section

# macOS �����
127.0.0.1      gg.apple.com
127.0.0.1      gnf-mdn.apple.com
127.0.0.1      gnf-mr.apple.com
127.0.0.1      ig.apple.com
127.0.0.1      mesu.apple.com
127.0.0.1      skl.apple.com
127.0.0.1      swcdn.apple.com
127.0.0.1      swdist.apple.com
127.0.0.1      swdownload.apple.com
127.0.0.1      swpost.apple.com
127.0.0.1      swscan.apple.com
127.0.0.1      updates-http.cdn-apple.com
127.0.0.1      updates.apple.com
127.0.0.1      updates.cdn-apple.com
127.0.0.1      xp.apple.com
10.211.55.19           macos.shared macos #prl_hostonly shared

安静的青春 发表于 2023-8-10 23:17

hosts文件在 /etc/hosts 懂vim的话可以直接sudo vim /etc/hosts
不懂的话 访达-前往-前往文件夹-/etc-确认 就可以看到hosts文件,这里编辑要不要权限问题我不清楚,因为我是用vim命令行的

pengsanhong 发表于 2023-8-11 12:16

直接删除hosts
页: [1]
查看完整版本: 各位大佬,屏蔽更新怎么取消?