duckxtales

Member
Dec 15, 2006
8
0
151
Hi,

I'm still quite a newbie at linux and I'm afraid of messing up the server if I were to install something I'm not familar with. The only thing i know how to do is navigate around and move files around, but I still don't fully understand how things get installed and run.

I have a dedicated server with:
- CentOS 3.8
- WHM 10.8
- Apache 1.3.37

A programmer asked me to install:

TRAC:
http://trac.edgewall.org/wiki/TracInstall

And Subversion:
http://subversion.tigris.org/

I asked the server people to install TRAC and they did and said it was easy. All had to do was download the file and type: "python ./setup.py install"

Now I need to install Subversion. And I can't seem to find any easy tutorials to follow on installing this feature. Can anyone shed some light on this?

I understand that I have to download the package, but which one? And when I install it do I have to specify a directory to install it in?

Thanks,
Pat
 

duckxtales

Member
Dec 15, 2006
8
0
151
how do I add these RPM's to my WHM menu under Software > Install RPM?

Or do I have to install these RPM's through the shell?
 

duckxtales

Member
Dec 15, 2006
8
0
151

buro9

Member
Jun 8, 2003
18
0
151
I want to achieve the same as the OP but for just one account on my system.

I'm under the impression that a SVN install would be server-wide as it just acts on one port number. I'm guessing that I would have to create a branch in SVN for each user account and then assign them permissions at that level and below. But wouldn't doing this mean that I would have to become owner of user administration of the server-wide SVN install?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
I want to achieve the same as the OP but for just one account on my system.

I'm under the impression that a SVN install would be server-wide as it just acts on one port number. I'm guessing that I would have to create a branch in SVN for each user account and then assign them permissions at that level and below. But wouldn't doing this mean that I would have to become owner of user administration of the server-wide SVN install?
YOu really need to read the Subversion Redbook

In brief:

Installing Subversion is like installing Apache, MySQL or any other service: it is only available for full use both those you grant access to.

YOu create repositories, which are not the same at all as branches, for each user account that needs a repository. This can be as simple as:
Code:
svadmin create --fs-type fsfs /path/to/repository
Make certain the permissions on the new repository are owned by the account owner

As far as access goes, again, you really need to read and understand the Redbook linked above. There are three different ways to grant remote access to a repository:
1. WebDav
2. pserve
3. SSH

All have their pros and cons.

Webdav: If using Apache's webdav, the apache user (usually nobody) will need full access to the repository. The benefit? You don't need to grant shell-level access. WebDav can be rather slow.

SSH: The easiest to setup, but grants users's shell-level access the server. Without proper setup of the permissions and user groups, it's easy for permissions and ownership of files and directories in the repository to get screwed up. The fastest access, in my experience.

pserver: I've never used it but i seems to provide the best control, but is apparently really slow acording to reports.

Again: read Subversion Redbook an dalso the FAQ on the Subversion site.