Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

http://localhost/home/boris/Its/sites/mediawiki-1.17.0/index.php

But firefox says the page is not found. While http://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?

share|improve this question
add comment

2 Answers 2

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

share|improve this answer
    
I think that the MediaWiki people probably skipped the Apache details because that's a bit of a slippery slope; if you explain how to set up a web site in Apache, they might get roped into explaining how to install Apache on Debian, or some of the other distros, and it could get out of hand very quickly. They might want to add it as a prerequisite to the documentation, though... –  Jacob Hume Jan 12 '12 at 20:53
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.