vurjoin.blogg.se

Debian git server install
Debian git server install










When not specified, Git will use permissions reported by umask This allows users belonging to the same group to push into that repository. Specify that the Git repository is to be shared among several users.

debian git server install

-shared: =(false|true|umask|group|all|world|everybody|0xxx).If GIT_DIR environment is not set or a directory is not specified, it is set to the current working directory. Developers do not work and edit files in this repository as it has no working area. A bare repository has no working files and is a repository only. Set the repository "description": edit file /srv/git/projectx.git/description.Note that this requires all developers to have a login shell account on the system.įor more on group access see managing Linux groups All programmers must be part of this group "dev" in order to have access to the repository. chgrp -R dev /srv/git/projectx.git/ chmod ug+rw -R /srv/git/projectx.git/ Change ownership of all files to the software developers group.cp hooks/post-update.sample hooks/post-update.git init -bare -shared=group /srv/git/projectx.git/.Generate the repository and allow the the user remote shell access to the git repository: Perl-GSSAPI.x86_64, perl-Net-SMTP-SSL.noarch or perl-TermReadKey.x86_64). See the EPEL or PBone RPM repositories for dependencies (eg perl-Authen-SASL.noarch, GUI tools: "git gui", git citool (alternative to commit) and man pages Web front-end: /var//etc/httpd/conf.d/git.conf git2u-gitweb - Simple web interface to git repositories.git2u-gitk - Git revision tree visualizer.

debian git server install debian git server install

  • git2u-email - Git tools for sending email.
  • git2u-all - Meta-package to pull in all git tools.
  • Man pages for: gitweb, nf, git-difftool, git-instaweb
  • git2u-core-doc - Documentation files for git-core.
  • git2u-core - Core package of git with minimal functionalityĬommands: /usr/bin/git, git-receive-pack, git-shell, git-upload-archive, git-upload-pack.
  • Install from RPM RHEL6 x86_64 RPM Download GIT 2.12.0 RPMs available:
  • Apache modules: mod_cgi, mod_alias, mod_env, mod_rewrite, mod_dav Verify with the command httpd -M orĬentOS/Red Hat: verify the configuration in /etc/httpd/conf/nf Ubuntu: enable the modules with the command: a2enmod cgi alias env.
  • Ubuntu/Debian: ssh, openssh-client, openssh-server.
  • Red Hat/CentOS/AWS: openssh, openssh-clients, openssh-askpass, openssh-server.











  • Debian git server install