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. ...»)
 
Línea 6: Línea 6:
  
 
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.25.1.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 defined in step 3, You should see the mediawiki installation.
 
  
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.
+
5) Navigate to the URL de la wiki + /mw-config/index.php, You should see the mediawiki installation.
  
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,
+
6) Fill out the installation information,  
  
$ mv config/LocalSettings.php .
+
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
  
That should get media wiki installed for you.
+
Rellenar las preguntas.
 +
7) Subir el archivo LocalSettings al directorio BlaBla y sacar el archivo index.html de BlaBla para que no lea el Hello World

Revisión del 22:18 22 jun 2015

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.

2) Create 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.25.1.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) 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. 7) Subir el archivo LocalSettings al directorio BlaBla y sacar el archivo index.html de BlaBla para que no lea el Hello World