Execution, a first installed homebrew (roughly meaning is to use the domestic agent) :
curl - fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh & gt;> Brew_install
Sed -i "bak" 's | BREW_REPO="https://github.com/Homebrew/brew" | BREW_REPO="http://mirrors.ustc.edu.cn/brew" |'../brew_install
/bin/bash,/brew_install
# this step is not required, if has been put into the brew success can perform before
The brew - CD "$(repo)"
Git remote set - origin url http://mirrors.ustc.edu.cn/brew.git
# # to enter
The brew - CD "$(repo)/Library/Taps/homebrew/"
/*
the rm - rf.Git clone http://mirrors.ustc.edu.cn/homebrew-core.git
Git clone http://mirrors.ustc.edu.cn/homebrew-cask.git
The brew update
# replace the mirror
Echo 'export HOMEBREW_BOTTLE_DOMAIN=http://mirrors.ustc.edu.cn/homebrew-bottles' & gt;> ~/. Following
The source ~/. Following
then install wget:
the brew install wget
CodePudding user response:
MAC install kafkamanager steps:1 wget https://github.com/yahoo/kafka-manager/archive/2.0.0.2.zip
2 unzip 2.0.0.2.zip
3 compiled into the home directory:./SBT clean dist
4 to modify the conf/application. The properties and modifying kafka - manager. Zkhosts="localhost: 2181
"Start 5: bin/kafka - manager - Dconfig. The file=conf/application. The conf - Dhttp. Port=9000, the default port 9000
6 open http://localhost:9000/validation web interface to operate
CodePudding user response:
MAC gradle 6.3 installation steps:Wget https://services.gradle.org/distributions/gradle-6.3-all.zip
Unzip gradle - 6.3 - all.zip
Sudo vim/etc/profile
The export PATH=$PATH: ~/Downloads/gradle - 6.3/bin
The source/etc/profile
Gradle -v
Welcome to Gradle 6.3!
CodePudding user response:
-- -- -- -- -- -- -- -- -- -- - to replace the brew source under MAC//replace the brew. The git
The brew - CD "$(repo)"
Git remote set - origin url https://mirrors.ustc.edu.cn/brew.git
//replace homebrew - core. Git
The brew - CD "$(repo)/Library/Taps/homebrew/homebrew - core"
Git remote set - origin url https://mirrors.ustc.edu.cn/homebrew-core.git
//if the home directory not found. The following files can be created directly
Echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' & gt;> ~/. Following