Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Subversion on Ubuntu with NGINX, not Apache

I'm using Ubuntu 10.10 and I could like to install Subversion. I don't need http access to the files and I would like to use SSH. The majority of the examples I've seen on how to install Subversion use Apache. I don't want to install Apache on my sever since I'm using NGINX. Can I just install Subversion without installing Apache? If yes, how? Thank you!

like image 331
avatar Avatar asked Jan 25 '11 18:01

avatar


People also ask

What is SVN protocol?

Apache Subversion (often abbreviated SVN, after its command name svn) is a software versioning and revision control system distributed as open source under the Apache License. Software developers use Subversion to maintain current and historical versions of files such as source code, web pages, and documentation.


1 Answers

If you don't need HTTP access to your subversion repository, all you need to do is just install subversion and create a repository like this:

svnadmin create /path/to/repository

Then you can check out local copies directly:

svn co /path/to/repository /path/to/my/checkout

Or over ssh:

svn co svn+ssh://server/path/to/repository

If your packaging system is trying to install Apache with subversion, that is a packaging issue. However in Ubuntu, the subversion package does not require apache. Its requirements are:

Depends: libsvn1 (= 1.6.12dfsg-1ubuntu1), libapr1 (>= 1.2.7), libc6 (>= 2.4), libsasl2-2
Suggests: subversion-tools, db4.8-util, patch
like image 137
Ken Kinder Avatar answered Oct 07 '22 08:10

Ken Kinder