HP-UX OSRA for Web Services 2.5 Blueprint and Configuration Guide

1. Stop the Tomcat Web Server by entering the following command:
# /sbin/init.d/hpws_tomcat stop
2. Edit the /opt/hpws/tomcat/conf/server.xml file to include the changes.
3. Restart the Tomcat Web Server by entering the following command:
# /sbin/init.d/hpws_tomcat start
Follow these steps To start the Tomcat web server at system boot, follow these steps:
1. Open the /etc/rc.config.d/hpws_tomcatconf file.
2. Change the entry to set start to true:
HPWS_TOMCAT_START=1
Java
To run a java command, enter the following:
# /opt/java<version>/jre/bin/java <options>
To see a list of possible options to run with java, enter the following:
# /opt/java<version>/jre/bin/java -help
HP-UX Secure Shell
Follow this step to verify if the sshd daemon is running:
Enter the following command:
# ps -ef | grep sshd
If the sshd daemon is running on the system, the following output appears:
root 743 1 0 Sep 28 ? 0:00 /opt/ssh/sbin/sshd
root 14909 14800 0 20:39:05 pts/0 0:00 grep sshd
If the HP-UX Secure Shell daemon is not running, enter the following command to start it:
# /sbin/init.d/secsh start
To stop the HP-UX Secure Shell daemon, enter the following command:
# /sbin/init.d/secsh stop
To invoke HP-UX Secure Shell daemon commands, enter the following command:
#/usr/sbin/sshd <options>
The configuration files contain the directive settings for both the server and the clients. The main
configuration file /etc/opt/ssh/sshd_config is the server configuration file for HP-UX
Secure Shell. This configuration file enables you to set options that modify the operation of the
sshd daemon.
Follow these steps to make changes to the server directives:
1. Stop the Secure Shell daemon by entering the following command:
# kill -9 'cat /var/run/sshd.pid'
2. Edit the /etc/opt/ssh/sshd_config file to include the changes.
3. Restart the Secure Shell daemon by entering the following command:
# /usr/sbin/sshd
Other configuration files and key files directory can be found in /etc/opt/ssh .
To start the Secure Shell daemon at system boot, follow these steps:
18 Installation, Configuration and Integration