informatica:linux:subversion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
informatica:linux:subversion [2013/05/22 13:44] – javi | informatica:linux:subversion [2015/01/22 11:58] – [Subversion y apache] javi | ||
---|---|---|---|
Line 109: | Line 109: | ||
===== Subversion y apache ===== | ===== Subversion y apache ===== | ||
+ | |||
+ | ==== Apache >=2.4.x y subversion >=1.8.x ==== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | 1. Instalar paquetes | ||
+ | |||
+ | sudo aptitude update; sudo aptitude install apache2 subversion libapache2-svn | ||
+ | |||
+ | 2. Habilitar módulo de apache: | ||
+ | |||
+ | < | ||
+ | sudo a2enmod dav | ||
+ | sudo a2enmod dav_lock | ||
+ | sudo a2enmod dav_fs | ||
+ | </ | ||
+ | |||
+ | 3. Reiniciar apache | ||
+ | |||
+ | sudo service apache2 restart | ||
+ | |||
+ | 4. Crear una config de apache: | ||
+ | |||
+ | sudo vim / | ||
+ | | ||
+ | Con el siguiente contenido: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | DAV svn | ||
+ | # Automatically map any "/ | ||
+ | SVNParentPath /var/svn | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | 5. Ajustar permisos: | ||
+ | |||
+ | sudo chown -R www-data: | ||
+ | | ||
+ | 6. Cargar config de apache: | ||
+ | |||
+ | sudo a2enconf svn | ||
+ | sudo service apache2 reload | ||
+ | | ||
+ | 7. Probar: | ||
+ | |||
+ | http:// | ||
+ | |||
+ | Deberia ir a: | ||
+ | |||
+ | / | ||
+ | |||
+ | | ||
+ | |||
+ | |||
+ | ==== Apache <=2.2.x y subversion <=1.7.x ==== | ||
+ | |||
http:// | http:// |
informatica/linux/subversion.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1