git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Tomas Carnecky <tom@dbservice.com>
To: Tomas Carnecky <tom@dbservice.com>
Cc: stuart <stuart@xnet.com>, git@vger.kernel.org
Subject: Re: Can I set up a GIT server w/o administration privileges on a Solaris machine?
Date: Thu, 4 Jun 2009 19:37:55 +0200	[thread overview]
Message-ID: <8F7A6F2A-D286-4DC2-B17A-FB016C31B1F2@dbservice.com> (raw)
In-Reply-To: <32C5F26D-7498-440C-8BF4-97AF137EF78F@dbservice.com>


On Jun 4, 2009, at 7:34 PM, Tomas Carnecky wrote:

>
> On Jun 4, 2009, at 6:35 PM, stuart wrote:
>
>> Hi...
>>
>> Can I set up a GIT server w/o administration privileges on a  
>> Solaris machine?
>>
>> I think this should be a simple question to answer.  I have looked  
>> in the archives - but most, if not all, who post are setting up GIT  
>> servers  using administration privileges.  I have a shell account  
>> on a Solaris box where I can create web pages and trigger the  
>> execution of scripts from those pages...but no administration  
>> right.  So, I started down the path of privately installing  
>> software.  However, it became apparent that I need git listing on  
>> this port and running that daemon...both of which are almost  
>> impossible with out administration rights.
>
> The default port of the git daemon is 9418. Unix systems usually  
> don't require admin privileges to bind to port >1024. Maybe there's  
> a firewall between you and the solaris box preventing you from  
> connecting to such non-standard port? If you are sure there is no  
> such thing, then simply fire up git-daemon and try to connect to it:
>
> (assuming /path/to/repo.git is the git repository on the server)
> server$ git-daemon --export-all --verbose --base-path=/path/to/ / 
> path/to/
> client$ git ls-remote git://<server>/repo.git
>
> If the connection was successful, then stop git-daemon, add '-- 
> detach' to its command line and start it again. It will put itself  
> into the background, so you can log off the server and git-daemon  
> will keep runnig. One downside is that it will not be automatically  
> restarted when it crashes, or when the server is restarted.
>
>> So, is there a way to get some basic GIT functionality through  
>> serving up web pages and executing CGI scripts.  Is there somewhere  
>> I can read up on this type of server installation?
>
> Git can be used over dumb http protocol. Fetching through http is  
> fairly easy, simply put the git repo into a directory where the web  
> server has read rights. Pushing

... and run git-update-server-info in the git repository.

> through http will likely require you to edit the http server  
> settings. Also, git:// protocol is almost always preferable over  
> http://.
>
> tom
>

  reply	other threads:[~2009-06-04 17:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-04 16:35 Can I set up a GIT server w/o administration privileges on a Solaris machine? stuart
2009-06-04 17:34 ` Tomas Carnecky
2009-06-04 17:37   ` Tomas Carnecky [this message]
2009-06-05  8:42   ` Jakub Narebski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8F7A6F2A-D286-4DC2-B17A-FB016C31B1F2@dbservice.com \
    --to=tom@dbservice.com \
    --cc=git@vger.kernel.org \
    --cc=stuart@xnet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).