Solved

change hostname

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

773 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