Some of the login information is saved on the second time stamp. This will need to be converted into a format that your system can understand.
[root@mail ~]# date;date +%s
Fri Mar 19 10:40:32 IST 2010
1268975432
To convert the second back to IST format
[root@mail ~]# date -d '1970-01-01 1268975432 sec GMT'
Fri Mar 19 10:40:32 IST 2010
[root@mail ~]# date -d@1268975432
Fri Mar 19 10:40:32 IST 2010
=================================
Welcome to my page. I am not an avid writer, but i am trying. Here you will find some of the fine snippets i came across which i would like to revisit given a chance. Some of the technical troublshooting which i encountered, which i would like to maintain here as ready reckoner. Please feel free to go around my pages. Bouquets and Brickbats are welcomed. :-)
Thursday, March 18, 2010
Thursday, March 04, 2010
Setting up of SVN and WebSVN.
Procedure to create a SVN
---------------------------
Package requirement:
================
Creation of SVN Directory and initialization of SVN
SVN directory location is /srv/svn/repos
Download a copy of WebSVN on the server
Copy the the extracted websvn to /var/www/html/webSVN
$config->setSedPath('/bin/');
$config->setTarPath('/bin/');
$config->setGZipPath('/bin/');
$config->setZipPath('/usr/bin/');
$config->parentPath('/srv/svn/repos'); -------- > Path of your repository
$config->addTemplatePath($locwebsvnreal.'/templates/calm/');
$config->addTemplatePath($locwebsvnreal.'/templates/BlueGrey/');
$config->addTemplatePath($locwebsvnreal.'/templates/Elegant/');
$config->setTemplatePath($locwebsvnreal.'/templates/BlueGrey/');
Now from your web-browser access http://servername/webSVN - this should give you access to your svn thru web interface
---------------------------
Package requirement:
================
- subversion.i386 1.6.5-1 installed
- subversion-devel.i386 1.6.5-1 installed
- subversion-perl.i386 1.6.5-1 installed
- subversion-python.i386 1.6.5-1 installed
Creation of SVN Directory and initialization of SVN
SVN directory location is /srv/svn/repos
- mkdir /srv/svn/repos
- svnadmin create --fs-type fsfs /srv/svn/repos
svn import -m "Initial import" project1 file:///home/project1code
Download a copy of WebSVN on the server
- http://websvn.tigris.org/servlets/ProjectDocumentList;jsessionid=24F17B3F5279F7DE3BB39F064A2C4A03
Copy the the extracted websvn to /var/www/html/webSVN
- cp /var/www/html/webSVN/include/distconfig.php to /var/www/html/webSVN/include/config.php
- modify /var/www/html/webSVN/include/config.php
$config->setSedPath('/bin/');
$config->setTarPath('/bin/');
$config->setGZipPath('/bin/');
$config->setZipPath('/usr/bin/');
$config->parentPath('/srv/svn/repos'); -------- > Path of your repository
$config->addTemplatePath($locwebsvnreal.'/templates/calm/');
$config->addTemplatePath($locwebsvnreal.'/templates/BlueGrey/');
$config->addTemplatePath($locwebsvnreal.'/templates/Elegant/');
$config->setTemplatePath($locwebsvnreal.'/templates/BlueGrey/');
Now from your web-browser access http://servername/webSVN - this should give you access to your svn thru web interface
Subscribe to:
Posts (Atom)