| | 422 | === 9.1 Amira Service === |
| | 423 | |
| | 424 | rock@fly:~> cd ./Amira4.1.1/bin/ [[BR]] |
| | 425 | rock@fly:~/Amira4.1.1/bin> sudo chmod a+x serviceSetup.sh [[BR]] |
| | 426 | rock@fly:~/Amira4.1.1/bin> ./serviceSetup.sh [[BR]] |
| | 427 | rock@fly:~/Amira4.1.1/bin> sudo /etc/init.d/xinetd restart [[BR]] |
| | 428 | rock@fly:~/Amira4.1.1/bin> sudo netstat -tnlp |
| | 429 | |
| | 430 | {{{ |
| | 431 | Active Internet connections (only servers) |
| | 432 | Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name |
| | 433 | tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN - |
| | 434 | tcp 0 0 0.0.0.0:32802 0.0.0.0:* LISTEN - |
| | 435 | tcp 0 0 0.0.0.0:616 0.0.0.0:* LISTEN 3831/ypbind |
| | 436 | tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 18763/xinetd |
| | 437 | tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 3589/portmap |
| | 438 | tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 16769/X |
| | 439 | tcp 0 0 127.0.0.1:2544 0.0.0.0:* LISTEN 3867/zmd |
| | 440 | tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 3827/perl |
| | 441 | |
| | 442 | tcp 0 0 0.0.0.0:17234 0.0.0.0:* LISTEN 18763/xinetd ---> Amira daemon |
| | 443 | |
| | 444 | tcp 0 0 0.0.0.0:756 0.0.0.0:* LISTEN 3974/rpc.mountd |
| | 445 | tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 4089/sshd |
| | 446 | tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4596/cupsd |
| | 447 | tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 4167/master |
| | 448 | tcp 0 0 0.0.0.0:603 0.0.0.0:* LISTEN 3817/ypserv |
| | 449 | tcp 0 0 0.0.0.0:607 0.0.0.0:* LISTEN 3822/rpc.ypxfrd |
| | 450 | }}} |
| | 451 | |
| | 452 | rock@fly:~/Amira4.1.1/bin> less /etc/xinetd.d/amira [[BR]] |
| | 453 | {{{ |
| | 454 | # Amira's Service |
| | 455 | service amira |
| | 456 | { |
| | 457 | type = UNLISTED |
| | 458 | socket_type = STREAM |
| | 459 | protocol = TCP |
| | 460 | wait = no |
| | 461 | user = root |
| | 462 | server = /home/rock/Amira4.1.1/bin/amiradaemon |
| | 463 | server_args = -daemonExePath /home/rock/Amira4.1.1/bin/start |
| | 464 | port = 17234 |
| | 465 | } |
| | 466 | }}} |
| | 467 | |