YouTip LogoYouTip

Svn Start Mode

# SVN Startup Mode * * * First, configure the SVN repository on the server side Manually create the repository directory ```bash mkdir /opt/svn Use the svn command to create a repository ```bash svnadmin create /opt/svn/tutorial Use the svnserve command to start the service ```bash svnserve -d -r directory --listen-port port_number * **-r:** The configuration method determines the repository access method. * **--listen-port:** Specifies the SVN listening port. Without this parameter, SVN listens on 3690 by default. Due to different -r configuration methods, SVN startup can have two different access methods: **Method 1:** -r directly specifies the repository (called single repository svnserve mode) ```bash svnserve -d -r /opt/svn/tutorial In this case, one svnserve can only work for one repository. The configuration of repository permissions in the authz configuration file should be written as: ```ini admin=user1 dev=user2 [/] @admin=rw user2=r Use a URL like this: `svn://192
← Event_MetakeySvn Intro β†’