• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Installing GIT as Server on Plesk / Centos 5

mk.keck

New Pleskian
Hi,

I'm planning for a big project to install on my rootserver git as a repository server.
Has any body done this successfully and may be able to explain step by step?

Many thanks
 
Did you get GIT running? I have problems adding users! I could use some Plesk support for version control systems.
 
Currently Plesk has no specific support for version control systems. You can just treat a Plesk server as a 'normal' server in this case and follow the regular documentation for the version control system you want to use.
 
I have a customer that's requesting to create a local GIT repository. How can I add GIT to his chroot'd environment?

For posterity: I was able to chroot the git client by combining these two articles...

To summarize, however:
Code:
# mkdir -p /var/www/vhosts/example.com/var/lib/rpm
# rpm --root /var/www/vhosts/example.com/var/lib/rpm --initdb
# yum --downloadonly --downloaddir=/tmp reinstall centos-release
# rpm -Uvh --nodeps --root /var/www/vhosts/example.com/ /tmp/centos-release-6-4.el6.centos.10.x86_64.rpm 
# yum --installroot=/var/www/vhosts/example.com/ -y install git
 
Last edited:
Back
Top