Wordpress
Wordpress for SME 7.x
Maintainer
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 [smedev mirror]
The following command will configure the Dungog repository on SME Server. The dungog repository will no longer be updated. All the contribs from this repository have been moved to the smecontribs repository.
DungogMember contribs are still at http://www.dungog.net After adding it to the database we have to update the changes to the configuration file:
signal-event yum-modify
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.
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
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
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 bugzilla and select the smeserver-wordpress component or use 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