SVN on webhosting

。_饼干妹妹 提交于 2019-12-23 12:09:37

问题


I have been getting into SVN quite recently. I decided that I wanted to install the SVN server on my web hosting space. My host is godaddy. So here's my question: How can I install SVN on godaddy. I can SSH into the server, and the server is running Red Hat 4. Any suggestions?


回答1:


I would contact godaddy to see if they support this. It really is up to the web host to support an application like this.




回答2:


Depends on the type of web hosting. If all you have is virtual HTTP hosting, you might be able to get away with downloading it to an SSH shell, building it, then installing it to your local directory. Then you can get something like the viewsvn CGI engine, and point it to your custom-built subversion executables.

I had to do this recently with git and gitweb on 1and1.com. It's definitely possible. Maybe not as flexible as having your own server, and you may not be able to get Subversion DAVFS working (which is a crying shame).




回答3:


I haven't used GoDaddy for this. However, you should be able to install it using yum or the binaries at http://www.collab.net/downloads/subversion/redhat.html . See also this previous SO question.

Once you have it installed, you can set up the server to talk svn+ssh

EDIT: Do you have root access at all (e.g. su)? If so, try the collab packages I linked. If not, you may need to consult with GoDaddy.




回答4:


On redhat ES4, if you have root access, ssh into the server and run "yum install svn". That should fetch and install all packages and needed dependencies.




回答5:


For those who looking to set up a SVN repository and then access using SSH, here is a great tutorial for that. Even though, this article is not from GoDaddy, the setup can't be that hugely different.

  • Create repository / connect to repository : https://www.a2hosting.co.uk/kb/developer-corner/version-control-systems1/configuring-subversion
  • Generate SSH keys for authentication : https://www.a2hosting.co.uk/kb/getting-started-guide/accessing-your-account/using-ssh-keys

Create the repository,

svnadmin create /home/USERNAME/REPOSITORY

SSH into the repository using a tool, like TortoiseSVN

svn co svn+hosting://USERNAME@example.com/home/USERNAME/REPOSITORY


来源:https://stackoverflow.com/questions/1016055/svn-on-webhosting

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!