I have just installed an SVN server on a CentOS 5.4 machine. how I can start the SVN server automatically at the boot of the machine.
Anas
I have just installed an SVN server on a CentOS 5.4 machine.
Did you install mod_dav_svn (Apach httpd module) or the standalone svnserve?
how I can start the SVN server automatically at the boot of the machine.
If it is mod_dav_svn, just make sure that Apache httpd is started automatically:
sudo /sbin/chkconfig httpd on (or via System > Administration > Services if you have the UI).
I never used seriously the the standalone svnserve, but I guess you would have to start it explicitly either by: - adding the command in /etc/rc.local (called by each reboot, but may be not so clean?) - write your own script under /etc/init.d
I would definitely suggest to use it as an httpd module (much easier and flexible). It requires a little Apache config though: http://svnbook.red-bean.com/en/1.5/svn.serverconfig.httpd.html (note that this link is for SVN 1.5, but the config is the same for SVN 1.4, which is the one provided by CentOS base)
From: Anas Alnaffar a.alnaffar@tijaritelecom.com
I have just installed an SVN server on a CentOS 5.4 machine. how I can start the SVN server automatically at the boot of the machine.
How did you install it... from rpm? source? Using builtin auth or ssh? What does the documentation say? Does it provide an init.rd script? If so, check 'chkconfig'
JD
From: Anas Alnaffar a.alnaffar@tijaritelecom.com
I have just installed an SVN server on a CentOS 5.4 machine. how I can start the SVN server automatically at the boot of the machine.
How did you install it... from rpm? source?
From rpm
Using builtin auth or ssh?
Builtin
What does the documentation say? Nothing about it
Does it provide an init.rd script? NO
If so, check 'chkconfig' No
JD
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 1/13/2010 12:41 AM, Anas Alnaffar wrote:
From: Anas Alnaffara.alnaffar@tijaritelecom.com
I have just installed an SVN server on a CentOS 5.4 machine. how I can start the SVN server automatically at the boot of the machine.
How did you install it... from rpm? source?
From rpm
Using builtin auth or ssh?
Builtin
What does the documentation say? Nothing about it
Does it provide an init.rd script? NO
If so, check 'chkconfig' No
Unless you already know what you are doing and have some reason to prefer the standalone svn server, I'd recommend using http: access instead. Install mod_dav_svn if you don't already have it, edit the repository and authentication locations into /etc/httpd.d/subversion.conf and restart httpd. Also, you might want to consider using a more current version than Centos includes (rpmforge has one) and perhaps installing viewvc for a nicer web browser view of the repository.
On 1/12/2010 8:40 AM, Anas Alnaffar wrote:
I have just installed an SVN server on a CentOS 5.4 machine. how I can start the SVN server automatically at the boot of the machine.
Unless you have some specific reason to run the standalone server, I'd recommend installing mod_dav_svn and using apache as the server (just edit /etc/httpd/conf.d/subversion.conf with the repository location). Also, the stock version supplied with Centos is very old. There's a more current version maintained in the rpmforge repo.