Mobile app version of vmapp.org
Login or Join
Sent6035632

: Simple MediaWiki question I'm thinking about making a mediawiki website. At first I'd like to try it at localhost. I'm running Kubuntu 11.10, so I did: sudo aptitude install apache2 mysql-server

@Sent6035632

Posted in: #Localhost #Mediawiki #Mongodb

I'm thinking about making a mediawiki website. At first I'd like to try it at localhost. I'm running Kubuntu 11.10, so I did:

sudo aptitude install apache2 mysql-server php5 php5-mysql php5-cli


And I also fetched the latest mediawiki to:

/home/boris/Its/sites/mediawiki-1.17.0


Now I'm supposed to open
localhost/home/boris/Its/sites/mediawiki-1.17.0/index.php

But firefox says the page is not found. While localhost works. If I get it right - I have to open index.php to install mediawiki. So my question is - what do I do wrong?

I'm really sorry for this is might be a very simple question.

By the way do I have to make a db beforehand? Is it possible to use mongoDB as a db with mediawiki?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent6035632

2 Comments

Sorted by latest first Latest Oldest Best

 

@Sent6035632

Oh, I'm stupid, I found the page which explains how this should be done. I wonder why mediawiki docs have skipped these details.

10% popularity Vote Up Vote Down


 

@Bryan171

I think by default apache will look into /srv/www for websites, not the users home directory. The first thing I would check is where apache is looking.

If you search the internet for terms like "apache .conf virtual host" you should find several how-to guides. Here is the official documentation on virtual hosts.

You don't need to create a database, as this can be done during the installation. However you do need to tell it details about the database installation. It needs to be MySQL or PostgreSQL - see the installation guide. When you get index.php working this page takes you through the options.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme