O'Reilly logo

Resource-Oriented Computing with NetKernel by Tom Geudens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. Running NetKernel as a Service

Doing stuff as a service is very hot these days. I, for one, do not have my head in the clouds. You’ll find some decent information about Naas (note the lowercase s) in this appendix.

Cover Story

For servers, the following is expected behaviour, but imagine this: You get up in the morning, boot your home desktop or laptop[38] and NetKernel is automatically started. Bliss!

As you probably know, attaining the state of bliss is not one of the lighter matters. However, Peter Rodgers has provided all that you require to run NetKernel as a service (on your server or on your home desktop) in the NetKernel forums.

If you feel comfortable with the instructions mentioned in that post, by all means follow them and ignore the rest of this Appendix. There’s going to be slightly more detail in the procedure below. There are also going to be platform-specific instructions.

Note

I only vouch for the platforms on which I tested the procedures. At this time, those are Windows 7 and Ubuntu 10.04 LTS—the Lucid Lynx. That means they will probably work on most current Windows platforms and Linux platforms.

Procedure Windows 7

Creating your own service on Windows is not one of the lighter matters. Here is the walk-through.

Download Java Service Wrapper

Being raised on Linux, I find this ridiculous. When I want something started at boot time, a simple script and a couple of links do the trick. Basic functionality, no? It isn’t, not on Windows. I searched high and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required