Licenciado

Páginas: 2 (481 palabras) Publicado: 29 de enero de 2013
The purpose of this document is to explain how to change a system's hostname and/or IP address without running the sys-unconfig command since this will restore the system's configuration to an"as-manufactured" state, ready to be reconfigured again. See the sys-unconfig(1M) man page for more information regarding the changes which this command makes to the system.
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...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Licenciado
  • Licenciado
  • Licenciada
  • Licenciado
  • Licenciada
  • Licenciada
  • Licenciado
  • Licenciado

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS