Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to create a site based on Wordpress that is only accessible from my own machine (localhost). In other words, I do not want my computer to be a server. I just want it to have all the files necessary for a website in /var/www/, so that I can later copy-paste those files an another machine which will be a server.

Therefore I installed the wordpress package and I am about to install a graphical interface to manage the files. What should I do? Do I need somthing called LAMP?

I have seen this question on WordPress Answers, but I wonder if someone could provide instructions that are more Ubuntu specific or easier to follow, especially if they are updated to the Unity interface.

share|improve this question
add comment

3 Answers 3

up vote 7 down vote accepted

You can use sudo tasksel to install a local LAMP server.

After selecting LAMP you can install it (you may need to scroll down the list to find the 'OK' button) and while installing, tasksel will ask you for the password for the MySQL installation (which is very important not to forget!).

Then you can open your browser and type http://localhost and you should see It works.

share|improve this answer
    
+1 for using tasksel -- ubuntu / debian specific systems implement this type of "automagic" setup. –  lazyPower Jan 29 '12 at 23:22
    
"Automagic" meaning that I should not do any configuration after the installation? –  Agmenor Jan 30 '12 at 0:17
    
So, in Tasksel I have the "LAMP server" option checked. What should I do next? –  Agmenor Jan 30 '12 at 2:03
add comment

First install XAMPP, then unzip wordpress.zip and change permissions. It should be made writable. Do not edit config-sample.php file.

Create a database using PHPMyAdmin, then move the unzipped folder to xampp directory. Start XAMPP, open up your web browser and type localhost/xampp/wordpress/wp-admin/install.php.

Follow the instructions. Leave the password field empty and database prefix empty.

share|improve this answer
add comment

Maybe you would like to try Xampp

It turns your computer into a "private server" you can use, with MySQL and Apache technologies. All the instructions are on the website. I hope this is what you are looking for!

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.