Quantcast
Channel: clingmarksTag Archive | viewvc | clingmarks
Viewing all articles
Browse latest Browse all 2

Setup ViewVC / Subversion with Apache Server on OpenSuse (2)

$
0
0

Ok, it is not done yet. I found another problem today.

Everything worked great in my home network. But today, when I tried to check out code from outside network, I found a problem. I didn’t open port 22 for my home server. Instead, I open a non-stand port on my router and forward traffic on that port to port 22 at my home server. But when I use svn+ssh, it seems there no way to specify port number.

After some research, I found all you need to do is to change the configuration file of the subversion on your local machine (at outside network). Open file “~/.subversion/config”, then go to section “tunnel”, add following line:

ssh_home = $SVN_SSH ssh -p 12345

Port 12345 is the non-standard port opened on my router. Then on my local machine, I use this command to check out code:

svn co svn+svn_home://myhome.com/home/svn/repos/sandbox/trunk sandbox

Problem solved!


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images