Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Unix >> Solaris >> 11 >> How to change machine hostname



## Method 1

hostname NewHostName
reboot


## Method 2

check currenet hostname

# svccfg -s system/identity:node listprop config
config                       application
config/enable_mapping        boolean     true
config/ignore_dhcp_hostname  boolean     false
config/loopback              astring
config/nodename              astring     CurrentHostName

change the hostname

# svccfg -s system/identity:node setprop config/nodename="NewHostName"

refresh and restart the system identity service# svcadm refresh system/identity:node

# svcadm restart system/identity:node

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]