配置文件
dircolors命令查看颜色的配置cd ~回到home目录dircolors -p > .dircolors将颜色配置写入配置文件vi .dircolors编辑配置文件
dircolors 命令查看颜色的配置cd ~ 回到home目录dircolors -p > .dircolors 将颜色配置写入配置文件vi .dircolors 编辑配置文件使用ssh远程连接时中文乱码
问题描述:
在本地Windows系统的Git Bash上使用ssh连接至远程的macOS服务器(Linux同理),中文还是乱码。
第2点的命令只对本次连接有效,下次使用ssh重新连接远程服务器时还是会出现中文乱码。为使之永久生效,可以将上述export命令添加到远程主机(macOS/Linux)的环境变量中。
原因:raw.githubusercontent.com 无法访问
sudo vi /etc/hosts例如填入如下内容:
182.43.124.6 raw.githubusercontent.com mac catalina 通过homebrew 安装 openssl 失败,被嫌弃系统太老,make test 测试不通过
I manually installed openssl@3 with the following commands
注意:brew安装软件时,看他下载的是什么版本,就手动下载什么版本
下载地址:
https://www.openssl.org/source/openssl-3.3.0.tar.gz进入解压的目录,执行命令
sudo rm -rf /usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*}brew updatebrew install node@16