当前位置: 首页 > news >正文

网站建设方案书0/搜索引擎广告投放

网站建设方案书0,搜索引擎广告投放,建设一个有影响力的网站,qq网页版 入口1、Homebrew 简介 官网地址:https://brew.sh Homebrew 是一款Mac OS平台下的软件包管理工具,拥有安装、卸载、更新、查看、搜索等很多实用的功能。 Homebrew 主要有四个部分组成: brew、homebrew-core 、homebrew-bottles、homebrew-cask。 源说明br…

1、Homebrew 简介

官网地址:https://brew.sh

Homebrew 是一款Mac OS平台下的软件包管理工具,拥有安装、卸载、更新、查看、搜索等很多实用的功能。

Homebrew 主要有四个部分组成: brew、homebrew-core 、homebrew-bottles、homebrew-cask。

说明
brewHomebrew 源代码仓库
homebrew-coreHomebrew 核心软件仓库
homebrew-bottlesHomebrew 预编译二进制软件包
homebrew-cask提供 macOS 应用和大型二进制文件

2、安装 Homebrew

下边三种命令任选一条命令执行即可:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)
source /Users/rzm/.zprofile

3、卸载 Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"

4、Homebrew 命令

命令说明
brew -v查看版本
brew -h查看帮助信息
brew help查看帮助信息
brew list列出已安装的软件包
brew update更新 homebrew
brew outdated列出可以更新的软件包
brew upgrade更新所有安装过的软件包
brew upgrade git更新指定的软件包
brew search git查找软件包
brew install git安装软件包
brew remove git卸载软件包
brew info git查看软件包信息
brew deps git列出软件包的依赖关系

5、修改 Homebrew 源

5.1 阿里源

# 查看 brew.git 当前源
$ cd "$(brew --repo)" && git remote -v
origin    https://github.com/Homebrew/brew.git (fetch)
origin    https://github.com/Homebrew/brew.git (push)# 查看 homebrew-core.git 当前源
$ cd "$(brew --repo homebrew/core)" && git remote -v
origin    https://github.com/Homebrew/homebrew-core.git (fetch)
origin    https://github.com/Homebrew/homebrew-core.git (push)# 修改 brew.git 为阿里源
$ git -C "$(brew --repo)" remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git# 修改 homebrew-core.git 为阿里源
$ git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git# zsh 替换 brew bintray 镜像
$ echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles' >> ~/.zshrc
$ source ~/.zshrc# bash 替换 brew bintray 镜像
$ echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles' >> ~/.bash_profile
$ source ~/.bash_profile# 刷新源
$ brew update

5.2 清华源

# 替换各个源
$ git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
$ git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
$ git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git# zsh 替换 brew bintray 镜像
$ echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles' >> ~/.zshrc
$ source ~/.zshrc# bash 替换 brew bintray 镜像
$ echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles' >> ~/.bash_profile
$ source ~/.bash_profile# 刷新源
$ brew update

5.3 中科大源

# 替换各个源
$ git -C "$(brew --repo)" remote set-url origin https://mirrors.ustc.edu.cn/brew.git
$ git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
$ git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git# zsh 替换 brew bintray 镜像
$ echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.zshrc
$ source ~/.zshrc# bash 替换 brew bintray 镜像
$ echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile
$ source ~/.bash_profile# 刷新源
$ brew update

5.4 官方源(重置)

# 重置 brew.git 为官方源
$ git -C "$(brew --repo)" remote set-url origin https://github.com/Homebrew/brew.git# 重置 homebrew-core.git 为官方源
$ git -C "$(brew --repo homebrew/core)" remote set-url origin https://github.com/Homebrew/homebrew-core.git# 重置 homebrew-cask.git 为官方源
$ git -C "$(brew --repo homebrew/cask)" remote set-url origin https://github.com/Homebrew/homebrew-cask# zsh 注释掉 HOMEBREW_BOTTLE_DOMAIN 配置,其实就是加个#,也可用nano
$ vi ~/.zshrc
# export HOMEBREW_BOTTLE_DOMAIN=xxxxxxxxx# bash 注释掉 HOMEBREW_BOTTLE_DOMAIN 配置,其实就是加个#,也可用nano
$ vi ~/.bash_profile
# export HOMEBREW_BOTTLE_DOMAIN=xxxxxxxxx# 刷新源
$ brew update

10、参考资料

  • Mac 下 brew 源切换
  • Mac软件包管理
http://www.jmfq.cn/news/5347315.html

相关文章:

  • 加快公司网站建设/电商平台怎么注册
  • 组织网站建设应该注意什么/百度网站优化方案
  • 广东建设工程中标公示网站/网络推广项目
  • 专注律师微网站建设与律师微信营销6/seo优化是什么意思
  • 企业完善网站建设/怎样做好竞价推广
  • 建站魔方极速网站建设/营销技巧培训ppt
  • 乐都企业网站建设哪家好/网站多少钱
  • 四川人防工程建设网站/百度一下手机版
  • 网站建设后台有哪些东西/小吴seo博客
  • 宜春市住房和城乡建设局网站/小学生收集的新闻10条
  • 潍坊网站建设选聚搜网络好/百度官方网站首页
  • 徐州集团网站建设公司/临沂森工木业有限公司
  • 漳州网站建设哪家好/公司广告推广方案
  • 建设一个小网站需要多少钱/seo外包
  • 道路建设网站/seo单页面优化
  • 网站建设经费预算包括哪些/网站推广计划书
  • 常州网络公司鼎豪网络网站建设/舆情监测系统
  • No酒店网站建设/南宁百度seo公司
  • 零基础网站建设教学培训/淘宝店铺运营推广
  • 诸城网站建设0536s/百度网盘链接
  • 安徽省建设工程质量协会网站/靠谱的广告联盟
  • 站长网站建设/廊坊seo排名收费
  • 南阳建设工程信息网站/长沙快速排名优化
  • 如何加强政府网站建设和管理办法/百度地图推广怎么收费标准
  • 最靠谱的网站建设公司/沈阳seo博客
  • 桥梁建设设计网站/2345网址导航官网下载安装
  • 山东岩海建设资源有限公司网站/电商网站策划
  • 大航母网站建设在哪里/seo测试
  • 运动鞋的网站建设规划书/百度投诉平台在哪里投诉
  • 萧山网站建设靠谱seo/宣传广告