1. 关闭系统 SIP
https://zhuanlan.zhihu.com/p/343151907
执行命令前需要关闭SIP(系统完整性保护),具体做法是:
进入恢复模式(开机时按住 command+R 键),在右上角打开系统终端,输入 csrutil disable(禁用)命令,在开启hidpi后可重新使用命令 csrutil enable (开启)。具体可参考,>>传送门
https://zhuanlan.zhihu.com/p/343151907
执行命令前需要关闭SIP(系统完整性保护),具体做法是:
进入恢复模式(开机时按住 command+R 键),在右上角打开系统终端,输入 csrutil disable(禁用)命令,在开启hidpi后可重新使用命令 csrutil enable (开启)。具体可参考,>>传送门
config.plist
文件NVRAM
-> ADD
-> 7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args
参数,在最末尾添加 -v
SHIFT
button. This will display you grub
containing a list of kernels and recovery optionsSHIFT
按键。grub
。由于一些原因,Chrome 浏览器的官方拓展下载中心也是无法访问的,好在有一些镜像服务网站,只需要输入名称或者地址就可以代为下载了,比如:
https://crxextractor.com
https://www.crx4chrome.com
https://yurl.sinaapp.com/crx.php
https://yurl.sinaapp.com/crx2.php
telnet 命令:telnet 192.168.1.1
telnet 账号密码:telnetadmin / telnetadmin
telecomadmin
nE7jA%5m
telnet密码
telnetadmin / telnetadmin
网络
->静态路由
页面目标网段
,IPv4子网掩码
,IPv4网关
,网络
->防火墙
->通讯规则
页面名称
,匹配规则
,动作
1 |
|
重要提示
:避免使用登录和注销脚本的原因有很多:Important
: There are numerous reasons to avoid using login and logout scripts:
- 登录和注销脚本是一种不推荐使用的技术。在大多数情况下,您应该改用launchd作业,如创建启动守护程序和代理中所述。
- Login and logout scripts are a deprecated technology. In most cases, you should use launchd jobs instead, as described inCreating Launch Daemons and Agents.
- 登录和注销脚本以 root 身份运行,这存在安全风险。
- Login and logout scripts are run as root, which presents a security risk.
- 一次只能安装每个脚本中的一个。它们适用于系统管理员;应用程序开发人员不应在已发布的软件中使用它们。
- Only one of each script can be installed at a time. They are intended for system administrators; application developers should not use them in released software.
博主最近遇到一种情况,从服务器拷贝了一份数据库在宿主机Mysql服务器上,想要用本地的数据库测试自己的代码正确性,但是项目程序都是靠docker一键部署的,于是必定要在docker容器里访问到本地的数据库。在探索中遇到了问题并得到了解决。