Solved

change hostname

Posted on 2002-03-13
4
1,141 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

828 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