Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1152
  • Last Modified:

change hostname

Hello,

How can I change the hostname of my Solaris?
Thanks!

fancyqin
0
fancyqin
Asked:
fancyqin
  • 2
1 Solution
 
OtetelisanuCommented:
Change in /etc/host
Example
#
# Internet host table
#
127.0.0.1       localhost
10.5.7.212      newname loghost

and in the hostname.hme0 write the
newname

andhostname newname

and you can reboot.

0
 
fancyqinAuthor Commented:
I did it!
Thanks.
0
 
fancyqinAuthor Commented:
I did it!
Thanks.
0
 
haggarCommented:
The information is not quite completely accurate. You also should change the hostname in the following files:

/etc/net/ticlts/hosts    
/etc/net/ticots/hosts    
/etc/net/ticotsord/hosts
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now