Wordpress: Difference between revisions

From Cheaha
Jump to navigation Jump to search
(→‎Overview: add wp intro)
(→‎End Users: Two quick FAQ entries to help with image use in blog posts.)
 
(4 intermediate revisions by one other user not shown)
Line 5: Line 5:


== End Users ==
== 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 [http://codex.wordpress.org/Inserting_Images_into_Posts_and_Pages#Media_Library Wordpress Codex] describes the Media Library.
=== How do I use include an image in my post? ===
Here is a useful link of [http://codex.wordpress.org/Using_Images#In_Posts_and_Pages using images within blog posts] and additional information on [http://codex.wordpress.org/Inserting_Images_into_Posts_and_Pages how to add an image to a post].


== Developers ==
== 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., [http://docs.uabgrid.uab.edu/wiki/XAMPP XAMPP] developed by Apache Friends.
=== Mac OS X ===
==== XAMPP ====
:1.  [http://docs.uabgrid.uab.edu/wiki/XAMPP 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.
<pre>
$ sudo /Applications/XAMPP/xamppfiles/xampp start
</pre>
==== 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 [http://docs.uabgrid.uab.edu/wiki/XAMPP#Mac_OS_X_3 secured xampp], make sure you change privileges for the user '''root''' for ''wordpress'' db accordingly.
==== Download WordPress ====
The following steps are from the [http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install wordpress famous 5-minute install].
Download wordpress, extract to '''~/Sites'''
<pre>
$ wget http://wordpress.org/latest.zip
$ unzip wordpress-3.0.3.zip -d ~/Sites
</pre>
==== Run WordPress Installer ====
:1. Browse to http://localhost/~short-username/wordpress
:2. Wordpress offers to [http://codex.wordpress.org/Installing_WordPress#Setup_configuration_file create and edit the '''wp-config.php''']. Fill in the database details as mentioned in the phpmyadmin console for '''wordpress''' database.
:3. [http://codex.wordpress.org/Installing_WordPress#Finishing_installation Finish installation]


== References ==
== References ==
: [http://codex.wordpress.org/Installing_WordPress#Common_Installation_Problems Wordpress installation troubleshoot]
: [http://codex.wordpress.org/New_To_WordPress_-_Where_to_Start Wordpress getting started guide]

Latest revision as of 21:42, 5 December 2011

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