GNU/Linux >> Linux Esercitazione >  >> Cent OS

Come configurare un server SVN su CentOS, RHEL e Fedora

Subversion è un sistema open source di controllo di versione. Ogni modifica ai file viene registrata come nuova revisione nel repository.

1. Installare Apache

yum install httpd
service httpd restart
chkconfig httpd on

2. Installare Subversion

yum install subversion mod_dav_svn

3. Configurare Apache

Modifica /etc/httpd/conf.d/subversion.conf e imposta:

Alias /svn /var/svn
<Location /svn>
DAV svn
SVNParentPath /var/svn
AuthType Basic
AuthName "Subversion User Authentication"
AuthUserFile /etc/svn-users
Require valid-user
</Location>

4. Creare repository

cd /var/svn
svnadmin create myrepo
chown -R apache.apache myrepo

5. Creare utenti

touch /etc/svn-users
htpasswd -m /etc/svn-users user1

6. Accesso

Visita https://example.com/svn/myrepo/ e usa le credenziali create.

Cent OS
  1. Come configurare un server SFTP su CentOS

  2. Come installare Puppet su CentOS 8 / RHEL 8

  3. Log centralizzati su CentOS 6 / RHEL 6: server syslog con rsyslog

  4. Configurare un server syslog centralizzato su CentOS 7 e RHEL 7

  5. Configurare un server NFS su CentOS 7 / RHEL 7

Abilitare repository EPEL su CentOS 8 e RHEL 8

Installare e testare le prestazioni di Redis su CentOS 8 / RHEL 8

Configurare server e client NFS su CentOS 8 o RHEL 8

Installare Jenkins su CentOS 8 / RHEL 8

Costruire un server SVN su CentOS: configurazione e test

Come configurare un server syslog centralizzato su CentOS 8 / RHEL 8