246 | | Now type ''/etc/init.d/deepamehta start'' to start DeepaMehta in the background. That's it. :) |
247 | | |
| 246 | Now type ''/etc/init.d/deepamehta start'' to start DeepaMehta in the background. |
| 247 | |
| 248 | == Test if service is running as expected == |
| 249 | * Check if JAVA/jetty is running in the background: |
| 250 | {{{ |
| 251 | ps aux | grep java | grep felix |
| 252 | }}} |
| 253 | |
| 254 | * Check if jetty is listening on port 8080: |
| 255 | {{{ |
| 256 | nmap localhost -p 8180 |
| 257 | }}} |
| 258 | should return |
| 259 | {{{ |
| 260 | Starting Nmap 5.00 ( http://nmap.org ) at 2011-09-02 22:17 CEST |
| 261 | Interesting ports on localhost.localdomain (127.0.0.1): |
| 262 | PORT STATE SERVICE |
| 263 | 8180/tcp open unknown |
| 264 | |
| 265 | Nmap done: 1 IP address (1 host up) scanned in 0.05 seconds |
| 266 | }}} |
| 267 | |
| 268 | == That's it. :) == |