Line 1: |
Line 1: |
− | {{Languages}} | + | {{ :DB_Variables_Configuration }} |
− | ==Chapter 3. Configuration Guide==
| |
− | For more detailed information refer to the [[SME_Server:Documentation:Developers_Manual|Developers Manual]]
| |
− | | |
− | ===db commands===
| |
− | type db for usage
| |
− | | |
− | db
| |
− | | |
− | dbfiles are in /home/e-smith/db
| |
− | | |
− | To set a db property manually
| |
− |
| |
− | db accounts show james
| |
− | db accounts setprop james EmailForward local
| |
− | | |
− | More information about the internal configuration database of SME Server can be found in the [[http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/c382.htm SME Server Developer's Guide]].
| |
− | | |
− | ===Actions and Events===
| |
− | Actions and Events are used to apply configuration changes and most of them are fired through the panels of the server-manager. An event can consist of multiple actions.
| |
− | | |
− | To fire an event from the SME Server shell you simply type
| |
− | | |
− | signal-event event-name
| |
− | | |
− | To reboot your server for instance you would type:
| |
− | | |
− | signal-event reboot
| |
− | | |
− | More information about [http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/c382.htm#AEN384 Actions] and [http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/x409.htm Events] can be found in the [http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/c382.htm SME Server Developer's Guide].
| |
− | | |
− | ===Custom Templates===
| |
− | Custom templates allow for site specific overrides of normal behaviour.
| |
− | | |
− | For example make a change to the firewall.
| |
− | | |
− | mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
| |
− |
| |
− | cp /etc/e-smith/templates/etc/rc.d/init.d/masq/35transproxy \
| |
− | /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/
| |
− |
| |
− | nano -w nano -w /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/35transproxy
| |
− |
| |
− | signal-event remoteaccess-update
| |
− | | |
− | Note, they are not to be used in contrib rpms, if a change is needed in the original fragment raise a bug
| |
− | see http://forums.contribs.org/index.php?topic=35156.0
| |