Get the installation files first
wget Https://downloads.bitnami.com/files/stacks/redmine/2.6.1-0/bitnami-redmine-2.6.1-0-linux-x64-installer.run
Add executable permissions
chmod +x Https://downloads.bitnami.com/files/stacks/redmine/2.6.1-0/bitnami-redmine-2.6.1-0-linux-x64-installer.run
Installation
./bitnami-redmine-2.6.1-0-linux-x64-installer.run
Here to configure all content, including git, some things, because the installation is not recorded, there is no way to operate, specifically, almost all of the configuration is selected Yes, because the 80 port is occupied, the configuration process I have Apache port configured to 8080
After the installation is complete, Access HTTP.//host ip:8080/redmine/to log in
Create a test project after login
Start installing the GIT server below
Installing Python-setuptools
sudo apt-get install Python-setuptools
Download gitosis
<pre name= "code" class= "Java" >https://github.com/tv42/gitosis.git
Enter the Gitosis directory
CD gitosis
Installation
Python setup.py Install
Create a Git account
sudo useradd-c ' git version manage '-m-d/home/git-s bin/bash git
Upload the client-generated secret key to the server and generate the secret key from the generation method.
Initialize git
Sudo-h-u git gitosis-init
The following information is displayed successfully#Initialized empty git repository in/home/git/repositories/gitosis-admin.git/#Reinitialized existing git repository in /home/git/repositories/gitosis-admin.git/
Modify Post-update Permissionssudo chmod 755/home/git/repositories/gitosis-admin.git/hooks/post-update
Client-side cloning warehouse for configurationgit clone [email protected] host Ip:gitosis-admin.git
The public key is stored in the Keydir directory after cloning, gitosis.conf is the configuration fileOpen the configuration file, add the following, and place the public key [email protected] of the other machine under the public key directory
[Group webca]writable = webcamembers = [email protected] [email protected]
Using the initialized client [email protected] to submit the WEBCA warehouse, the code is as followsmkdir webca cd webca git init touch readme.md git add readme.md git commit-m "init webca" git remote add Origin [email protected] host IP:webca.git
Configure Redmine to associate the Git repository, click Create Test Project---configuration----new repository---Choose git-> input git directory, this is /home/git/repositories /webca.git, tick the main repository to determine. This time may appear 404, the possible reason is that Webca.git is not enough permissions, in order to avoid unnecessary trouble in the future, directly to the 777 permissions to the directory, refresh to see the repository's submission information
Install Redmine and integrate git under Centos