Results 1 to 9 of 9

Thread: How to install wordpress in koala

  1. #1
    Join Date
    Apr 2009
    Beans
    39

    How to install wordpress in koala

    Hi
    I have installed the LAMP server and mysql plus apache and all the things needed to run wordpress locally. However, i'm not able to run wordpress. I need urgent help.
    Please

    I used "tasksel" command at terminal and installed LAMP server

  2. #2
    Join Date
    May 2009
    Location
    Vancouver, BC
    Beans
    108
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to install wordpress in koala

    Can you explain the specific problem you're having running Wordpress?
    Last edited by rudy.b; November 26th, 2009 at 10:30 AM.

  3. #3
    Join Date
    Apr 2009
    Beans
    39

    Re: How to install wordpress in koala

    I did all these

    * Home
    * About

    Installing WordPress on Ubuntu

    October 30, 2008

    Install wordpress package:
    $ sudo apt-get install wordpress

    Enter in mysql prompt:
    $ mysql -u root -p

    Create a wordpress user:
    mysql> grant all privileges on *.* to wordpress_user@localhost;

    Set a password:
    mysql> set password for wordpress_user@localhost = PASSWORD(‘yourpass’);

    Create your database:
    mysql> create database wordpress_mad;

    Flush it:
    mysql> flush privileges;

    Add to /etc/apache2/apache2.conf :

    # wordpress
    Alias /blog /usr/share/wordpress
    <Directory /usr/share/wordpress>
    Options FollowSymLinks
    AllowOverride Limit Options FileInfo
    DirectoryIndex index.php
    </Directory>

    Remove wp-config.php link:
    # rm /usr/share/wordpress/wp-config.php

    Move config sample to original wp-config:
    # mv /usr/share/wordpress/wp-config-sample.php /usr/share/wordpress/wp-config.php
    After that, I edited /usr/share/wordpress/wp-config.php and replaced database variables with these ones I created.

    And I now get DATABASE CONNECTION ERROR on localhost.

  4. #4
    Join Date
    May 2009
    Location
    Vancouver, BC
    Beans
    108
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to install wordpress in koala

    Going by that error message, I would verify that the mysql server is running and that the login credentials and database name are all set correctly in the wp-config.php. And check that the mysql module is loaded for PHP.

  5. #5
    Join Date
    Apr 2009
    Beans
    39

    Re: How to install wordpress in koala

    The wp-config.php settings
    // ** MySQL settings - You can get this info from your web host ** //

    /** The name of the database for WordPress */

    define('DB_NAME', 'putyourdbnamehere');



    /** MySQL database username */

    define('DB_USER', 'wordpress');



    /** MySQL database password */

    define('DB_PASSWORD', 'testing');



    /** MySQL hostname */

    define('DB_HOST', 'localhost');



    /** Database Charset to use in creating database tables. */

    define('DB_CHARSET', 'utf8');



    /** The Database Collate type. Don't change this if in doubt. */

    define('DB_COLLATE', '');
    Database settings from terminal
    mysql> show databases
    -> ;
    +--------------------+
    | Database |
    +--------------------+
    | information_schema |
    | mysql |
    | phpmyadmin |
    | wordpress |
    +--------------------+
    4 rows in set (0.00 sec)
    PS: I've created the database Wordpress using phpmyadmin. Althoug, I didn't gave any password at the time of creation (it didn't asked any, though), i've tried both ways editing the wordpress config file. First by wordpress as db name ans BLANK pass, and other time, wordpress as DB name, and "testing" as pass (which is my root pass for mysql on ubuntu)

    Again, on opening 127.0.0.1---> IT WORKS!
    on opening [127.0.0.1/wordpress] or [localhost/wordpress] --->> Error establishing database connection

  6. #6
    Join Date
    Apr 2009
    Beans
    39

    Re: How to install wordpress in koala

    Ok. I;m successful in instlling and running Wordpress. But I'm having errors in installing themes. Whenver I try to install one,it gives some ftp kinda thing, which doesn't go further

  7. #7
    Join Date
    Apr 2009
    Beans
    39

    Re: How to install wordpress in koala

    Bump

  8. #8
    Join Date
    May 2009
    Location
    North West England
    Beans
    2,676
    Distro
    Ubuntu Development Release

    Re: How to install wordpress in koala

    I don't run Wordpress - if you're using wordpress.org (not .com) there's a good thread with instructions over here --> http://www.themelab.com/2008/03/02/h...rdpress-theme/

    Regards,

    Phill.

  9. #9
    Join Date
    Apr 2009
    Beans
    39

    Re: How to install wordpress in koala

    This is not for ubuntu. Installing wordpress locally on ubuntu is complete different thing. Please help, anybody

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •