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.
Tags:accesses, alias, apache, Backup, blog, configuration, configure, connection, create, daemons, databases, file, folders, httpd, install, logs, mysql, passwords, queries, roots, server, servers, services, sites, troubleshoot, usr, what
you can also grab the RSS feed or Subscribe to Techgurulive by Email

































July 18th, 2009 at 12:28 pm
Completely I share your opinion. In it something is also to me it seems it is excellent idea. I agree with you.
September 8th, 2009 at 10:28 pm
Thank for the list tutorial, i learn a lot here.
dav