Step 1: Include openSER in the linux boot.
cd /usr/src/openser-1.2.2-tls/packaging/debian cp openser.default /etc/default/openser cp openser.init /etc/init.d/openser update-rc.d openser defaults 99
Step 2: Edit the /etc/openser/openser.cfg
file and remove the line fork=no
(even if it has C-style remarks). The init script looks for the instruction fork=no
, even if commented.
Step 3: Make sure that the script openser.init
has the necessary permissions
cd /etc/init.d chmod 755 openser
Step 4: Edit /etc/default/openser.cfg
, change the memory parameter to 128MB and the RUN_OPENSER to yes.
Step 5: Edit the init script to make sure that the daemon is pointing to the right directory:
vi /etc/init.d/openser
File before making changes:
DAEMON=/usr/sbin/openser
File after making changes:
DAEMON=/sbin/openser
Step 6: Restart the computer to see if OpenSER starts. Confirm using:
ps-ef |grep openser.