Installing WordPress on Mitel SME e-smith

WordPress is an excellent blogging tool for running a personal blog. It includes many advanced features, like GeoURL support, XFN for link relationships, etc.

Pick where you're going to put it. I'm going to assume that you are going to install it into its own own ibay, named blog. On the command line, move to the blog ibay

cd /home/e-smith/files/ibays/blog

  1. Download the latest version of WordPress

    wget http://wordpress.org/latest

  2. Untar it

    tar xvfz wordpress

  3. Move the content to the html directory

    mv wordpress/* html/

  4. Make a database to hold your blog

    mysqladmin create wordpress

  5. Make a copy of the config file


    cd html/

    cp wp-config-sample.php wp-config.php

  6. Use pico to edit the config file

    pico wp-config.php

    define('DB_NAME', 'wordpress');     // The name of the database
    define('DB_USER', 'username');     // Your MySQL username
    define('DB_PASSWORD', 'password'); // ...and password
    define('DB_HOST', 'localhost');     // 99% chance you won't need to change this$
    

    As the username, use admin and your admin password.

  7. At this point, WordPress itself can be used to complete the installation. Go to the URL for your blog ibay, e.g. yourdomain.com/blog.

Comments

Fixed it. Set name and password up for database with one line.

I got it working. I guess I just had to make a name and password for the database. Looks like this one line did it:

"mysqladmin -u root password mypassword"

The mypassword is my real password. I made sure that the wp-config file had root as my name and the password I all ways used. I was not sure that e-smith would let you use the database with root as a name. But it's working good. You should tell people that in your post to all so do that one line. I think that's all I had to do. The web page were it helped me is at: http://mysqld.active-venture.com/Passwords.html

About the last line in there.

-Raymond Day

I am not so sure changing the database password is good.

I went to http://www.l-download.homelinux.com/SME/Serveur_et_service/ and downloaded the dmc-mitel-phpmyadmin-2.3.0-1.noarch.rpm After phpMyAdmin installed it said what the password was. It was a real long one. I am not sure because of reading this: http://www.familybrown.org/howtos/mysql-password-howto.html telling you to DON'T change the database password. But it looks like it all is working real good.

If I did not install that phpMyAdmin RPM I don't know how I could of the the password. I think that long password is all I needed.

-Raymond Day

wordpress says "Error establishing a database connection"

I did the steps you said in there. But first I had to make a ibay called blog. You did not say that. I had to go to the http://192.168.0.2/server-manager then "Information bays" on the side and "create a new information bay." I named it blog and then I had the three folders at /home/e-smith/files/ibays/blog named "cgi-bin", "files", and "html" I have the files for wordpress in the html folder. I made the database with the command "mysqladmin create wordpress" looks like all is ok. I edit "wp-config.php" with the username "admin" and my admin password. But when I go to http://192.168.0.2/blog/wp-admin/install.php it will all ways say:

"

Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down."

I don't know what is wrong. You must of forgot some step to tell for the data base I guess. Maybe you all ready had one so it worked for you. I don't know. I hope you can help.

-Raymond Day