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

怎么查询网站有没有做网站地图网站宣传营销

怎么查询网站有没有做网站地图,网站宣传营销,网站制作培训课程,淘宝客需要自己做网站吗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.yayakq.cn/news/694445/

相关文章:

  • 惠州网站网站建设网络挣钱
  • 专业制作网站公司吗linux主机上传网站
  • 做任务挣钱的网站聚手机端怎么看世界杯
  • 建设工程有限公司 网站餐饮众筹模板网站建设
  • 免费网站主机空间房地产行业现状及前景
  • 汉口江岸区城市建设局网站营销型网站建设区别
  • 权重网站建设基于cms的企业网站建设
  • 自己做免费手机网站吗共享虚拟主机 几个网站
  • 西安做网站找缑阳建榆林市建设局网站
  • 专业的建设网站爱网站长尾
  • 济南网站模板负面网页升级访问
  • 东莞网站推广模式做网站怎么改关键词
  • 观澜小学网站建设最新手机排行榜2021
  • 淮安网站建设设计制作一个人开公司需要什么条件
  • 广告设计效果图河北seo推广方法
  • 企业网站建设的趋势网络营销对企业的作用
  • 网站如何改造wap织梦网站怎么做伪静态页面
  • 杭州网站网站设计论文致谢
  • 如何降低网站的权重深圳市龙岗区住房和建设局
  • 自己做刷东西的网站沈阳seo团队
  • 龙腾盛世网站建设网站建设网站模版
  • 一起装修网官方网站刘家窑做网站
  • 谷歌google下载安徽网站优化厂家报价
  • 成都网站建设推来客网站系统报价蓝色的包装材料企业网站模板
  • 深圳市建设工程质量监督总站网站个人简历word文档模板
  • seo可以提升企业网站的网站开发的前端框架有哪些
  • 陕西交通建设集团蓝商公司网站网页图片抓取
  • 推广及建设网站汕头网站推广系统
  • 东莞市微信网站建设品牌公司架设网站费用怎么做分录
  • 比较好的做外贸网站拍摄公司形象宣传片