Dracko IT dragons tamed (with 764 solutions and growing)

[login]
[join]

The most important ability is availability.

Get your favourite distribution on a bootable 2GB USB Flash drive: Easy Peasy, Fedora, Mint, Parted Magic, PCLinuxOS, Puppy, SUSE, Ubuntu, Zenwalk


If you thought this solution was helpfull, please login and vote. Not a member? click here

ID142
Titlechange the hostname on a Solaris system
Bydax
KeywordsChanging hostname
CategorySolaris
Votes0
Views2250
Score2250
Body
Changing hostname

To change the hostname on a Solaris system:

1. Change the hostname in /etc/nodename
2. Run uname -S new_hostname to change the nodename for your current session.
3. Change the hostname in /etc/hostname.network_interface (e.g. /etc/hostname.hme0)
4. Run hostname new_hostname to change the hostname for your current session.
5. Change the hostname in /etc/hosts
6. Change the hostname in /etc/net/*/hosts (/etc/net/ticlts/hosts, /etc/net/ticots/hosts,
/etc/net/ticotsord/hosts) for directory in ticlts ticots ticotsord do cd /etc/net/$directory sed 's/old_hostname/new_hostname/g' hosts > hosts.new mv hosts.new hosts done Solaris 7 or later additional instructions: 7. Change the hostname in DUMPADM_SAVDIR= line in /etc/dumpadm.conf Solaris 10 additional instructions: 8. Change the hostname in /etc/inet/ipnodes
SharediggDigg this solutiondel.icio.usPost to del.icio.usSlashdotSlashdot it!email to a friend
PrintPrint This Solution Print
If you thought this solution was helpfull, please login and vote. Not a member? click here



Paying the Rent


Get your favourite OpenSolaris distribution
on a CD
:
BeleniX,
MilaX,
Nexenta,
OpenSolaris,
Schillix

Advanced Search:

and(+)

not(-)



catagory
order by






diggDigg Dracko
del.icio.usPost to del.icio.us
SlashdotSlashdot us!
Don't forget to vote!
dracko - dax
Powered by John Core