Para chegar o hostname da sua máquina, execute o seguinte comando:
hostnamectl
Para modificar execute o seguinte comando:
sudo vim /etc/hostname
Para editar, pressione a letra “i”. Após a edição pressione a tecla ESC e depois “:wq”. Se quiser apenas sair, pressione “:q”. Para ignorar a modificação é o “:q!”.
Após executado o comando, reinicie o Apache para ter certeza que tudo estará funcionando perfeitamente:
sudo service apache restart
My brother suggested I would possibly like this blog.
He used to be totally right. This publish truly made
my day. You cann’t imagine simply how much time I had
spent for this information! Thank you!
Hey I know this is off topic but I was wondering if you
knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
I’ve been looking for a plug-in like this for quite some time and was hoping maybe you
would have some experience with something like this. Please let me know if you run into anything.
I truly enjoy reading your blog and I look forward to your new updates.