Install the packages with yum
yum install websvn.noarch
yum install subversion
Create a directory
mkdir -p /srv/svn
svnadmin create --fs-type fsfs /srv/svn/nix
Now open the conf file [vi /etc/websvn/config.php]
and add the following
$config->parentPath('/srv/svn/');
$extEnscript[".pl"] = "perl";
$extEnscript[".py"] = "python";
$extEnscript[".sql"] = "sql";
$extEnscript[".java"] = "java";
$extEnscript[".html"] = "html";
$extEnscript[".xml"] = "html";
$extEnscript[".thtml"] = "html";
$extEnscript[".tpl"] = "html";
$extEnscript[".sh"] = "bash";
#################
Then save it and restart httpd and open the url
http://urip/websvn
now you can see the repo nix ..................
No comments:
Post a Comment