Difference between revisions of "Wordpress"

From SME Server
Jump to navigationJump to search
(rearranged steps and added further instructions to clarify install & usage)
Line 13: Line 13:
 
  yum --enablerepo=smecontribs install smeserver-wordpress
 
  yum --enablerepo=smecontribs install smeserver-wordpress
  
Ther is no need to reboot.
+
There is no need to run the suggested signal-event commands or do a reboot.
  
====Upgrade====
+
====Initial Setup====
After installing the new rpm with yum, go to
+
To setup wordpress start your browser with the URL ''http://www.yourmaindomain/wordpress'' and complete the forms.
http://servername/wordpress/wp-admin/upgrade.php
 
  
====Setup====
+
To make basic setup just enter a blog name and an administrator email address then click Setup.
To setup wordpress start your browser with the URL ''http://servername/wordpress'' and complete the forms.
+
On the next screen you will be presented with the admin user name and a randomly generated admin password. Record these somewhere safe now !
  
Optional: If you want to change the URL wordpress will be accessed with, apply any changes to the URL property '''before setting up wordpress''', refer to options below, default is wordpress.
+
Then click the Log in button, and enter your admin username (ie admin) and password, ie the ones just displayed on the previous screen.
 +
 
 +
The initial setup is done in the Settings link at the top right corner of the blog screen.
 +
 
 +
Configure as required, and save your changes before exiting.
 +
 
 +
Optional: If you want to change the domain URL that wordpress will be accessed with, apply any changes to the URL property '''before setting up wordpress''', refer to options below, default is wordpress.
 +
 
 +
====Upgrade Setup====
 +
If you already have an earlier version of wordpress installed, then you will need to run the upgrade option first. After installing the new rpm with yum (as per Installation instructions above), go to
 +
http://www.yourmaindomain/wordpress/wp-admin/upgrade.php
 +
and follow the instructions given.
 +
 
 +
=== Usage ===
 +
Normal access by bloggers -> www.yourdomain.com/wordpress/
 +
 
 +
Admin or backend user access -> www.yourdomain.com/wordpress/wp-login.php
  
 
=== Options ===
 
=== Options ===
Line 38: Line 53:
  
 
If you think your setting should be the default raise a bug
 
If you think your setting should be the default raise a bug
 
=== Usage ===
 
Admin -> Yourserver.net/wordpress/wp-login.php
 
 
Usage -> Yourserver.net/wordpress/
 
  
 
=== Recommended Plugins ===
 
=== Recommended Plugins ===
Line 51: Line 61:
 
  rpm -e wordpress smeserver-wordpress
 
  rpm -e wordpress smeserver-wordpress
  
To remove mysql database and user, both are wordpress, see [[MySQL#Remove a database]] and [[MySQL#Remove a user]]. There is no need to reboot.
+
To remove mysql database and user, both are named wordpress, see [[MySQL#Remove a database]] and [[MySQL#Remove a user]]. There is no need to reboot.
  
 
=== Bugs ===
 
=== Bugs ===

Revision as of 22:43, 19 March 2009


Maintainer

Dungog.net (Software)

Description

http://www.wordpress.org

WordPress is a state-of-the-art semantic personal publishing platform with a focus on aesthetics, web standards, and usability.

Installation

Install from the SME Contribs repository by issuing the following command on the SME Server shell:

yum --enablerepo=smecontribs install smeserver-wordpress

There is no need to run the suggested signal-event commands or do a reboot.

Initial Setup

To setup wordpress start your browser with the URL http://www.yourmaindomain/wordpress and complete the forms.

To make basic setup just enter a blog name and an administrator email address then click Setup. On the next screen you will be presented with the admin user name and a randomly generated admin password. Record these somewhere safe now !

Then click the Log in button, and enter your admin username (ie admin) and password, ie the ones just displayed on the previous screen.

The initial setup is done in the Settings link at the top right corner of the blog screen.

Configure as required, and save your changes before exiting.

Optional: If you want to change the domain URL that wordpress will be accessed with, apply any changes to the URL property before setting up wordpress, refer to options below, default is wordpress.

Upgrade Setup

If you already have an earlier version of wordpress installed, then you will need to run the upgrade option first. After installing the new rpm with yum (as per Installation instructions above), go to

http://www.yourmaindomain/wordpress/wp-admin/upgrade.php

and follow the instructions given.

Usage

Normal access by bloggers -> www.yourdomain.com/wordpress/

Admin or backend user access -> www.yourdomain.com/wordpress/wp-login.php

Options

  • You can fine tune access to wordpress with DB settings.

http://wiki.contribs.org/Web_Application_RPM#New_DB_settings

  • Local Settings

The config file is now templated, so changes need to be made in a new fragment, eg

nano /etc/e-smith/templates/opt/wordpress/wp-config.php/05local 

check which setting you want to change with

cat /opt/wordpress/wp-config-sample.php

then add the new setting in the new fragment and expand, it will overrule the old

expand-template /opt/wordpress/wp-config.php

If you think your setting should be the default raise a bug

Recommended Plugins

Spam filtering seems popular, please add instructions...

Uninstallation

To remove the package issue the following command on the SME Server shell:

rpm -e wordpress smeserver-wordpress

To remove mysql database and user, both are named wordpress, see MySQL#Remove a database and MySQL#Remove a user. There is no need to reboot.

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-wordpress component or use this link .