Aviso: La información en esta página está desfasada / inacabada. /Christian

Hay tres tipos distintos de réplicas:

  • www
  • ftp (usuario y/o desarrollo)
  • svn

1.  Replicación de páginas web

Se puede crear una réplica de las páginas www de estas maneras:

  • usando anon svn
  • usando rsync
  • usando wget (u otro software absorbente)

El servidor que vaya a replicar www debería tener php. (Creo que se requiere para réplicas nacionales de lyx.) Si no tiene php hay que usar wget o algo similar, pero entonces se pierde el agradable aspecto dinámico.

2.  Configuración de una réplica de www.lyx.org

Construcción recientemente (2008-07-17) iniciada en esta sección.

Aspectos a configurar en una réplica de www.lyx.org.

  • Comprobación del código vía SVN
    ... ?
  • Descarga de copias de las fuentes de las páginas web
    Véase abajo.

2.1  Páginas para descargar

Aquí hay comandos para descargar las fuentes de las páginas web. Hay que colocarse en el directorio correcto antes de ejecutar los comandos.

Comandos de descarga:

 wget -O 'Site.AuthForm' \
      'http://www.lyx.org/wiki/index.php?n=Site.AuthForm?action=source'
 wget -O 'Site.AuthUser' \
      'http://www.lyx.org/wiki/index.php?n=Site.AuthUser?action=source'
 wget -O 'Site.EditForm' \
      'http://www.lyx.org/wiki/index.php?n=Site.EditForm?action=source'
 wget -O 'Site.EditQuickReference' \
      'http://www.lyx.org/wiki/index.php?n=Site.EditQuickReference?action=source'
 wget -O 'Site.GroupAttr' \
      'http://www.lyx.org/wiki/index.php?n=Site.GroupAttr?action=source'
 wget -O 'Site.InterMap' \
      'http://www.lyx.org/wiki/index.php?n=Site.InterMap?action=source'
 wget -O 'Site.LocalTemplates' \
      'http://www.lyx.org/wiki/index.php?n=Site.LocalTemplates?action=source'
 wget -O 'Site.PageActions' \
      'http://www.lyx.org/wiki/index.php?n=Site.PageActions?action=source'
 wget -O 'Site.PageListTemplates' \
      'http://www.lyx.org/wiki/index.php?n=Site.PageListTemplates?action=source'
 wget -O 'Site.PageNotFound' \
      'http://www.lyx.org/wiki/index.php?n=Site.PageNotFound?action=source'
 wget -O 'Site.Preferences' \
      'http://www.lyx.org/wiki/index.php?n=Site.Preferences?action=source'
 wget -O 'Site.Search' \
      'http://www.lyx.org/wiki/index.php?n=Site.Search?action=source'
 wget -O 'Site.SideBar' \
      'http://www.lyx.org/wiki/index.php?n=Site.SideBar?action=source'
 wget -O 'Site.Site' \
      'http://www.lyx.org/wiki/index.php?n=Site.Site?action=source'
 wget -O 'Site.TabMenu' \
      'http://www.lyx.org/wiki/index.php?n=Site.TabMenu?action=source'
 wget -O 'Site.UploadQuickReference' \
      'http://www.lyx.org/wiki/index.php?n=Site.UploadQuickReference?action=source'
 wget -O 'Web.AboutLyX' \
      'http://www.lyx.org/wiki/index.php?n=Web.AboutLyX?action=source'
 wget -O 'Web.AboutLyXMod' \
      'http://www.lyx.org/wiki/index.php?n=Web.AboutLyXMod?action=source'
 wget -O 'Web.AdditionalSoftware' \
      'http://www.lyx.org/wiki/index.php?n=Web.AdditionalSoftware?action=source'
 wget -O 'Web.Announcement-NewWebSite' \
      'http://www.lyx.org/wiki/index.php?n=Web.Announcement-NewWebSite?action=source'
 wget -O 'Web.BlanketPermission' \
      'http://www.lyx.org/wiki/index.php?n=Web.BlanketPermission?action=source'
 wget -O 'Web.Credits' \
      'http://www.lyx.org/wiki/index.php?n=Web.Credits?action=source'
 wget -O 'Web.DeveloperResources' \
      'http://www.lyx.org/wiki/index.php?n=Web.DeveloperResources?action=source'
 wget -O 'Web.Development' \
      'http://www.lyx.org/wiki/index.php?n=Web.Development?action=source'
 wget -O 'Web.DevelopmentNews' \
      'http://www.lyx.org/wiki/index.php?n=Web.DevelopmentNews?action=source'
 wget -O 'Web.DevFAQ' \
      'http://www.lyx.org/wiki/index.php?n=Web.DevFAQ?action=source'
 wget -O 'Web.Donate' \
      'http://www.lyx.org/wiki/index.php?n=Web.Donate?action=source'
 wget -O 'Web.Download' \
      'http://www.lyx.org/wiki/index.php?n=Web.Download?action=source'
 wget -O 'Web.Features' \
      'http://www.lyx.org/wiki/index.php?n=Web.Features?action=source'
 wget -O 'Web.GetInvolved' \
      'http://www.lyx.org/wiki/index.php?n=Web.GetInvolved?action=source'
 wget -O 'Web.GraphicalProfile' \
      'http://www.lyx.org/wiki/index.php?n=Web.GraphicalProfile?action=source'
 wget -O 'Web.GroupAttr' \
      'http://www.lyx.org/wiki/index.php?n=Web.GroupAttr?action=source'
 wget -O 'Web.Home' \
      'http://www.lyx.org/wiki/index.php?n=Web.Home?action=source'
 wget -O 'Web.HomeNewGraphic' \
      'http://www.lyx.org/wiki/index.php?n=Web.HomeNewGraphic?action=source'
 wget -O 'Web.HowToUseSVN' \
      'http://www.lyx.org/wiki/index.php?n=Web.HowToUseSVN?action=source'
 wget -O 'Web.I18n' \
      'http://www.lyx.org/wiki/index.php?n=Web.I18n?action=source'
 wget -O 'Web.I18n-trunk' \
      'http://www.lyx.org/wiki/index.php?n=Web.I18n-trunk?action=source'
 wget -O 'Web.License' \
      'http://www.lyx.org/wiki/index.php?n=Web.License?action=source'
 wget -O 'Web.MailingLists' \
      'http://www.lyx.org/wiki/index.php?n=Web.MailingLists?action=source'
 wget -O 'Web.Mirror' \
      'http://www.lyx.org/wiki/index.php?n=Web.Mirror?action=source'
 wget -O 'Web.News' \
      'http://www.lyx.org/wiki/index.php?n=Web.News?action=source'
 wget -O 'Web.NewWebsiteDevelopment' \
      'http://www.lyx.org/wiki/index.php?n=Web.NewWebsiteDevelopment?action=source'
 wget -O 'Web.OldIntro' \
      'http://www.lyx.org/wiki/index.php?n=Web.OldIntro?action=source'
 wget -O 'Web.OtherLanguages' \
      'http://www.lyx.org/wiki/index.php?n=Web.OtherLanguages?action=source'
 wget -O 'Web.PageActions' \
      'http://www.lyx.org/wiki/index.php?n=Web.PageActions?action=source'
 wget -O 'Web.PressAboutLyX' \
      'http://www.lyx.org/wiki/index.php?n=Web.PressAboutLyX?action=source'
 wget -O 'Web.PressReleaseLyX1-0-0' \
      'http://www.lyx.org/wiki/index.php?n=Web.PressReleaseLyX1-0-0?action=source'
 wget -O 'Web.RoadMap' \
      'http://www.lyx.org/wiki/index.php?n=Web.RoadMap?action=source'
 wget -O 'Web.Screencasts' \
      'http://www.lyx.org/wiki/index.php?n=Web.Screencasts?action=source'
 wget -O 'Web.Screenshots' \
      'http://www.lyx.org/wiki/index.php?n=Web.Screenshots?action=source'
 wget -O 'Web.Search' \
      'http://www.lyx.org/wiki/index.php?n=Web.Search?action=source'
 wget -O 'Web.SideBar' \
      'http://www.lyx.org/wiki/index.php?n=Web.SideBar?action=source'
 wget -O 'Web.SiteDocumentation' \
      'http://www.lyx.org/wiki/index.php?n=Web.SiteDocumentation?action=source'
 wget -O 'Web.SiteMap' \
      'http://www.lyx.org/wiki/index.php?n=Web.SiteMap?action=source'
 wget -O 'Web.SiteTranslation' \
      'http://www.lyx.org/wiki/index.php?n=Web.SiteTranslation?action=source'
 wget -O 'Web.Skins' \
      'http://www.lyx.org/wiki/index.php?n=Web.Skins?action=source'
 wget -O 'Web.Test' \
      'http://www.lyx.org/wiki/index.php?n=Web.Test?action=source'
 wget -O 'Web.TestBlank' \
      'http://www.lyx.org/wiki/index.php?n=Web.TestBlank?action=source'
 wget -O 'Web.TestFlagIcons' \
      'http://www.lyx.org/wiki/index.php?n=Web.TestFlagIcons?action=source'
 wget -O 'Web.TestGoogleSearch' \
      'http://www.lyx.org/wiki/index.php?n=Web.TestGoogleSearch?action=source'
 wget -O 'Web.Translation' \
      'http://www.lyx.org/wiki/index.php?n=Web.Translation?action=source'
 wget -O 'Web.TranslationHints' \
      'http://www.lyx.org/wiki/index.php?n=Web.TranslationHints?action=source'
 wget -O 'Web.VersioningSystem' \
      'http://www.lyx.org/wiki/index.php?n=Web.VersioningSystem?action=source'
 wget -O 'Web.VisualTour' \
      'http://www.lyx.org/wiki/index.php?n=Web.VisualTour?action=source'
 wget -O 'Web.Walkthrough' \
      'http://www.lyx.org/wiki/index.php?n=Web.Walkthrough?action=source'
 wget -O 'Web.Walkthrough2' \
      'http://www.lyx.org/wiki/index.php?n=Web.Walkthrough2?action=source'
 wget -O 'Web.Walkthrough3' \
      'http://www.lyx.org/wiki/index.php?n=Web.Walkthrough3?action=source'
 wget -O 'Web.Walkthrough4' \
      'http://www.lyx.org/wiki/index.php?n=Web.Walkthrough4?action=source'
 wget -O 'Web.Walkthrough5' \
      'http://www.lyx.org/wiki/index.php?n=Web.Walkthrough5?action=source'
 wget -O 'Web.Web' \
      'http://www.lyx.org/wiki/index.php?n=Web.Web?action=source'
 wget -O 'Web.WhatAboutKLyX' \
      'http://www.lyx.org/wiki/index.php?n=Web.WhatAboutKLyX?action=source'
 wget -O 'Web.WhatIsLyX' \
      'http://www.lyx.org/wiki/index.php?n=Web.WhatIsLyX?action=source'

3.  Réplica ftp

Las réplicas de los sitios ftp se pueden crear de las siguientes formas:

  • ftp
  • rsync (solo ftp.devel)

4.  Réplica cvs

La réplica de cvs se puede crear de las siguientes formas:

  • anon cvs
  • rsync

Si se quiere una réplica cvs será solo una réplica de lectura anónima, todos los escritos al repositorio deben ir todavía a cvs.lyx.org. (Esto es bastante fácil de hacer usando pserver)

5.  Réplica ftp

Las réplicas ftp son las más fáciles, no hace falta configuración local especial.

6.  Réplicas nacionales

Para hacer una réplica nacional (y tener un nombre xx.lyx.org asociado) hay que disponer de un enlace 24/7 a internet. Probablemente no es necesario un gran ancho de banda (al menos para www; ftp/cvs necesitan más).

En los sitios web con réplicas nacionales en los que el idioma no es inglés, se puede considerar la creación de una parte específica en el idioma del sitio web. Estas páginas extras pueden servir como una introducción a LyX para gente que no entiende el inglés. También pueden incluir características específicas concernientes al idioma o problemas relacionados con mapas de teclado, edición derecha-izquierda, fuentes.... Por último, pueden constituirse como un sitio de referencia para el proyecto de traducción de la documentación, así como para mantener plantillas específicas del idioma u otros archivos -especialmente si tales archivos no se incluyen en la distribución principal de LyX.

Un sitio específico de idioma debería ser http://www.xx.lyx.org/yy, donde yy es el código de dos letras ISO 639 para el idioma. Por ejemplo, la réplica italiana de LyX tiene una página LyX que es http://www.it.lyx.org/it/.

7.  Otras cosas

Para ver lo que ofrece rync en baywatch.lyx.org, ejecuta:

rsync baywatch.lyx.org::

para obtener un listado de los diferentes módulos rsync. Léase man rsync para obtener más información sobre el uso de rsync.

Esta página web está en construcción. Me gustaría dar descripciones más detalladas sobre la configuración de los diferentes tipos de réplicas; cómo actualizar, y así sucesivamente. (cron,at etc. scripts locales)

Probablemente haremos además algunos cambios al código php para poder detectar cuándo estamos ejecutando en una réplica. Algunas cosillas tendrán que ser distintas en las réplicas y en el sitio principal.