一、mac修改host
sudo vi /etc/hosts
例子
192.168.1.139 youying.videozhishi.com192.168.1.139 shiliantong.videozhishi.com
二、scp操作
scp -r ./dist root@124.70.8.196:/var/www/vca/slt-ecm
三、mac Homebrew安装及换源
1、卸载之前安装的 Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
2、安装新的 Homebrew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
3、选择中科大下载源
4、根据提示运行 source 命令
source /Users/chenqi/.zprofile
5、查看brew版本信息
brew -v//Homebrew 3.1.3-67-gafbe0e8//Homebrew/homebrew-core (git revision e997d9f5a0; last commit 2021-04-23)
