Licenciado
Note: The procedures shown inthe document should not be used on a system which is hosting a naming service, e.g., NIS or NIS+. Furthermore, any changes made only affect the local host and it may be necessary to update namingservices to reflect these changes.
References to appropriate Solaris[TM] reference manual pages are given in square brackets in what follows. These may be viewed using the man(1) command with thefollowing syntax.
# /usr/bin/man -s
where should be replaced by the section of the manual and should be replaced by the name of the man page. For example,
# /usr/bin/man -s4 hosts
#/usr/bin/man -s7D ticotsord
Document Body Top
Changing the Hostname
1. Edit the following files and globally replace the old name with the new name as necessary.
• /etc/inet/hosts [hosts(4)]
•/etc/nodename [nodename(4)]
• /etc/hostname.
where is replaced by the name of the primary interface for the system, e.g., "hme0". It is possible that this file contains an IP address instead of aname, if this is the case you may leave this file as it is unless you are also changing IP addresses (see below).
2. If you are running a version of Solaris[TM] prior to 10 you should also edit thefollowing files.
• /etc/net/ticlts/hosts [ticlts(7D)]
• etc/net/ticots/hosts [ticots(7D)]
• /etc/net/ticotsord/hosts [ticotsord(7D)]
3. For Versions of Solaris[TM] later than 7, check the/etc/inet/ipnodes file [ipnodes(4)] and edit it appropriately.
4. Reboot the system.
Changing IP Addresses
1. Edit the /etc/inet/hosts file as necessary.
2. Check each interface configuration file and...
Regístrate para leer el documento completo.