Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install scripts to work on latest gitolite & ubuntu #18

Closed
wants to merge 6 commits into from

Conversation

jedahan
Copy link

@jedahan jedahan commented Oct 28, 2012

Not sure if the postgres install is safe - but it was needed for the rake to work. Would appreciate independent review.

Jonathan Dahan added 2 commits October 28, 2012 03:55
fixes install on basic ubuntu 12.04 AWS install
@tvannahl
Copy link
Contributor

Just tested your debian_ubuntu.sh. Got the following error of the related line:

root@ubuntu:/home/git/gitolite# sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; /home/git/gitolite/install"                                                                                    
use the following full path for gitolite:
        /home/git/gitolite/src/gitolite

I would suggest to use the following line from the manual installation out of the documentation:

cd /home/git
sudo -u git -H mkdir bin
sudo -u git sh -c 'echo -e "PATH=\$PATH:/home/git/bin\nexport PATH" >> /home/git/.profile'
sudo -u git sh -c 'gitolite/install -ln /home/git/bin'

sudo cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub
sudo chmod 0444 /home/git/gitlab.pub

sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; gitolite setup -pk /home/git/gitlab.pub"

@jedahan
Copy link
Author

jedahan commented Oct 31, 2012

thanks @tvn87 , I decided to do a combover of the scripts, replacing them with the section you provided and splitting out steps and adding comments. Testing now.

@jedahan
Copy link
Author

jedahan commented Oct 31, 2012

Closing until I get this working, then committing as something more logical.

@jedahan jedahan closed this Oct 31, 2012
axilleas added a commit that referenced this pull request Aug 4, 2014
[Guide] SSL Certificate: Fix install typo

Fixes #18

See merge request !26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants