Results 1 to 9 of 9
Hi all,
Ive in vmware an Ubuntu Git server, and form the server to the server it works perfect
If i connect with mine mac to the server it ask ...
- 12-10-2010 #1Just Joined!
- Join Date
- Dec 2010
- Posts
- 16
git-server
Hi all,
Ive in vmware an Ubuntu Git server, and form the server to the server it works perfect
If i connect with mine mac to the server it ask for a password, and ive no idea what that is.
But on the internet was standing a command for public reposority
git git-daemon --base-path=/home/git/repositories/ --export-all
when I run it , this error appear:
git: 'git-deamon' is not a git command. See 'git --help'.
someone?
- 12-10-2010 #2Just Joined!
- Join Date
- Dec 2010
- Posts
- 16
an edit from mine side:
git daemon --base-path=/home/git/repositories/ --export-all
don't give an error, but does nothing.
- 12-12-2010 #3
- 12-13-2010 #4Just Joined!
- Join Date
- Dec 2010
- Posts
- 16
command
git clone git@xxx.xx.xx.xx:seaconrep.git
response
Initialized empty Git repository in /Users/mra/Desktop/seaconrep/seaconrep/.git/
git@xxx.xx.xx.xx's password:
----
such i said, 'git daemon --base-path=/home/git/repositories/ --export-all'
don't give an error, but doesn't do anything. Even don't give me the command prompt back. Only when i press 'ctrl C'
----
For installing the Git server on the Ubunto i followed this guide:
scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
- 12-13-2010 #5
You are using ssh access (note the git@ bit). To my memory, in this case you really need to provide a valid user name and password.
Try this instead:
As far as I can remember, the git:// protocol allows you to do anonymous cloning (that is, you don't have to specify passwords), but will not allow you to do pushes unless otherwise configured.Code:git clone git://xxx.xx.xx.xx:seaconrep.git
The fact that it doesn't get back to the command prompt tells me that the daemon is actually running (and ready to respond to requests). Try connecting to your machine when the daemon is running.
If you don't like having the daemon consume one of your consoles, you may append an '&' (ampersand) to your git-daemon command, like this:
This tutorial seems to be gitosis-oriented; if your purpose is a simple public repository, you should be able to go simpler ways.Code:git daemon --base-path=/home/git/repositories/ --export-all &
If you are referring to the command from the tutorial:
then please mind that the first "git" does not belong to the command run by sudo, but rather tells sudo to run the command not as root (as it usually does), but as the user git. For further details refer to the "-u" option from man sudo.Code:sudo -u git git-daemon --base-path=/home/git/repositories/ --export-all
- 12-14-2010 #6Just Joined!
- Join Date
- Dec 2010
- Posts
- 16
I gonna try this all, thanks a lot.
The purpose for the repository is, here are a lot virtual servers (ubuntu and some debian) and they need a repository, prefer GIT. So do you have a better tutorial or a better solution. So yes, than please tell me.This tutorial seems to be gitosis-oriented; if your purpose is a simple public repository, you should be able to go simpler ways.
- 12-16-2010 #7
I am not that experienced in configuring public git repositories (actually, I've never setup one
), but if you list the operations your repository will most likely have to carry out, either somebody cleverer than me or even I can give you some hints.
The point is that what you describe looks like a generic situation, when there is the repository and there are some clients. If your setup is indeed sufficiently simple, running git-daemon should be enough.
- 12-21-2010 #8Just Joined!
- Join Date
- Dec 2010
- Posts
- 16
Ok i found another tutorial, for your information:
tumblr.intranation.com/post/766290565/how-set-up-your-own-private-git-server-linux
This one works
I was looking for password protection for gitweb. Installed gitweb succesful.
- 12-21-2010 #9


Reply With Quote
