Difference between revisions of "Wordpress"

From SME Server
Jump to navigationJump to search
m
Line 30: Line 30:
  
 
=== Options ===
 
=== Options ===
* To disable wordpress. (default is enabled)
+
You can fine tune access to moodle with DB settings.
config setprop wordpress status disabled
+
   
 
+
http://wiki.contribs.org/Generic_WebApp_rpm#New_DB_settings
* 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 blog
 
 
 
* 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. wordpress 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 ===
 
=== Local Settings ===

Revision as of 08:23, 15 September 2007


Wordpress for SME 7.x

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 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.

Setup

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


Important.png Note:
Apply any changes to the domain property before setting up wordpress as it hard codes the first address

you use. eg wordpress.yourserver.org


Options

You can fine tune access to moodle with DB settings.

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

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

Additional information