国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

使用 Homebrew 在 MacOS 上安裝 Php 期間驗(yàn)證 GitHub 帳戶時(shí)遇到問(wèn)題
P粉550323338
P粉550323338 2024-02-03 19:10:58
0
1
588

我正在使用 macOS Monterey 並嘗試使用 Homebrew 安裝 Php。我在幾篇文章中讀到,透過(guò) Homebrew 安裝是在 Mac 上進(jìn)行此操作的最簡(jiǎn)單方法。我正在關(guān)注本教學(xué):https://www.geeksforgeeks.org/how-to-install-php-on-macos/

成功安裝Homebrew後,我使用指令brew tap username/php

#這是我在終端機(jī)上得到的:

==> Tapping saadmohammad/php
Cloning into '/opt/homebrew/Library/Taps/saadmohammad/homebrew-php'...
Username for 'https://github.com': saad931549
Password for 'https://[email protected]': 
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/saadmohammad/homebrew-php/'
Error: Failure while executing; `git clone https://github.com/saadmohammad/homebrew-php /opt/homebrew/Library/Taps/saadmohammad/homebrew-php --origin=origin --template=` exited with 128.

你覺(jué)得我該如何度過(guò)這個(gè)難關(guān)?

我已成功設(shè)定 SSH 金鑰並將其新增至我的 GitHub 帳戶。您認(rèn)為我可以使用它來(lái)驗(yàn)證我的帳戶並繼續(xù)安裝嗎?顯然,我是這方面的初學(xué)者。

我查閱了有關(guān)如何使用 SSH 金鑰進(jìn)行身份驗(yàn)證的文章,他們討論了公鑰和私鑰。我可以同時(shí)使用公鑰和私鑰。

因此,問(wèn)題歸結(jié)為能夠使用也已新增至 GitHub 帳戶的現(xiàn)有 SSH 金鑰進(jìn)行驗(yàn)證。我曾經(jīng)嘗試這樣做,但到目前為止還沒(méi)有運(yùn)氣。而且我不願(yuàn)意研究其中一篇文章,因?yàn)樗赡苄枰L(zhǎng)時(shí)間。

有人可以指出我正確的方向嗎?非常感謝..!

P粉550323338
P粉550323338

全部回覆(1)
P粉574695215

您好,我已經(jīng)檢查了您的詳細(xì)信息,但 GitHub 上的 saadmohammad 沒(méi)有 Homebrew/php 的存儲(chǔ)庫(kù),因此它拋出錯(cuò)誤。如果在 https://github.com/saadmohammad/homebrew-php/ 找到儲(chǔ)存庫(kù)上面的錯(cuò)誤回應(yīng)中提到了這一點(diǎn),然後它運(yùn)作良好。

它不是“brew tap username/php”,它實(shí)際上是 GitHub 上的儲(chǔ)存庫(kù)。因此,使用brew tap shivammathur/php 並透過(guò)指令brew install shivammathur/php/php@8 安裝php。

謝謝

最新下載
更多>
網(wǎng)站特效
網(wǎng)站源碼
網(wǎng)站素材
前端模板