Wordpress

From Cheaha
Revision as of 21:42, 5 December 2011 by Jpr@uab.edu (talk | contribs) (→‎End Users: Two quick FAQ entries to help with image use in blog posts.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Attention: Research Computing Documentation has Moved
https://docs.rc.uab.edu/


Please use the new documentation url https://docs.rc.uab.edu/ for all Research Computing documentation needs.


As a result of this move, we have deprecated use of this wiki for documentation. We are providing read-only access to the content to facilitate migration of bookmarks and to serve as an historical record. All content updates should be made at the new documentation site. The original wiki will not receive further updates.

Thank you,

The Research Computing Team

Overview

WordPress is a open source blog publishing application, but has evolved into a content management system through plugins and widgets. WordPress is built on PHP, MySQL and licensed under GPL.

End Users

Not much here yet, but a short list of how-to links to address common questions.

How do I share documents via my blog ?

Your blog includes a media library where you can store and share data. It is managed via the admin interface to your blog. The Wordpress Codex describes the Media Library.

How do I use include an image in my post?

Here is a useful link of using images within blog posts and additional information on how to add an image to a post.

Developers

For developers interested in customizing WordPress (themes, plugins etc), an AMP (Apache, MySQL, PHP) stack facilitates a quick setup. Recommended here, is one easy way to set up an AMP stack which has cross-platform capability ie., XAMPP developed by Apache Friends.

Mac OS X

XAMPP

1. Install and configure XAMPP for Mac. Here we are installing XAMPP-beta.
NOTE: Wordpress requires atleast PHP version of 4.3 and MySQL of 4.2 and XAMPP-beta provides the latest versions, MySQL (5.1.46) and PHP (5.3.2), which is compatible with the latest Wordpress software.
2. Start up xampp as root, either from xampp's control or from command line. This starts both Apache and mysql services.
$ sudo /Applications/XAMPP/xamppfiles/xampp start

Database

1. Set up a database for wordpres using xampp's phpmyadmin console. Go to http://localhost/phpmyadmin/ to open up phpmyadmin console
2. Create a database with name wordpress
NOTE: you can leave the database defaults for username and password, which for xampp's mysql is root and no password.
If you have secured xampp, make sure you change privileges for the user root for wordpress db accordingly.

Download WordPress

The following steps are from the wordpress famous 5-minute install.

Download wordpress, extract to ~/Sites

$ wget http://wordpress.org/latest.zip

$ unzip wordpress-3.0.3.zip -d ~/Sites

Run WordPress Installer

1. Browse to http://localhost/~short-username/wordpress
2. Wordpress offers to create and edit the wp-config.php. Fill in the database details as mentioned in the phpmyadmin console for wordpress database.
3. Finish installation

References

Wordpress installation troubleshoot
Wordpress getting started guide