Title: problem installing wp on debian linux localhost
Last modified: August 20, 2016

---

# problem installing wp on debian linux localhost

 *  [Greebstreebling](https://wordpress.org/support/users/greebstreebling/)
 * (@greebstreebling)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/problem-installing-wp-on-debian-linux-localhost/)
 * 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](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](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/](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.

Viewing 1 replies (of 1 total)

 *  [Chris Olbekson](https://wordpress.org/support/users/c3mdigital/)
 * (@c3mdigital)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/problem-installing-wp-on-debian-linux-localhost/#post-3034537)
 * 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.

Viewing 1 replies (of 1 total)

The topic ‘problem installing wp on debian linux localhost’ is closed to new replies.

## Tags

 * [linux](https://wordpress.org/support/topic-tag/linux/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 1 reply
 * 2 participants
 * Last reply from: [Chris Olbekson](https://wordpress.org/support/users/c3mdigital/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/problem-installing-wp-on-debian-linux-localhost/#post-3034537)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
