01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.2.1<br />

Version 1: Local System<br />

Copy <strong>the</strong> compressed file to <strong>the</strong> directory xampp/htdocs and unpack<br />

it with FilZip 3 under Windows. Under Linux, use <strong>the</strong> command<br />

tar xvzf mediawiki-1.4.5.tar.gz<br />

The directory mediawiki-1.4.5 will be created.<br />

Tip: If, instead of finding <strong>the</strong> directory, you see <strong>the</strong> file mediawiki-<br />

1.4.tar, just unpack it again.<br />

To facilitate accessing <strong>the</strong> program, we recommend renaming <strong>the</strong> directory<br />

“mediawiki.”<br />

If you are working with Linux, you'll need to make <strong>the</strong> directory<br />

mediawiki/config writable. The best way to do this is under mediawiki<br />

with <strong>the</strong> command<br />

chmod a+w config<br />

To obtain updated information, first read <strong>the</strong> README file in <strong>the</strong> directory<br />

mediawiki. Then, to set up your wiki using <strong>the</strong> browser of<br />

your choice, enter <strong>the</strong> address of <strong>the</strong> installation directory; in our<br />

case, it is<br />

http://localhost/mediawiki<br />

This is <strong>the</strong> address under which we will subsequently access <strong>the</strong><br />

wiki. You'll first only see <strong>the</strong> message “You’ll have to set <strong>the</strong> wiki<br />

up first.” You can find out how to complete <strong>the</strong> installation in <strong>the</strong><br />

section after <strong>the</strong> next (2.2.3).<br />

2.2.2<br />

Version 2: Installation on a Web Host<br />

To install MediaWiki in <strong>the</strong> Internet, you first need an address<br />

(URL) and storage space on <strong>the</strong> Net. So-called web hosts can provide<br />

one. We assume that you have FTP access to your web space.<br />

In addition, in order to operate MediaWiki, you will also need to be<br />

able to access a MySQL database and run PHP scripts.<br />

3 You can find this program on <strong>the</strong> CD under /tools/filzip.<br />

Linux: assign<br />

rights<br />

Setup via<br />

browser<br />

2.2 Installing MediaWiki �<br />

�<br />

�<br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!