2014-06-30

Graphical user interface based SVN in ubuntu


Pranaam to all bhai ji _/\_
Today i am going to discuss about  installation of "user friendly SVN" web based interface.
USVN is web based interface to manage SVN user account, repository and groups in easy way :)

here is the download link for the USVN package, download it and extract its content to /var/www or the directory where you want to host it, i am save it in /var/www directory.
https://codeload.github.com/usvn/usvn/tar.gz/1.0.7

after extracting this archive, open the file /etc/apache2/sites-enabled/000-default

and write down this code to access svn repo
Alias /svn "/var/www/svn/public/"

    <Directory “/var/www/usvn/public”>
    Options +SymLinksIfOwnerMatch
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>


note: you must take care of one thing
Alias /svn "/var/www/svn/public/"
this line is very important, because
Alias /svn is the alias with which apache will server your usvn interface as a url
like if i define Alias /ica , my svn interface will be accessible via url
localhost/ica
if i say Alias /indishell/ica
usvn will be accessible via url localhost/indishell/ica

var/www/svn/public/"
this line also important , because here /var/www/svn is the directory location of my usvn code which we extracted earlier .
i saved usvn code with name svn in /var/www directory
if i save usvn code in / directory with name  svnlab
then this line will be
/svnlab/public

so finally alias line will be like this

Alias /svn "/var/www/svn/public/"

in my case, i want to access usvnat url localhost/svn and usvn code is saved in /var/www directory

ok once you have done with this step, restart apache server and access the url to configure usvn
if you get 500 error when you access localhost/svn
ok , enter in usvn code directory and you will see a directory with name  "app"

enter into that directory and open the file bootstrap.php
and change the content of line 72 from // exit(0); to exit(0);
like this 


save the file and back to url , you will get USVN installation screen like this 


 now just simply follow the on screen instructions .



dont forget to create a database in sql server for usvn.
create database and supply its login info during installation


add admin info


after completion of all steps USVN will give you text like this

<Location /svn/svn>
        ErrorDocument 404 default
        DAV svn
        Require valid-user
        SVNParentPath /var/www/usvn/files/svn
        SVNListParentPath On
        AuthType Basic
        AuthName "USVN"
        AuthUserFile /var/www/usvn/files/htpasswd
        AuthzSVNAccessFile /var/www/usvn/files/authz
</Location>

add it to /etc/apache2/sites-available/default
like this

save the file and restart the apache server ;)
access the url  http://localhost/svn and you will get your USVN GUI interface \m/

enjoy it
Thank you

-==[[Love to]]==--
zero Cool ,code breaker ica, root_devil, google_warrior,INX_r0ot,Darkwolf indishell,Baba ,Silent poison India,Magnum sniper,Atul  Dwivedi,ethicalnoob Indishell,Local root indishell,Irfninja indishell,Reborn India,L0rd Crus4d3r,AR AR,Mannu, ViKi, Hardeep singh Bhuppi,Mohit, Ffe, Anju, RR Mam, Acchi bacchi(Jagriti) and DON
Share this post

0 comments

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

© 2009 Start With Linux | Mannu Linux
Designed by cyb3r.gladiat0r
Posts RSSComments RSS
Back to top