Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac: OSX FAQ #187

Open
Tracked by #346 ...
hhstore opened this issue Apr 11, 2020 · 5 comments
Open
Tracked by #346 ...

Mac: OSX FAQ #187

hhstore opened this issue Apr 11, 2020 · 5 comments

Comments

@hhstore
Copy link
Owner

hhstore commented Apr 11, 2020

related:

@hhstore
Copy link
Owner Author

hhstore commented Apr 11, 2020

FAQ:

  • MAC 使用问题 FAQ 解答列表.

OSX 基础配置:

1. 关闭 SIP.

  • 重装系统后, 默认开启了 SIP, SIP 是对第三方渠道安装的 app 做安全检查.
  • 会导致每次打开 app, 都要检查. 除了导致启动慢, 会导致 磁盘 IO 非常卡.
  • 各种开发工具, 都会出现 磁盘 IO 不正常现象. 都是这个 SIP 导致的.
  • 因为这些开发工具, 都不是Appstore 下载的.
  • 严重拖慢 SSD 硬盘的响应. 影响正常使用.
  • 对专业用户, 简直是脑瘫一样的功能. 对于小白用户, 压根不会从第三方渠道装 app, 不知道设计这傻叼功能, 目标用户群是谁? 专业用户知道自己在干什么, 不需要你来保护, 小白压根不存在这个问题.
  • WTF.
  • https://sspai.com/post/55066

2. 磁盘清理:

@hhstore
Copy link
Owner Author

hhstore commented Apr 11, 2020

Q1: 每次打开第三方途径安装的 app, 都要验证一遍.

  • mac 每次打开 app, 都先弹出如下提示信息:

  • 验证:
    image

  • 再次确认:

image

  • 不胜其烦.

google 关键词:

turn off SIP
mac  Verifying app at bootstrap

  • 解决办法: 禁用 SIP(System Integrity Protection)

fix:

  • 方法1: 单个 app 认证, 需要逐个 app 去处理, 太沙雕.

sudo spctl --master-disable


# 命令行: 输入如下: 把 xxx 替换成你要赋给权限的 app 路径(把 app 拖拽到终端上)

sudo xattr -d com.apple.quarantine  /Applications/xxxx.app


  • 方法2: 禁用 SIP, 一劳永逸:

重启按住command + R 键进入recovery模式,打开终端,才能执行,执行效果如下,重启验证机器。

csrutil status

# 禁用: 实际开机后, 执行会报错. 
# 需要重启进入 recovery 模式后, 打开终端执行: 
csrutil disable



-> % csrutil status
System Integrity Protection status: enabled.

-> % csrutil disable
csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS.



image

1. Turn off your Mac (Apple > Shut Down).
2. Hold down Command-R and press the Power button. Keep holding Command-R until the Apple logo appears.
3. Wait for OS X to boot into the OS X Utilities window.
4. Choose Utilities > Terminal.
5. Enter csrutil disable.
6. Enter reboot.

ref:

@hhstore
Copy link
Owner Author

hhstore commented Apr 25, 2020

fix path finder 9 设置:


~/Library/ApplicationSupport/Path Finder/Settings

rm settings9-*

image

配置 组件窗口:

  • 添加组件:

- 应用设置 -> 窗口 -> 模块

image

@hhstore
Copy link
Owner Author

hhstore commented Oct 8, 2020

mac time machine 备份步骤:

mac time machine 恢复步骤:

mac time machine 恢复出错:

@hhstore
Copy link
Owner Author

hhstore commented Dec 17, 2021

macOS U盘安装工具制作:

命令行: 制作安装 U 盘

  • U 盘: 空间 >13G
# 替换: MyVolume 为 U盘名称
sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume

image

重装流程:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant