The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Subversion SVN and TRAC Installation

Discussion in 'General Discussion' started by duckxtales, Dec 15, 2006.

  1. duckxtales

    duckxtales Member

    Joined:
    Dec 15, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
  3. trhosting.net

    trhosting.net Well-Known Member

    Joined:
    Mar 7, 2006
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Turkey
  4. duckxtales

    duckxtales Member

    Joined:
    Dec 15, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  5. duckxtales

    duckxtales Member

    Joined:
    Dec 15, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
  6. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Will this install Subversion serverwide?
    How would one admin it, so that only certain users can access it?
     
  7. duckxtales

    duckxtales Member

    Joined:
    Dec 15, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I would like to know that aswell. SoftDux, is my above post the way to install subversion properly?
     
  8. buro9

    buro9 Member

    Joined:
    Jun 8, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  9. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    But how does one administer it? It would / could be nice if it could be integratable with WHM, so one could just specify which users can use it, and which not :)
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    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.
     
  11. willsheldon

    willsheldon Registered

    Joined:
    Oct 15, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
Loading...

Share This Page