Wordpress: Difference between revisions

From Cheaha
Jump to navigation Jump to search
(→‎Developers: add wp install steps)
(→‎Download WordPress: delete change dir from preformatted text)
Line 37: Line 37:
$ unzip wordpress-3.0.3.zip -d ~/Sites
$ unzip wordpress-3.0.3.zip -d ~/Sites


$ cd ~/Sites
</pre>


</pre>
==== Run WordPress Installer ====
==== Run WordPress Installer ====
:1. Browse to http://localhost/~short-username/wordpress
:1. Browse to http://localhost/~short-username/wordpress

Revision as of 17:38, 14 December 2010

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

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