Skip to main content

Installing Git on cPanel

Comments

6 comments

  • cPanelKenneth
    [quote="jum83, post: 1701332">Hello, I wish to transfer my Development server to a cpanel server. I have Git installed in my Dev server and would like to install that in cpanel server too. Git is very necessary for us to work and we depend on Git to push to our Production server. So is it possible to install git on cpanel server? I have read that installing Git requires some perl modules which can break cpanel. Is that true? I have also read that beginning from version 11.36, cPanel comes with Git. Does this have all the complete functionality of Git?
    The git shipped with cPanel & WHM is installed to /usr/local/cpanel/3rdparty/bin. The binary is not in any of the system paths. If you wish to make this version of git available to all users you'll need to create a symlink so it's in one of the system paths. For example: # ln -s /usr/local/cpanel/3rdparty/bin/git /usr/local/bin/git
    Could you give more details on what you consider to be 'complete functionality of Git'?
    0
  • jum83
    By complete functionality I mean all those functions that can be done using git which is installed independently. I want to make sure that installing git as a cpanel module does not impair the cpanel functionality as well as the functionality of git. Will I be able to perform all those actions which I can perform in case of git which is installed as on a non-cpanel server?
    0
  • nivekau
    Hi guys, Can I install Git via RPM in WHM? If so, which one? There's git, git-all, git-cpanel, git-cpanel-all, + about 10 more! I'm confused :) BTW, I am also running Cloud Linux and CageFS Thanks, Kevin
    0
  • cPanelMichael
    Hi guys, Can I install Git via RPM in WHM? If so, which one? There's git, git-all, git-cpanel, git-cpanel-all, + about 10 more!

    You can use the GIT that's already included with cPanel, as referenced in this post:
    0
  • nivekau
    You can use the GIT that's already included with cPanel, as referenced in this post:
    0
  • cPanelMichael
    /usr/local/cpanel/3rdparty/bin/git
    Thanks Michael, but Git does not appear to be installled /usr/local/cpanel/3rdpaty/bin/git does not exist on my server.

    The full path is: /usr/local/cpanel/3rdparty/bin/git I've modified that post to include the "r". Thank you.
    0

Please sign in to leave a comment.