レンタルサーバーでgitを使う(その2)「fatal: Unable to find remote helper for ‘https’」の解決

プロジェクト管理、ソースコード管理において欠かせない存在であるGit。
自前のサーバーで使う場合は特に何も考えずyumでさくっとインストールしてしまえばいいんですけど、ルート権限のないレンタルサーバーで運用するときにどうするか、というのが問題。

これについては、以前に書いたこちらのエントリー
エックスサーバーでGitをインストール | CentOS & Fedoraテクニック
で基本的にはOKなんですが、今回問題が発生しました。

これまでは、GitレポジトリサーバーをSSH接続できる自前の別サーバーにしていたんですが、Bitbucketという無料のGitレポジトリサービスを使わせてもらうことにしました。

すると…

HTTPSのエラーが発生

fatal: Unable to find remote helper for ‘https’
Clone of ‘https://bitbucket.org/linux-tech/myproject.git’

httpsに対するリモートヘルパーが見つからない、とのことです。これは同じくHTTPSプロトコルで接続するGithubにも起こりえますね。

プロトコルの解決といえばCurl。どうやらcurl-develパッケージが存在しないために、curl をリンクできていないようです。

curl-develをインストール

$ wget http://curl.haxx.se/download/curl-7.46.0.tar.gz
$ tar zxvf curl-7.46.0.tar.gz
$ cd curl-7.46.0
$ ./configure –prefix=/home/[ユーザ名]/opt
$ make
$ make install

これでうまくいくようになりました。
もしこれでもうまく行かなかったら、Gitをインストールし直すといいでしょう。

$ wget https://github.com/git/git/archive/master.zip
$ unzip master
$ cd git-master
$ make configure
$ ./configure –prefix=/home/[ユーザ名]/opt –with-curl=/home/[ユーザ名]/opt
$ make all
$ make install

15 thoughts on “レンタルサーバーでgitを使う(その2)「fatal: Unable to find remote helper for ‘https’」の解決

  1. AlexisBrums

    If you do, you agree with George Herbert’s famous aphorism from his book, Outlandish Proverbs.
    Don’t count on things that haven’t happened yet because something unexpected could occur.
    He knows that Luke should either decide that he can do it or decide to quit.
    Washington’s message was that it’s wiser to be upfront and deal with the consequences.
    It’s easier to do it yourself rather than try to explain it to someone else.
    But these days.
    Aphorisms can act as a guideline to help narrow the focus of your work.
    What is an Aphorism.
    Examples of Aphorism in Literature
    Because let’s face it, perseverance is the key to success in life.
    Remember that.
    Honesty is the best policy.
    One of his most notable is, An ounce of prevention is worth a pound of cure.
    Aphorisms state universal truths about life that encourage reflection.
    From there, you can build your story around it.
    But one key difference is that for a phrase to be truly aphoristic, it needs to be a short statement.

    返信
  2. AlexisBrums

    Aphorisms often use metaphors or creative imagery to express ideas.
    Speaking of being safe, that’s another aphorism example that you’ve probably heard before.
    Luke’s having a tough time, and he’s discouraged.
    Let me ask you.
    It’s easier to do it yourself rather than try to explain it to someone else.
    search bar with “what use aphorism.” written
    Aphoristic statements also appear in everyday life, such as daily speeches made by politicians and leaders.
    Are you in.
    Aphorisms often use metaphors or creative imagery to express ideas.
    This quote originated from Thomas Howell in New Sonnets and Pretty Pamphlets.
    Examples of Aphorism in Film
    Picture of Benjamin Franklin and a caption that says “Aphorist Extraordinaire”
    He’s earned that title because he’s authored dozens of aphorisms.
    search bar with “what use aphorism.” written
    There must be a method to your madness.
    What is an Aphorism.

    返信
  3. AlexisBrums

    It’s a great saying, but it’s not something you’d necessarily repeat over the dinner table.
    Better safe than sorry is a piece of wisdom from Samuel Lover’s book, Rory O’More.
    Michael Corleone from The Godfather II disagreed with that.
    This aphorism is short and sweet, but it teaches us a valuable truth.
    Finally, Actions speak louder than words is another classic example.
    The Purpose & Function of Aphorism
    Then use it as a guideline to stay focused on your general theme.
    Don’t judge a book by its cover.
    Both sayings highlight the benefits of waking up early.
    Fall seven times, stand up eight.
    The idea is simple.
    Washington also said, It is better to offer no excuse than a bad one.
    Want a few more.
    This quote came from Wales, first appearing in an 1866 publication.
    From there, you can build your story around it.
    But one key difference is that for a phrase to be truly aphoristic, it needs to be a short statement.

    返信
  4. AlexisBrums

    Both sayings highlight the benefits of waking up early.
    Better safe than sorry is a piece of wisdom from Samuel Lover’s book, Rory O’More.
    You create them.
    Washington’s message was that it’s wiser to be upfront and deal with the consequences.
    Finally, Actions speak louder than words is another classic example.
    Not so much.
    Then use it as a guideline to stay focused on your general theme.
    Now here’s the big question.
    Proverbs, on the other hand, can be much longer than aphorisms and adages.
    Another success aphorism comes from Chris Grosser.
    He played the villain in the movie that famously stated.
    We’ve all probably had to learn that the hard way.
    Sometimes, though.
    They’re easy to remember and pass down through generations because they’re concise.
    And then.
    Are you in.

    返信
  5. essay writing service

    Please let me know if you’re looking for a author for your site. You have some really good posts and I believe I would be a good asset. If you ever want to take some of the load off, I’d love to write some material for your blog in exchange for a link back to mine. Please send me an email if interested. Thank you!

    返信
  6. Rocket Reach

    Improve your business performance measurements and KPI tracking using our
    EPM consulting expertise. How does Oracle support data migration between different database platforms?

    返信
  7. Zaim-Fin: выгодные условия для постоянных клиентов

    Привет! Хочу поделиться своим опытом. Недавно столкнулся с такой ситуацией: скоро у друга день рождения, а я не могу позволить себе покупку приличного подарка из-за нехватки средств. Но, как говорится, “всякой беде назло” нашел на портале zaim-fin.ru море возможностей. Там я обнаружил МФО, готовые выдать займы даже тем, у кого не самая лучшая кредитная история. И всё это без лишних проверок и сложных формальностей. Благодаря займу я смог купить другу долгожданный подарок и сделать его день особенным. Ещё на этом сайте я нашел массу полезной информации о том, как правильно оформить заявку на микрокредит и что делать, если вдруг отказывают. Полезный ресурс, не зря его советуют!

    返信
  8. Избавьтесь от финансовых ограничений с Zaim-Fin

    Привет! Расскажу тебе о том, как мне помог портал zaim-fin.ru в срочной ситуации. Недавно передо мной встала задача организовать семейный отдых на море, но денег на поездку не хватало. В такой момент на помощь пришли микрозаймы, которые я нашел на этом сайте. МФО, сотрудничающие с zaim-fin.ru, готовы выдать займы даже людям с плохой кредитной историей. Без лишних заморочек и проверок. Благодаря этому мы с семьей смогли насладиться отдыхом на море и провести замечательное время вместе. А еще на этом сайте много полезной информации о микрозаймах: как правильно оформить заявку и что делать, если возникают трудности. Всем советую воспользоваться этим ресурсом!

    返信

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です