ubuntu

How to install wordpress on ubuntu (step by step)

12

To install wordpress on your localhost, you must setup apache and mysql first. We have already posted a tutorial on How to install and configure Apache,PHP,MySql and phpMyadmin on ubuntu.Please read first.

1. Go to wordpress website and download the latest wordpress version in zip format on your desktop and extract. Now you will get wordpress folder.

2.Copy wordpress to /var/www folder

Method 1:
Go to Application -> Accessories -> Terminal. And type the below code in terminal and hit enter.

gksudo nautilus

Type your ubuntu password if needed.

Just copy and paste the wordpress folder from desktop to your /var/www folder.

OR

Method 2:
Go to Application -> Accessories -> Terminal. And type the below code in terminal and hit enter.

cd Desktop
sudo mv wordpress /var/www

Type your ubuntu password if needed.

3.Now create a database using phpMyAdmin, follow these steps:

For phpmyadmin,apache,mysql,php installation click here

Open your browser and type

http://localhost/phpmyadmin/

in the address bar and press enter. Type your mysql root username and password to login.

choose a name for your WordPress database,enter it in the Create new database field, and click Create.

4.Install and configure wordpress

Open

http://localhost/wordpress/

in your browser.
If you are getting below error
“Forbidden You don’t have permission to access /wordpress/ on this server”. just change the permission of your wordpress folder.To do this
Go to Application -> Accessories -> Terminal. And type the below code in terminal and hit enter.

sudo chmod 777 -R /var/www/wordpress

Type your ubuntu password if needed.

Now go to http://localhost/wordpress/ and click Create a Configuration File then click Let’s go!.

Type your database name,user name,password,database host and click Submit

and then click Run the install.Fill all the fields and click install wordpress.

Then click Log In.
Type your wordpress username and password to login.Thats all.

If you enjoyed this article, Get email updates (It’s Free)
avatar
Author :  

Hello visitor! Subscribe to the RSS feed or subscribe via email to receive updates.

Browse related articles

WordPress 3.6 Beta 3 released WordPress 3.6 Beta 3 released

WordPress 3.6 Beta 3 is now available for download and testing. What’s new in this beta? improvements to the image Post Format flow. a more polished revision comparison screen. a more quote-like quote format for Twenty Thirteen. oEmbed support for the popular music-streaming services Rdio and Spotify. Other wordpress 3.6 features: Own Post Formats UI. [...]

WordPress 3.6 Beta 2 released WordPress 3.6 Beta 2 released

WordPress 3.6 Beta 2 is now available for download and testing. What’s new in this beta? Modified approach for format choosing and switching Post Formats UI hide-able via Screen Options lot of bug fixes and polishing tweaks Other wordpress 3.6 features: Own Post Formats UI. New Twenty Thirteen default theme. embed audio and video files [...]

Ubuntu 13.10 (Saucy Salamander) Release Schedule Ubuntu 13.10 (Saucy Salamander) Release Schedule

Ubuntu 13.10 (Saucy Salamander) is scheduled for release in  17th October, 2013 Ubuntu 13.10 Release Schedule: Ubuntu 13.10 Alpha 1 – June 20th,2013 Ubuntu 13.10 Alpha 2 – July 18th,2013 Ubuntu 13.10 Alpha 3 – August 1st,2013 Ubuntu 13.10 Beta 1- September 5th,2013 Ubuntu 13.10 Final Beta – September 26th,2013 Ubuntu 13.10 Release Candidate – [...]

Fantastic Copyright Free WordPress plugin Fantastic Copyright Free WordPress plugin

Fantastic Copyright Free ia a free wordpress plugin to add a Copyright notice to the bottom of your WordPress site. Main features: Copyright (Text) Year – From and To Owner Name and the Owner URL Owner URL can be No Follow/ Do Follow All Rights Reserved (Text) Reset Button to Reset the Plugin to the [...]

12 Comments on How to install wordpress on ubuntu (step by step)

  1. [...] This post was mentioned on Twitter by Ubuntu Feed, connectwww. connectwww said: How to install wordpress on ubuntu (step by step) http://goo.gl/fb/7dOhH [...]

  2. avatar Jeremy Morley says:

    Be aware that if you access WordPress through “http://localhost/wordpress” in the first instance to do the installation, the blog site will use URLs based on http://localhost. This can be adjusted in the settings for the blog but you have to run the web browser on the machine itself adain to be able to access http://localhost/wordpress to be able to log into the blog.

  3. avatar OrO says:

    thank you it works perfectly

  4. avatar Guy K says:

    You skipped the part about unzipping wordpress after download.
    unzip wordpress-3.3.1.zip

  5. avatar Rasmus Hægg says:

    When I type:
    gksudo nautilus

    I get this:
    Initializing nautilus-gdu extension
    ** (nautilus:12202): DEBUG: Syncdaemon not running, waiting for it to start in NameOwnerChanged

    A root showing my desktop shows up, but thats it, whats wrong!?

  6. avatar Rasmus Hægg says:

    can’t make it work either.. “No such file…” but I have both the zip and the extracted folder on my desktop.

    • avatar admin says:

      Download the latest wordpress version in zip format on your ‘desktop‘ and extract. Now you will get ‘wordpress‘ folder (the folder name is wordpress)
      and then try the secound method.

  7. avatar Pep says:

    Oks thats all ready and it works!! :) But when i try to install new Themes apears connection details and ask me the ftp details and host.
     

Leave a Reply