Logo Patagonia.png

Diferencia entre revisiones de «Instalacion de MediaWiki»

De Wikiexplora
Saltar a: navegación, buscar
(Página creada con «This is how you install mediawiki on your account, 1) Create or pick an "Static/PHP/CGI" type application. For this I am going to use the default installed 'htdocs' app. ...»)
 
 
(No se muestran 3 ediciones intermedias de 2 usuarios)
Línea 1: Línea 1:
 
This is how you install mediawiki on your account,
 
This is how you install mediawiki on your account,
  
1) Create or pick an "Static/PHP/CGI" type application. For this I am going to use the default installed 'htdocs' app.
+
1) En webfaction, create or pick an "Static/PHP/CGI" type application. For this I am going to use the default installed 'htdocs' app.
  
2) Create a MySQL database, write down the database name and password.
+
2) En webfaction, crear a MySQL database, write down the database name and password.
  
 
http://docs.webfaction.com/user-guide/databases.html
 
http://docs.webfaction.com/user-guide/databases.html
 +
 
3) Bind the application to a domain with a website record.
 
3) Bind the application to a domain with a website record.
  
 
http://docs.webfaction.com/user-guide/websites.html#creating-a-website
 
http://docs.webfaction.com/user-guide/websites.html#creating-a-website
 +
 
4) SSH into the server and run these commands,
 
4) SSH into the server and run these commands,
  
 
Change working directory to the media wiki directory,
 
Change working directory to the media wiki directory,
  
$ cd ~/webapps/blabla/
+
'''''$ cd ~/webapps/blabla/'''''
 
Download media wiki with 'wget'
 
Download media wiki with 'wget'
  
$ wget http://download.wikimedia.org/mediawiki/1.25/mediawiki-1.25.1.tar.gz
+
'''''$ wget http://download.wikimedia.org/mediawiki/1.25/mediawiki-1.25.1.tar.gz'''''
 
Extract the tarball (mediawiki-1.25.1.tar.gz) to the current working directory (.)
 
Extract the tarball (mediawiki-1.25.1.tar.gz) to the current working directory (.)
  
$ tar -xvvf mediawiki-1.25.1.tar.gz
+
'''''$ tar -xvvf mediawiki-1.30.0.tar.gz'''''
  
 
Subir el directorio un nivel para que los archivos no queden adentro de la carpeta mediawiki-1.25.1
 
Subir el directorio un nivel para que los archivos no queden adentro de la carpeta mediawiki-1.25.1
$ mv ~/webapps/blabla/mediawiki-1.25.1/* ~/webapps/blabla/
+
'''''$ mv ~/webapps/blabla/mediawiki-1.25.1/* ~/webapps/blabla/'''''
 +
 
 +
5) Navigate to the URL de la wiki + /mw-config/index.php, You should see the mediawiki installation.
  
 +
6) En webfaction, crear usuario de base de datos
  
5) Navigate to the URL defined in step 3, You should see the mediawiki installation.
+
7) En webfaction, al usuario creado en el paso anterior '''asignar permisos''' a la base de datos de la nueva wiki que se está creando
  
6) Fill out the installation information, database name and database user are the same. Database character set, I suggest 'MySQL 4.1/5.0 UTF-8' and not the default as binary data can cause issues on shared mysql server when in large size.
+
8) Fill out the installation information,  
  
7) Once the installation is done it will say you need to move the config file, you can do this by running this in SSH,
+
Poner el nombre de la base de datos de Webfaction, que es el mismo que se pone en el campo usuario de la base de datos
  
$ mv config/LocalSettings.php .
+
Rellenar las preguntas.
  
That should get media wiki installed for you.
+
9) Subir el archivo LocalSettings al directorio BlaBla y sacar el archivo index.html de BlaBla para que no lea el Hello World

Revisión actual del 21:34 8 abr 2018

This is how you install mediawiki on your account,

1) En webfaction, create or pick an "Static/PHP/CGI" type application. For this I am going to use the default installed 'htdocs' app.

2) En webfaction, crear a MySQL database, write down the database name and password.

http://docs.webfaction.com/user-guide/databases.html

3) Bind the application to a domain with a website record.

http://docs.webfaction.com/user-guide/websites.html#creating-a-website

4) SSH into the server and run these commands,

Change working directory to the media wiki directory,

$ cd ~/webapps/blabla/

Download media wiki with 'wget'

$ wget http://download.wikimedia.org/mediawiki/1.25/mediawiki-1.25.1.tar.gz

Extract the tarball (mediawiki-1.25.1.tar.gz) to the current working directory (.)

$ tar -xvvf mediawiki-1.30.0.tar.gz

Subir el directorio un nivel para que los archivos no queden adentro de la carpeta mediawiki-1.25.1

$ mv ~/webapps/blabla/mediawiki-1.25.1/* ~/webapps/blabla/

5) Navigate to the URL de la wiki + /mw-config/index.php, You should see the mediawiki installation.

6) En webfaction, crear usuario de base de datos

7) En webfaction, al usuario creado en el paso anterior asignar permisos a la base de datos de la nueva wiki que se está creando

8) Fill out the installation information,

Poner el nombre de la base de datos de Webfaction, que es el mismo que se pone en el campo usuario de la base de datos

Rellenar las preguntas.

9) Subir el archivo LocalSettings al directorio BlaBla y sacar el archivo index.html de BlaBla para que no lea el Hello World