Cisco Headend System Release 2.7 安装指南
Appendix E
Configuring the loadPIMS and BOSS Web Services
144
4035749 Rev B
Verify the /etc/hosts File
1 Type the following command and press Enter to open the /etc/hosts file.
1 Type the following command and press Enter to open the /etc/hosts file.
more /etc/hosts
2 Verify that the dncsws hostname does not appear on any line other than the
loopback2 127.0.0.2 line.
3
Verify that all hostnames appear on only one line.
4 Verify that the identified hostnames are associated with the correct IP address in
this file.
Add a Listen Directive to the httpd.ports File for Each Network Interface
1 Open the httpd.ports file in a text editor.
2
1 Open the httpd.ports file in a text editor.
2
To add a Listen directive, add one line per interface identified in the
/etc/apache2/user-conf/httpd.conf file. Add this to the end of the file.
/etc/apache2/user-conf/httpd.conf file. Add this to the end of the file.
Listen [hostname]:80
Note: Replace [hostname] with one of the hostnames identified in Determine the
Hostname(s) of Network Interfaces to Receive Web Service Requests from PIMS
Servers (on page 143).
Example:
Hostname(s) of Network Interfaces to Receive Web Service Requests from PIMS
Servers (on page 143).
Example:
Listen dncseth:80
3 Save and close the file.
4 Repeat this procedure for each network interface that you have identified.
4 Repeat this procedure for each network interface that you have identified.
Add a Listen Directive to the ssl.ports File for Each Network Interface
1 Open the ssl.ports file in a text editor.
2
1 Open the ssl.ports file in a text editor.
2
To add a Listen directive, add one line per interface identified in the
/etc/apache2/user-conf/ssl.conf file. Add this to the end of the file.
/etc/apache2/user-conf/ssl.conf file. Add this to the end of the file.
Listen [hostname]:443
Note: Replace [hostname] with one of the hostnames identified in Determine the
Hostname(s) of Network Interfaces to Receive Web Service Requests from PIMS
Servers (on page 143).
Example:
Hostname(s) of Network Interfaces to Receive Web Service Requests from PIMS
Servers (on page 143).
Example:
Listen dncseth:443
3 Save and close the file.
4 Repeat this procedure for each network interface that you have identified.
4 Repeat this procedure for each network interface that you have identified.
Apply the Configuration Changes
Restart Apache
You need to be root user in an xterm window on the DNCS to run these commands.
1 Type the following command and press Enter.
1 Type the following command and press Enter.
svcadm -v disable -st http
2 Type the following command and press Enter.
svcadm refresh http