Friday, July 4, 2008

Fedora 9: Wordpress Install HowTo


WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability. WordPress is both free and priceless at the same time.


More simply, WordPress is what you use when you want to work with your blogging software, not fight it.

If your desktop is currently being powered by Fedora, here's a run down how to install the latest stable release of Wordpress for Fedora OS.

Fedora 9: Wordpress Installation

Basic Requirements:

1. Fedora 9 OS

2. Existing MySQL server

3. Internet Connectivity

You can install Wordpress from one of Fedora repo using yum . As root, install wordpress like so

# yum -y install wordpress

Yum downloads around 1.2MB of wordpress rpm package file. The rpm package installs wordpress and its configuration files to the following folders

/etc/wordpress/

/usr/share/wordpress/

Wordpress Configuration Setup

Backup your original wordpress conf file and modify /etc/wordpress/wp-config.php to suit your current MySQL access setup.

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

Wordpress Database Creation

1. Make sure your MySQL daemon service is currently running. If your MySQL server is not currently running, simply start MySQL service like so

# service mysqld start

2. Log on to your MySQL to create a database for Wordpress

# mysql -u your-sql-username -pyour-sql-password

3. Create your Wordpress database

mysql> create database putyourdbnamehere;

For successul database creation, you should be seeing similar lines like

Query OK, 1 row affected (0.01 sec)

4. Then, quit from MySQL

mysql> quit

5. Make sure your Apache HTTP sevice is up and running. If not,

# service httpd start

6. Browse your Wordpress and point your browser to http:/your-ip-address/wordpress and start blogging from your desktop.

Wordpress Troubleshooting

1. The default wordpress URL is currently /wordpress, that is http://your-ip-address/wordpress. To change the default wordpress URL, simply backup and modify your /etc/http/conf.d/wordpress.conf file that contains the following lines of directives.

Alias /wordpress /usr/share/wordpress

<Directory /usr/share/wordpress>
AllowOverride Options
</Directory>
Save after any directive changes and restart Apache HTTP service. Try to browse your wordpress URL again.

2. If you encounter "Error establishing database connection", simply make sure that your wordpress database has been created and your MySQL service is up and running.

If same problem persists, make sure that the line from /etc/wordpress/wp-config.php following the variable word DB_NAME is the same database name that you have recently created. Confirm also that your MySQL username and password is typed correctly.

# service mysqld start

Then try to browse your wordpress URL site again.

Successful Wordpress Installation

If all goes well, you should be seeing your first step image similar below

Wordpress


Simply proceed with the instructions shown from your wordpress URL similar to the image shown above.

Completion of Wordpress installation can be easily done using the wizard type of installation from your box HTTP URL.

To read more, visit wordpress.org

Related Post:

Plone CMS Installation on Fedora

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy