svn client/server install in ubuntu10.10
Clint Byrum
clint at ubuntu.com
Sun Dec 5 12:58:59 UTC 2010
On Sun, 2010-12-05 at 19:07 +0800, maven apache wrote:
> hi:
> I use sudo apt-get install subversion to intall the svn.
> I just woder if it is the server side or client side?
>
> If it is a client side,I need a server side also. However my ubuntu is
> working under off-line model,so any ideas to install a svn server ?(I
> prefer to svnserver rather than apache server)
>
The subversion package does include 'svnserve', which is the name of the
command to run. If you want to run it at boot, you can put this in a
file named /etc/init/svnserve.conf
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [016]
respawn
exec /bin/su -c 'exec /usr/bin/svnserve --foreground --daemon --config-file=/your/repo/conf/svnserve.conf' user_who_owns_your_repo
And run 'sudo start svnserve'
More information about the Ubuntu-devel-discuss
mailing list