Status: | effective |
Progress: | 100% |
Version: | 2.0+ |
Installation | |
---|---|
Esta página describe cómo instalar Semantic MediaWiki. | |
Image / Video collection | |
Table of Contents | |
Esta página está en proceso de traducción. Disculpen las molestias.
La forma recomendada de instalar Semantic MediaWiki es usando Composer], pero si no puede usar Composer para la instalación y actualización, tiene la opción de instalar el 'archivo publicado' como se describe en esta página de ayuda.
- Por favor, compruebe siempre los requisitos Requisitos exactos y siga las instrucciones cuidadosamente. Asegúrese de comprender el descargo de responsabilidad legal en el archivo [1] antes de continuar.
- Para actualizar una wiki que ejecuta una versión anterior de SMW , asegúrese de leer la sección adecuada antes de comenzar la actualización.
- Note: Si está utilizando MediaWiki 1.23 y superior y/o PHP 5.4 y superior, le recomendamos instalar o actualizar a Semantic MediaWiki 2.0.0 o superior. Se desaconseja Semantic MediaWiki 1.9 y versiones anteriores para el uso en producción con estas versiones.
Notas generales[edit]
- Extension "Semantic MediaWiki"Allows to store and query data annotated to pages has dependencies that will be made available during the installation.
- Individual extensions to Semantic MediaWiki, e.g. extension "Semantic Result Formats"Provides additional formats for semantic queries may have different requirements.
- Individual extensions to Semantic MediaWiki may not be compatible with the
"~4.2"
release (yet). Please see those extensions' documentation pages, or contact the respective developers, for further information. - To upgrade an older version of Semantic MediaWiki, be sure to read the relevant section before starting the upgrade.
- If you are forced to use MediaWiki < 1.38.x it is recommended to set configuration parameter
$wgShellLocale
(MediaWiki.org) toC.UTF-8
. However, this setting is removed (now obsolete) for recent, supported versions, of MediaWiki >= 1.38.x 1
Environment[edit]
- Please always check the exact requirements and follow the instructions carefully. Make sure you understand the legal disclaimer in the file COPYING before proceeding.
- It is required that the PHP mbstring extension is enabled (provides PHP
mb_*()
multibyte functions such as mb_strpos in the php_mbstring.dll). This is standard but not enabled by default on some distributions of PHP. - It is required that PCRE - Perl Compatible Regular Expressions is at version 8.38 or later.2
- When using a SPARQL backend, Semantic MediaWiki and
onoi/http-request
requires access to the cURL functions of PHP. These functions may have to be enabled/installed to be available. - While not required (yet), it is suggested to have the PHP intl (ICU) extension enabled especially when Semantic MediaWiki is used in a UTF-8 (non-Latin) environment.
- For users that require symbolic links, some information can be found here.
Settings[edit]
- For installation and upgrade, Semantic MediaWiki needs the rights to create new tables (
CREATE
) and to alter tables (ALTER
). You can remove both rights after Semantic MediaWiki is set up. The maintenance script "setupStore.php"Allows to set up the data backend/store can use the DB credentials from "LocalSettings.php" for this purpose, avoiding the need of extra rights for the wiki DB user. See also the help page on database privileges, when usingSMWSQLStore3
. - When using the configuration parameter
$smwgDefaultStore
Sets the storage backend to be used for the semantic data set to a SQL data backend (default), Semantic MediaWiki creates and alters temporary tables for certain semantic queries. To do this, the wiki's database user account must have privileges forCREATE TEMPORARY TABLES
andDROP
. If you do not wish to allow such privileges, please read how to disable the use of temporary tables in "LocalSettings.php". See also the help page on database privileges, when usingSMWSQLStore3
. - Some notes and related settings for a multi-database environment
- Webserver notes lists settings or limitations that are imposed by a specific webserver environment
Recommendations[edit]
- Extended list of recommendations and settings
- It is highly recommended to have the parser cache and Semantic MediaWiki specific cache enabled and set to appropriate values.
- Information about regular maintenance tasks and the job queue can be found here.
Requisitos[edit]
La información de compatibilidad y los requisitos mínimos para Semantic MediaWiki se enumeran en la página de información en compatibilidad. Asegúrese de cumplirlos antes de instalar Semantic MediaWiki.
Instrucciones[edit]
Instalación[edit]
Seleccione las instrucciones de instalación más adecuadas para su entorno y para la última versión disponible de "~4.2"
. También hay una página de ayuda sobre cómo instalar en un servidor Windows.
Help page | Short description | Installation type | Installation method |
---|---|---|---|
Installation with shell access using Composer (MediaWiki 1.25+) | This pages describes the installation using native Composer support | new | Composer |
Installation without shell access using tarballs (MediaWiki 1.19.0 to 1.30.x) | This pages describes the installation where no shell access is available by using a tarball source. | new | Tarball |
Actualización[edit]
Help page | Short description | Installation type | Installation method |
---|---|---|---|
Upgrade from SMW 1.9.x or later to SMW 2.1.x (MW 1.19.0 to MW 1.21.x) | This page describes the upgrade procedure from SMW 1.9.x or later to SMW 2.1.x (non-native Composer support). | upgrade | Composer |
Upgrade from SMW 1.8.x to SMW 1.9.x (MW 1.19.0 to MW 1.23.x) | This page describes the upgrade procedure from SMW 1.8.x to SMW 1.9.x (native Composer support). | upgrade | Composer |
Upgrade from SMW 1.9.x or later to SMW 2.1.x (MW 1.22.0 to MW 1.24.x) | This page describes the upgrade procedure from SMW 1.9.x or later to SMW 2.1.x (native Composer support). | upgrade | Composer |
Upgrade from SMW 3.0.x to SMW 3.1.x (MW 1.31.0 to MW 1.33.x) | This page describes the upgrade procedure from SMW 3.0.x to SMW 3.1.x (native Composer support). | upgrade | Composer |
Upgrade from SMW 3.2.x to SMW 4.0.x (MW 1.35.0 to MW 1.37.x) | This page describes the upgrade procedure from SMW 3.2.x to SMW 4.0.x (native Composer support). | upgrade | Composer |
Upgrade from SMW 2.5.x to SMW 3.0.x (MW 1.27.0 to MW 1.31.x) | This page describes the upgrade procedure from SMW 2.5.x to SMW 3.0.x (native Composer support). | upgrade | Composer |
Upgrade from SMW 3.1.x to SMW 3.2.x (MW 1.31.0 to MW 1.35.x) | This page describes the upgrade procedure from SMW 3.1.x to SMW 3.2.x (native Composer support). | upgrade | Composer |
Upgrade from SMW 2.5.x to SMW 3.1.x (MW 1.31.0 to MW 1.33.x) | This page describes the upgrade procedure from SMW 2.5.x to SMW 3.1.x (native Composer support). | upgrade | Composer |
Upgrade from SMW 1.9.x or later to SMW 2.5.x (MW 1.25.0 to MW 1.30.x) | This page describes the upgrade procedure from SMW 1.9.x to SMW 2.5.x (native Composer support). | upgrade | Composer |
Upgrade from SMW 1.7.x or earlier | This pages describes the upgrade proposal for ≤ SMW 1.7.x. | upgrade | Tarball |
Pruebas[edit]
Es una buena práctica que después de una instalación exitosa (junto con todas las tareas de mantenimiento necesarias) se pruebe ejecutando pruebas automatizadas para verificar que un sistema funciona de la manera prevista, pero se recomienda que las pruebas 'no se ejecuten' en un 'servidor de producción' .
Las instrucciones sobre cómo ejecutar pruebas automatizadas se puede encontrar aquí.
Solución de Problemas[edit]
Si durante o después de la instalación se producen mensajes imprevistos, consulte la página solución de problemas, o si no, no dude en comunicarse a través de Help:Getting support o en crear una consulta utilizando el el sistema de seguimiento de problemas.
References
- ^ mw:phab:T291234
- ^ | | Semantic MediaWiki: GitHub issue comment gh:smw:3848:589920096