2. Verify the static routes in /etc/rc.config.d/netconf.
NOTE: If necessary add other required routes. There is detailed information in the /etc/rc.config.d/netconf file for how to specify the routes.
3. Add the primary and secondary DNS servers to /etc/resolv.conf.
domain corp.abc.com
search xxx.abc.com (where xxx.abc.com is the DNS domain name)
nameserver x.x.x.x # Primary DNS Server xxx
nameserver x.x.x.x. # Secondary DNS Server xxx
4. Configure the /etc/nsswitch file.
Unless NIS is being used, the hosts: line should look like:
5. Set the local time zone per your requirements as follows:hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=continue] files [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
代码: 全选
# /sbin/set_parms timezone
6. Edit the file /etc/ntp.conf to define Network Time Protocol (NTP) servers for time synchronization.
An example configuration follows:
NOTE: See the "Configuring NTP" section in the "HP-UX Internet Services Administrator’s Guide" for more in depth information regarding NTP configuration.server ntp1.abc.com prefer
server ntp2.abc.com
server ntp3.abc.com
driftfile /etc/ntp.drift
7. Edit the /etc/rc.config.d/netdaemons file to enable the NTP client service.
Change the following line:
to:export XNTPD=0
8. Start the NTP client service.export XNTPD=1
代码: 全选
# /sbin/init.d/xntpd start
Edit the /etc/rc.config.d/mailservs file to ensure the sendmail server does not start on bootup.
Change the following line:
to:SENDMAIL_SERVER=1
Stop the sendmail service (daemon).SENDMAIL_SERVER=0
代码: 全选
# /sbin/init.d/sendmail stop
Dj$w.elabs.abc.com
DSforwarder.abc.com
NOTE:The Dj parameter is only necessary if sendmail cannot determine your fully qualified domain name. Also, the values supplied above are examples.