Showing posts from June, 2007

How to set templates-custom in SME server 7.x

With regards to the online manual from site, I found that these instruction has some steps missing if you want to customize your system configuration.

Using an example can say it all:

Objective: add custom config in /etc/resolv.conf


1. Make a directory structure as follow: mkdir -p /etc/e-smith/templates-custom/etc/resolv.conf/

2.cp the file from /etc/e-smith/templates/etc/resolv.conf/ to /etc/e-smith/templates-custom/etc/resolv.conf/. In my case, I only copy 25nameserver.

3. vi 25nameserver. Type the text in file: nameserver

4. Save

5. Issue the command: expand-template /etc/resolv.conf

6. Issue the command again: signal-event reboot

Then, once restart completed, you can find that your customized settings has been applied

Step 5 and 6 are not noted in manual, or at least I cannot find it until I search the forum.

Hope it helps someone.

Powered by ScribeFire.