3,466 bytes added
, 12:19, 6 July 2007
{{Languages}}
==Wordpress for SME 7.x==
===Maintainer===
[http://www.dungog.net Dungog.net] (Software)
===Description===
WordPress is a state-of-the-art semantic personal publishing platform with a focus on aesthetics, web standards, and usability.
===Installation===
Optionally install from the dungog repo, or download wordpress and smeserver-wordpress from any [[http://mirror.contribs.org/smeserver/releases/7/smedev/i386/RPMS/ smedev mirror]]
{{Repository|Dungog}}
To install
yum enablerepo=dungog install wordpress smeserver-wordpress
For uninstall
yum remove wordpress smeserver-wordpress
For both you can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''.
===Use===
For using wordpress start your browser with the URL ''http://servername/wordpress'' and logon with your user account.
{{Note box|Apply any changes to the domain property before setting up wordpress as it hard codes the first address
you use.}}
=== Options ===
* To disable wordpress. (default is enabled)
config setprop wordpress status disabled
* To limit access to wordpress.
config setprop wordpress PublicAccess OPTION
OPTION is either of the following.
none => No access
local => Local network (no password required)
local-pw => Local network (password required)
global => Entire Internet(no password required)
global-pw => Entire Internet(password required)
global-pw-remote => Entire Internet(password required outside local network)
* To add a different URL eg. yourserver.net/wordpress
note, this adds another url, it doesn't remove the default
config setprop wordpress URL cube
* To run wordpress from the root of a domain eg.
wordpress.yourserver.net or <br>
domain2.org
config setprop wordpress domain wordpress.yourserver.org OR
config setprop wordpress domain domain2.org
In /server-manager ''Hostnames and Addressess'' setup eg. cube as a hostname on one of you domains or <br>
in ''Domains'' setup a new domain eg. domain2.org, wordpress will overrule the panel setting
To enable your changes run these commands
expand-template /etc/httpd/conf/httpd.conf
sv h /service/httpd-e-smith
* php applications will be faster with http://sourceforge.net/projects/eaccelerator
prepared for sme7 by MasterSleepy
http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewdownloaddetails&lid=314
yum enablerepo=dungog install smeserver-eaccelerator
=== Local Settings ===
The config file is now templated, so changes need to be made in a new fragment
* eg. /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-sample.php
If you think your setting should be the SME default raise a bug
=== Bugs ===
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-wordpress component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-wordpress|title=this link}}.
=== Tested software versions ===
* Host: SMEserver v7.2
* Installed: smeserver-wordpress 1.0-1.el4.sme
* Dependency Installed: wordpress 2.2.1-1.el4.sme
=== Additional information ===
[[Category: Contrib]]
[[Category: Webapps]]
[[Category: Dungog]]