WordPress.org

Ready to get started?Download WordPress

Forums

problem installing wp on debian linux localhost (2 posts)

  1. Greebstreebling
    Member
    Posted 1 year ago #

    Hi all

    I am tying to install wp on my linux box. It is a very straightforward desktop system running iceweasel browser and open office.

    I just want a local install (what I think is http://localhost)
    I looked on a few web pages and installed LAMP and got all that working ok - did the test and when I put http://localhost in the url the browser window displays the words:
    'It works!
    This is the default web page for this server.

    The web server software is running but no content has been added, yet.'

    So far so good.

    I then downloaded the WP package using the debian package manager and it installed it to usr/share/wordpress

    I looked at the 5 minute install but none of that works for me sorry, I have probably missed something.

    I presume I need to tell the apache2 thing where wordpress is do I?
    I went to etc/apache2/sites-enabled and found 000-default which I edited to say DocumentRoot usr/share/wordpress
    and

    <Directory /var/www/>

    the rest of the file I left alone.

    if I put http://localhost/wordpress/ as the url it says

    'Not Found

    The requested URL /wordpress/ was not found on this server.'

    Which files would need to be changed?

    Thanks very much for any help you can give.

  2. The Debian package manager version of WordPress is pretty wonky. If you use it you won't be able to follow any of the installation instructions found here on the Codex.

    It's much easier to install WordPress yourself.

    First remove the Debian package:
    apt-get remove wordpress
    apt-get autoremove
    apt-get purge

    Now install WordPress by downloading and unzipping it to your chosen directory and follow the 5 minute installation directions.

Topic Closed

This topic has been closed to new replies.

About this Topic