[CentOS-pt-br] Mudar nome da maquina

Alexandre J. Correa - Onda Internet alexandre em ondainternet.com.br
Segunda Setembro 24 17:00:03 UTC 2007


esqueci de outro lugar...

export HOSTNAME='novo.host.name'

ou

declare -x HOSTNAME="novo.host.name"

cya !


Alexandre J. Correa - Onda Internet wrote:
> /bin/hostname novo.host.name
>
> isto altera sem precisar reiniciar.. mas no proximo boot ele volta o 
> que estiver no /etc/sysconfig/network (ai é so alterar neste arquivo 
> tambem)
>
>
> cya !
>
> bruno em openline.com.br wrote:
>> --- "Pesquisa Sttruture" <pesquisa em sttruture.com.br> escreveu:
>>  
>>> Como faço para mudar o nome da maquina no Centos ?
>>>     
>>
>> no /etc/sysconfig/network e provavelmente no /etc/hosts e
>> /etc/HOSTNAME tambem
>>
>> !3runo
>>
>> _______________________________________________
>> CentOS-pt-br mailing list
>> CentOS-pt-br em centos.org
>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>
>>   
>
>


-- 
Sds.

Alexandre Jeronimo Correa

Onda Internet - http://www.ondainternet.com.br
OPinguim Hosting - http://www.opinguim.net

Linux User ID #142329




Mais detalhes sobre a lista de discussão CentOS-pt-br