This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
tutorials:dns:dnssec [2013/04/21 19:35] miconda [Init.d Script] |
tutorials:dns:dnssec [2013/04/22 23:24] miconda [Add DNSSEC Module] |
||
---|---|---|---|
Line 188: | Line 188: | ||
< | < | ||
- | / | + | |
</ | </ | ||
+ | The default file for init.d script is provided at: | ||
- | Next is a script to install it and its default config: | ||
< | < | ||
- | | + | / |
- | chmod 755 / | + | |
- | cp / | + | |
</ | </ | ||
- | Edit the file **/etc/init.d/kamailio** to update the DAEMON and CFGFILE values: | + | Run next command to deploy |
< | < | ||
- | | + | |
- | CFGFILE=/ | + | |
</ | </ | ||
- | Edit the file **/etc/default/ | + | It will create also user and group **kamailio**, |
- | < | + | Now Kamailio can be started or stopped with: |
- | RUN_KAMAILIO=yes | + | |
- | </ | + | |
- | + | ||
- | You can edit the other options at your convenience. | + | |
- | + | ||
- | Next step is to create the directory for pid file, plus the system user and group to run kamailio: | + | |
- | + | ||
- | < | + | |
- | mkdir -p / | + | |
- | + | ||
- | adduser --quiet --system --group --disabled-password \ | + | |
- | --shell /bin/false --gecos "Kamailio" \ | + | |
- | --home / | + | |
- | + | ||
- | # set ownership to / | + | |
- | chown kamailio: | + | |
- | </ | + | |
- | + | ||
- | Now you can start/stop Kamailio using the following commands: | + | |
< | < | ||
Line 234: | Line 212: | ||
/ | / | ||
</ | </ | ||
+ | |||
===== Update Kamailio Config File ===== | ===== Update Kamailio Config File ===== | ||
Line 254: | Line 233: | ||
==== Add DNSSEC Module ==== | ==== Add DNSSEC Module ==== | ||
+ | |||
+ | The README of DNSSEC module is available at: | ||
+ | |||
+ | * http:// | ||
You have to load dnssec module in kamailio.cfg: | You have to load dnssec module in kamailio.cfg: |