Wordpress

From Cheaha
Revision as of 17:37, 14 December 2010 by Ppreddy@uab.edu (talk | contribs) (→‎Developers: add wp install steps)
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

For end users interested in using Mediawiki for document collaboration send an email to...

Coming soon, a self servicing web interface for provisioning a mediawiki instance (TBD, a landing page...)

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

$ cd ~/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

References