Solved

change hostname

Posted on 2002-03-13
4
1,137 Views
Last Modified: 2013-12-27
Hello,

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

fancyqin
0
Comment
Question by:fancyqin
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
Otetelisanu earned 50 total points
ID: 6863646
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
 

Author Comment

by:fancyqin
ID: 6876070
I did it!
Thanks.
0
 

Author Comment

by:fancyqin
ID: 6876072
I did it!
Thanks.
0
 

Expert Comment

by:haggar
ID: 8306740
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now