美文网首页
MAC安装Mongo

MAC安装Mongo

作者: 白璞1024 | 来源:发表于2020-07-04 16:38 被阅读0次

    安装mongodb的时候报错,

    Error: No available formula with the name "mongodb" 
    ==> Searching for a previously deleted formula (in the last month)...
    Warning: homebrew/core is shallow clone. To get complete history run:
      git -C "$(brew --repo homebrew/core)" fetch --unshallow
    
    Error: No previously deleted formula found.
    ==> Searching for similarly named formulae...
    Error: No similarly named formulae found.
    ==> Searching taps...
    ==> Searching taps on GitHub...
    Warning: Error searching on GitHub: curl failed!   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (7) Failed to connect to api.github.com port 443: Connection refused
    
    Error: No formulae found in taps
    

    后来发现好像是闭源了,操作流程见下边的连接,
    https://github.com/mongodb/homebrew-brew
    设定: brew tap mongodb/brew 安装: brew install mongodb-community@4.2
    启动:$ brew services start mongodb-community

    相关文章

      网友评论

          本文标题:MAC安装Mongo

          本文链接:https://www.haomeiwen.com/subject/kbiuqktx.html