Installation MediaWiki: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Lphanvan (talk | contribs)
Lphanvan (talk | contribs)
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Mediawiki installation  ==
== Mediawiki installation  ==
Autor: Lauri Vosandi
Autor: Lauri Vosandi
'''REMEMBER:''' all of the installation executed by these command line below need to be under '''ROOT''':
=== Mediawiki Download and Requirements  ===
=== Mediawiki Download and Requirements  ===


You should install apache2, mysql-server and php by root:<br>  
You should install apache2, mysql-server and php by root:<br>  
<pre>
<pre>
root@kaka:~#apt-get install apache2 mysql-server php
lauri@kaka: sudo -i
 
sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
 
sudo apt-get install php7.0-mbstring


git clone https://gerrit.wikimedia.org/r/p/mediawiki/vendor.git
root@kaka:~# apt-get install apache2 mysql-server php


service apache2 restart
root@kaka:~# sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql


root@kaka:~# apt install python-minimal
</pre>
</pre>


Line 29: Line 29:
root@kaka:/var/www/html# rm index.html
root@kaka:/var/www/html# rm index.html


root@kaka:/var/www/html# git clone //insert link here.
root@kaka:/var/www/html# git clone https://github.com/lauriitcollege/core.git


root@kaka:/var/www/html# ls
root@kaka:/var/www/html# ls
Line 35: Line 35:
If it shows directory "core", keep following:
If it shows directory "core", keep following:
<pre>
<pre>
root@kaka:/var/www/html# cd /core
root@kaka:/var/www/html# chmod 777 core
 
root@kaka:/var/www/html# cd core


root@kaka:/var/www/html/core# cp -r * /var/www/html/
root@kaka:/var/www/html/core# cp -r * /var/www/html/
Line 41: Line 43:
Check files from core already copied to main folder of html
Check files from core already copied to main folder of html
<pre>
<pre>
root@kaka:/var/www/html/core# ls
root@kaka:/var/www/html/core# cd /var/www/html/
 
 
 


root@kaka:/var/www/html/# ls
</pre>
</pre>
Now, try to refresh the page.
Now, try to refresh the page.
Line 53: Line 53:
After refreshing the page. It could give you some of error which is normal.
After refreshing the page. It could give you some of error which is normal.


First you need to add plugins:
<pre>
root@kaka:/var/www/html/#: python plugins.py
</pre>
If it shows you this error related to '''php''':
If it shows you this error related to '''php''':
<pre>
<pre>
Line 65: Line 70:


<pre>
<pre>
lauri@kaka: sudo -i
root@kaka:~# cd /var/www/html
root@kaka:/var/www/html# git clone https://gerrit.wikimedia.org/r/p/mediawiki/vendor.git
root@kaka:/var/www/html# git clone https://gerrit.wikimedia.org/r/p/mediawiki/vendor.git


Line 74: Line 75:
</pre>
</pre>


if it demands '''mbstring''' or something else:
if it demands '''mbstring''' and '''xml''' or something else:


<pre>
<pre>
root@kaka:/var/www/html# apt-get install php-mbstring
root@kaka:/var/www/html# apt-get install php-mbstring
root@kaka:/var/www/html# apt-get install php-xml
root@kaka:/var/www/html# service apache2 restart
</pre>
</pre>


Line 92: Line 97:
- Configure some basic website interface such as language..so forth.
- Configure some basic website interface such as language..so forth.


=== LOCALSETTING.PHP ===
=== Localsetting.php ===


After finish your configuration, it will automatically download the '''Localsetting.php''' to your download directory or you should click to download it manually. Follow those command line.
After finish your configuration, it will automatically download the '''Localsetting.php''' to your download directory or you should click to download it manually. Follow those command line.


You need to copy '''Localsetting.php'''  to /html directory
You need to copy '''Localsetting.php'''  to /var/www/html/ directory
<pre>
 
</pre>
 
=== FreeMind extension  ===
 
[http://www.mediawiki.org/wiki/Extension:FreeMind http://www.mediawiki.org/wiki/Extension:FreeMind]


==== Eeldused  ====
***NOTE: your user folder is different from mine "lauri"
 
Nõrk turva on aksepteeritav - mm failide uploadimiseks tuleb keelata wiki skriptide kontroll ning see võib viia igasugu pahade asjadeni nagu javaskripti injection jne.<br> Olete valmis muutma wiki koodi
 
==== Download &amp; install  ====
<pre>
<pre>
www-data@kaka:/var/www/wiki/extensions# wget http://freemind.sourceforge.net/dimitry_mediawiki_freemind_extension/MediawikiExtension.zip
--2009-03-13 13:47:05--  http://freemind.sourceforge.net/dimitry_mediawiki_freemind_extension/MediawikiExtension.zip
Lahendan freemind.sourceforge.net... 216.34.181.96
Loon ühendust serveriga freemind.sourceforge.net|216.34.181.96|:80... ühendus loodud.
HTTP päring saadetud, ootan vastust... 200 OK
Pikkus: 6242 (6,1K) [application/zip]
Saving to: `MediawikiExtension.zip'


100%[==============================================================&gt;] 6&nbsp;242      --.-K/s  in 0,1s
lauri@kaka: sudo -i


2009-03-13 13:47:07 (45,1 KB/s) - `MediawikiExtension.zip' salvestatud [6242/6242]
root@kaka:~# cd /home/lauri/Downloads/
</pre>
Lae alla järgmised failid:<br>
http://sourceforge.net/project/downloading.php?group_id=7118&use_mirror=easynews&filename=freemind-browser-0_7_1.zip&36406726 <br>
http://www.efectokiwano.net/mm/freeMindFlashBrowser.zip <br>
Paki failid lahti:
<pre>
www-data@kaka:/var/www/wiki/extensions# unzip MediawikiExtension.zip
Archive:  MediawikiExtension.zip
  inflating: FreeMind.php
replace README? [y]es, [n]o, [A]ll, [N]one, [r]ename: n
  inflating: freemind/appletwindow.php
  inflating: freemind/appletwindowFunction.php
  inflating: freemind/flashwindow.php
  inflating: freemind/flashwindowFunction.php
www-data@kaka:~/wiki/extensions$ rm MediawikiExtension.zip
www-data@kaka:/var/www/wiki/extensions# cd freemind
www-data@kaka:/var/www/wiki/extensions/freemind# cp /home/argoe/Töölaud/free* .
www-data@kaka:/var/www/wiki/extensions/freemind# unzip freemind-browser-0_7_1.zip
Archive:  freemind-browser-0_7_1.zip
  inflating: freemindbrowser.jar
  inflating: freemindbrowser.html
www-data@kaka:/var/www/wiki/extensions/freemind# unzip freeMindFlashBrowser.zip
Archive:  freeMindFlashBrowser.zip
  inflating: bola.jpg
  inflating: bola4.gif
extracting: estrella.png
  inflating: flashfreemind.css
  inflating: flashobject.js
  inflating: freeMindFlashBrowser.mm
  inflating: freeMindFlashBrowser.mm.bak
  inflating: mindmaps.html
  inflating: readme.txt
  inflating: visorFreemind.swf
www-data@kaka:~/wiki/extensions/freemind$ rm *.zip
</pre>


==== Seadistus  ====
root@kaka:/home/lauri/Downloads/# cp -r Localsetthing.php /var/www/html/
 
LocalSettings.php faili lisa järgmine rida:  
<pre>include('extensions/FreeMind.php');
 
</pre>
! Selleks, et mm tüüpi faile uploadida, on vaja keelata skriptide kontroll uploadidtud failides Juhendid:<br>
http://freemind.sourceforge.net/wiki/index.php/Talk:Embedded_Mind_Maps#This_file_contains_HTML_or_script_code_that_may_be_erroneously_be_interpreted_by_a_web_browser
<br>
http://www.mediawiki.org/wiki/Allowing_HTML_Uploads <br>
 
==== Kasutus ja näide  ====
 
! Freemind töötab vaid wikisse '''uploaditud''' failidega <br>
<pre>&lt;mm&gt;[[Osadmin2009.mm]]&lt;/mm&gt;


</pre>
</pre>


=== WebsiteFrame extension  ===
Refresh the page to see its change Or Click to "if you have install your Localsetting you can enter the wiki"


[http://www.mediawiki.org/wiki/Extension:Website_in_iFrame http://www.mediawiki.org/wiki/Extension:Website_in_iFrame]
=== Install skin for wiki ===


==== Eeldused  ====
After copying the Localsetting.php to your own html folder. Refresh the page if nothing changes it will give you the message below:


Nõrk turva on aksepteeritav - extansion loob võimaluse cross-site skriptimiseks [http://en.wikipedia.org/wiki/Cross-site_scripting http://en.wikipedia.org/wiki/Cross-site_scripting]
'''"Whoops! The default skin for your wiki, defined in $wgDefaultSkin as vector, is not available."'''


==== Download &amp; install ====
it means you need to install the skin (theme) for wiki. Here I will take Vector ( skin's name ) to install.


[http://www.mediawiki.org/wiki/Extension:Website_in_iFrame http://www.mediawiki.org/wiki/Extension:Website_in_iFrame] lehel on kood üleval. Salvesta see extensions kataloogi faili websiteFrame.php
<pre>


==== Seadistus  ====
lauri@kaka: sudo -i


LocalSettings.php faili lisa järgmine rida:  
root@kaka:~# cd /var/www/html/
<pre>include("extensions/websiteFrame.php");


</pre>  
</pre>
==== Kasutus ja näide  ====


Tuleb kasutada täielikku URLi a'la '''[http://www.yourWebsite.com http://www.yourWebsite.com]''' 
Here, you have to remove the original skins folder and create the new one. Following:
<pre>&lt;websiteFrame&gt;
<pre>
website=[website URL]
name=[string]
align=[top,middle,bottom,left,right]
height=[number]
width=[number,percentage]
border=[number]
scroll=[yes,no,auto]
longdescription=[long description URI]
&lt;/websiteFrame&gt;


</pre>
root@kaka:/var/www/html/# rm -r skins/
=== Groupportal extension  ===


[http://www.mediawiki.org/wiki/Extension:GroupPortal http://www.mediawiki.org/wiki/Extension:GroupPortal]
root@kaka:/var/www/html/# mkdir skins  # Remember to make a new skins folder, and check if it has created.


==== Eeldused  ====
</pre>


admin viitsib tekitada mõne kasutajagrupi koos õigustega, vaja tekitada ka mitu avalehte.<br> Kasutaja, kes on eraldi esilehega grupis, ei saa enam wiki originaal esilehte muuta.  
Now download the skin package:
<pre>
root@kaka:/var/www/html/# git clone https://github.com/lauriitcollege/Vector.git


==== Download &amp; install  ====
root@kaka:/var/www/html/# cd Vector/
<pre>www-data@kaka:~/wiki$ cd extensions/
www-data@kaka:~/wiki/extensions$ wget http://upload.wikimedia.org/ext-dist/GroupPortal-MW1.14-r30722.tar.gz
--2009-03-14 11:38:17--  http://upload.wikimedia.org/ext-dist/GroupPortal-MW1.14-r30722.tar.gz
Lahendan upload.wikimedia.org... 91.198.174.3
Loon ühendust serveriga upload.wikimedia.org|91.198.174.3|:80... ühendus loodud.
HTTP päring saadetud, ootan vastust... 200 OK
Pikkus: 803 [application/x-tar]
Saving to: `GroupPortal-MW1.14-r30722.tar.gz'


100%[================================================&gt;] 803        --.-K/s  in 0,002s
root@kaka:/var/www/html/Vector/# tar -xzf Vector-REL1_27-d11a80a.tar.gz -C /var/www/html/skins


2009-03-14 11:38:17 (426 KB/s) - `GroupPortal-MW1.14-r30722.tar.gz' salvestatud [803/803]
root@kaka:/var/www/html/Vector/# cd /var/www/html/skins


www-data@kaka:~/wiki/extensions$ tar -xvf GroupPortal-MW1.14-r30722.tar.gz
root@kaka:/var/www/html/skins/# ls      #check if Vector folder has been copied.
GroupPortal/
GroupPortal/GroupPortal.php
www-data@kaka:~/wiki/extensions$ rm GroupPortal-MW1.14-r30722.tar.gz
www-data@kaka:~/wiki/extensions$


</pre>  
</pre>
==== Seadistus  ====


LocalSettings.php faili lisa järgmine rida:
Check the Vector folder has already in the skins folder. If it does, One more step to finish your Wiki installation.
<pre>require_once( "extensions/GroupPortal/GroupPortal.php" );


</pre>
Now open the Localsetting.php and add the line in the end: ;
==== Kasutus ja näide  ====


Tekitage kasutajagrupp [http://www.mediawiki.org/wiki/Manual:User_rights http://www.mediawiki.org/wiki/Manual:User_rights] <br> n. lisades järgneva rea LocalSettings.php faili tekitate grupi kala ning annate neile kõikide lehtede lugemisõiguse:<br>
<pre>$wgGroupPermissions['kala']['read'] = true;


</pre>  
<pre>
!Kui gruppi on lisatud mõni isik ning kui grupi nime muuta või kustutada, jääb ta kuhugi mysql baasi ikkagi alles ning <br> seda listitakse jätkuvalt mõningatel erilehtedel. Parandada saab otse baasist.<br> <br> Lisa soovitud kasutajad soovitud gruppi: [[Eri:UserRights]]<br> <br> Tekitage [[MediaWiki:Groupportal]] leht ning lisage sinna gruppide ja esilehtede mapping.<br> Näiteks:
root@kaka:/var/www/html/skins/# cd /var/www/html/
<pre>kala|freemind
sysop|Sysop Home
*|Portals
RandomGroup|Random Home


</pre>
root@kaka:/var/www/html/: nano LocalSetting.php
=== GraphViz extension  ===
</pre>
 
and Add:
[http://www.mediawiki.org/wiki/Extension:GraphViz http://www.mediawiki.org/wiki/Extension:GraphViz]
 
==== Eeldused  ====
 
Vaja installeerida graphviz pakk:<br> root@kaka:~#apt-get install graphviz
 
==== Download &amp; install  ====
<pre>www-data@kaka:~/wiki$ cd extensions/
www-data@kaka:~/wiki/extensions$ wget http://mwextensions.cvs.sourceforge.net/*checkout*/mwextensions/mediawikiextensions/Graphviz.php
Hoiatus: HTTP ei toeta jokkereid.
--2009-03-14 12:18:27--  http://mwextensions.cvs.sourceforge.net/*checkout*/mwextensions/mediawikiextensions/Graphviz.php
Lahendan mwextensions.cvs.sourceforge.net... 216.34.181.108
Loon ühendust serveriga mwextensions.cvs.sourceforge.net|216.34.181.108|:80... ühendus loodud.
HTTP päring saadetud, ootan vastust... 200 OK
Pikkus: määramata [text/plain]
Saving to: `Graphviz.php'
 
    [ &lt;=&gt;                                                                                                                                                        ] 2&nbsp;322      --.-K/s  in 0,005s
 
2009-03-14 12:18:27 (450 KB/s) - `Graphviz.php' salvestatud [2322]
 
</pre>
==== Seadistus  ====
 
LocalSettings.php faili lisa järgmised read ning vaata, et dot asukoht oleks süsteemis sama.
<pre>include("extensions/Graphviz.php");
$wgGraphVizSettings-&gt;dotCommand = "/usr/bin/dot";
 
</pre>
==== Kasutus ja näide  ====
 
Palju näiteid on veebis [http://www.graphviz.org/Gallery.php http://www.graphviz.org/Gallery.php] <br>
<pre>&lt;graphviz renderer='neato' caption='Hello Neato'&gt;
graph G {
  run -- intr;
  intr -- runbl;
  runbl -- run;
  run -- kernel;
  kernel -- zombie;
  kernel -- sleep;
  kernel -- runmem;
  sleep -- swap;
  swap -- runswap;
  runswap -- new;
  runswap -- runmem;
  new -- runmem;
  sleep -- runmem;
}
&lt;/graphviz&gt;
 
</pre>
=== PDF Export extension  ===
 
[http://www.mediawiki.org/wiki/Extension:Pdf_Export http://www.mediawiki.org/wiki/Extension:Pdf_Export]
 
==== Eeldused  ====
 
Vaja installeerida htmldoc pakk + pakid millest ta sõltub:<br>
<pre>root@kaka:~# apt-get install htmldoc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  htmldoc-common libfltk1.1
The following NEW packages will be installed:
  htmldoc htmldoc-common libfltk1.1
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 5855kB of archives.
After this operation, 10,1MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ee.archive.ubuntu.com intrepid/main htmldoc-common 1.8.27-3 [5192kB]
Get:2 http://ee.archive.ubuntu.com intrepid/main libfltk1.1 1.1.9-4 [460kB]
Get:3 http://ee.archive.ubuntu.com intrepid/main htmldoc 1.8.27-3 [202kB]
Fetched 5855kB in 24s (238kB/s)
Varem valimata paki htmldoc-common valimine.
(Andmebaasi lugemine ... hetkel on paigaldatud 109296 faili ja kataloogi.)
Paki htmldoc-common lahtipakkimine (failist .../htmldoc-common_1.8.27-3_all.deb) ...
Varem valimata paki libfltk1.1 valimine.
Paki libfltk1.1 lahtipakkimine (failist .../libfltk1.1_1.1.9-4_i386.deb) ...
Varem valimata paki htmldoc valimine.
Paki htmldoc lahtipakkimine (failist .../htmldoc_1.8.27-3_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Paki htmldoc-common (1.8.27-3) paikasättimine ...
Paki libfltk1.1 (1.1.9-4) paikasättimine ...
 
Paki htmldoc (1.8.27-3) paikasättimine ...
 
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for menu ...
 
</pre>
==== Download &amp; install  ====
 
4 php faili kood on saadaval [http://www.mediawiki.org/wiki/Extension:Pdf_Export/Source_Code http://www.mediawiki.org/wiki/Extension:Pdf_Export/Source_Code] <br> tee uus kataloog ning salvesta need sinna.
<pre>www-data@kaka:~/wiki$ cd extensions/
www-data@kaka:~/wiki/extensions$ mkdir PdfExport
 
</pre>
==== Seadistus  ====
 
LocalSettings.php faili lisa järgmine rida:
<pre>require_once("extensions/PdfExport/PdfExport.php");
 
</pre>
==== Kasutus  ====
 
Tööriistakastis on link "'''Print as PDF'''", sellel klikkides prinditakse hetkel aktiivne wiki leht PDF faili.<br> '''! Fail laetakse alla kui index.php, nime ja laiendi peab käsitsi ümber nimetama!'''
 
=== FCKeditor extension  ===
 
[http://www.mediawiki.org/wiki/Extension:FCKeditor_(by_FCKeditor_and_Wikia) http://www.mediawiki.org/wiki/Extension:FCKeditor_(by_FCKeditor_and_Wikia)] <br> [http://mediawiki.fckeditor.net/index.php/FCKeditor_integration_guide http://mediawiki.fckeditor.net/index.php/FCKeditor_integration_guide]
 
==== Eeldused  ====
Peab arvestama, et FCK editor mudib ära olemasolevad artiklid, kui need uuesti salvestada ning see ei pruugi alati kõige paremini lõppeda!<br>
Lingid tehakse ringi, reavahetusi kustutatakse jne. Ei ole mõistlik paigaldada siis, kui kavatsetakse edaspidi veel käsitsi artikleid edida.
 
==== Download &amp; install  ====
 
tiri alla 1 fail veebist, [http://rs426.rapidshare.com/files/205304883/FCKeditor.zip http://rs426.rapidshare.com/files/205304883/FCKeditor.zip] <br> kopi see extensions kataloogi ning paki lahti.
<pre>www-data@kaka:~/wiki$ cd extensions/
www-data@kaka:~/wiki/extensions/$ cp /home/argoe/Töölaud/FCKeditor.zip .                                                                                                                     
www-data@kaka:~/wiki/extensions/$ unzip FCKeditor.zip 
www-data@kaka:~/wiki/extensions$ rm FCKeditor.zip
 
</pre>
==== Seadistus  ====
 
LocalSettings.php faili lisa järgmine rida:  
<pre>
<pre>
require_once( "$IP/extensions/FCKeditor/FCKeditor.php" );
wfLoadSkin( 'Vector' );
$wgUseAjax = true;
</pre>
==== Kasutus  ====


Voila - ongi kohe eriti fancy word-lookalike menüü olemas! õnneks või õnnetuseks on menüü vasakul ülemises nurgas olemas nupp kirjaga "wikitext"&nbsp;:D
sudo service apache2 restart  # restart apache2
 
</pre>
 
[[Category:IT infrastruktuuri teenused]]

Latest revision as of 00:57, 21 September 2016

Mediawiki installation

Autor: Lauri Vosandi


REMEMBER: all of the installation executed by these command line below need to be under ROOT:

Mediawiki Download and Requirements

You should install apache2, mysql-server and php by root:

lauri@kaka: sudo -i

root@kaka:~# apt-get install apache2 mysql-server php

root@kaka:~# sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql

root@kaka:~# apt install python-minimal

Download

I recommend you install the newest version for wiki. Followed these command line below:

lauri@kaka: sudo -i

root@kaka: apt install git

root@kaka:~# cd /var/www/html

root@kaka:/var/www/html# rm index.html

root@kaka:/var/www/html# git clone https://github.com/lauriitcollege/core.git

root@kaka:/var/www/html# ls

If it shows directory "core", keep following:

root@kaka:/var/www/html# chmod 777 core

root@kaka:/var/www/html# cd core

root@kaka:/var/www/html/core# cp -r * /var/www/html/

Check files from core already copied to main folder of html

root@kaka:/var/www/html/core# cd /var/www/html/

root@kaka:/var/www/html/# ls

Now, try to refresh the page.

Solving Problems

After refreshing the page. It could give you some of error which is normal.

First you need to add plugins:


root@kaka:/var/www/html/#: python plugins.py

If it shows you this error related to php:

sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql

sudo service apache2 restart

If it shows you this error: "some external libraries that MediaWiki requires are no longer"

you need to install:

root@kaka:/var/www/html# git clone https://gerrit.wikimedia.org/r/p/mediawiki/vendor.git

root@kaka:/var/www/html# service apache2 restart

if it demands mbstring and xml or something else:

root@kaka:/var/www/html# apt-get install php-mbstring

root@kaka:/var/www/html# apt-get install php-xml

root@kaka:/var/www/html# service apache2 restart

Installation

Now, refresh the page, if it gives no error, you need to click to install your wiki and configure your page:

Keep following the step what wiki page gives.

- Configure Database where you need to put your root account as well as Administrator account for main page.

- Configure wiki's name in which you will define your wiki page's name

- Configure some basic website interface such as language..so forth.

Localsetting.php

After finish your configuration, it will automatically download the Localsetting.php to your download directory or you should click to download it manually. Follow those command line.

You need to copy Localsetting.php to /var/www/html/ directory

      • NOTE: your user folder is different from mine "lauri"

lauri@kaka: sudo -i

root@kaka:~# cd /home/lauri/Downloads/

root@kaka:/home/lauri/Downloads/# cp -r Localsetthing.php /var/www/html/

Refresh the page to see its change Or Click to "if you have install your Localsetting you can enter the wiki"

Install skin for wiki

After copying the Localsetting.php to your own html folder. Refresh the page if nothing changes it will give you the message below:

"Whoops! The default skin for your wiki, defined in $wgDefaultSkin as vector, is not available."

it means you need to install the skin (theme) for wiki. Here I will take Vector ( skin's name ) to install.


lauri@kaka: sudo -i

root@kaka:~# cd /var/www/html/

Here, you have to remove the original skins folder and create the new one. Following:


root@kaka:/var/www/html/# rm -r skins/

root@kaka:/var/www/html/# mkdir skins   # Remember to make a new skins folder, and check if it has created.

Now download the skin package:

root@kaka:/var/www/html/# git clone https://github.com/lauriitcollege/Vector.git

root@kaka:/var/www/html/# cd Vector/

root@kaka:/var/www/html/Vector/# tar -xzf Vector-REL1_27-d11a80a.tar.gz -C /var/www/html/skins

root@kaka:/var/www/html/Vector/# cd /var/www/html/skins

root@kaka:/var/www/html/skins/# ls       #check if Vector folder has been copied.

Check the Vector folder has already in the skins folder. If it does, One more step to finish your Wiki installation.

Now open the Localsetting.php and add the line in the end: ;


root@kaka:/var/www/html/skins/# cd /var/www/html/

root@kaka:/var/www/html/: nano LocalSetting.php

and Add:

wfLoadSkin( 'Vector' );

sudo service apache2 restart  # restart apache2