I'm trying MATE edition and I like it. I change hostname in /etc/hosts and HOSTNAME, also check it in gtkhostsetup. But XAMPP reverts it; starting XAMPP says that the hostname is not okay, something like that.
BTW, I once used hostnamectl command in Xfce edition, CMIIW. Not found in MATE edition.
Thanks for help.
[Solved] Salix MATE, can't change hostname
[Solved] Salix MATE, can't change hostname
Last edited by maspai on 22. Aug 2014, 07:57, edited 1 time in total.
sorry for my noob-ness guys, i'm new in linux and salix.
Re: Salix MATE, can't change hostname
XAMPP keeps changing the hostname. I don't know why.gapan wrote:change it and reboot.
Finally I tried editing /etc/hosts to:
Code: Select all
127.0.0.1 localhost
127.0.0.1 pai-acer.example.net pai-acer darkstar
sorry for my noob-ness guys, i'm new in linux and salix.
Re: Salix MATE, can't change hostname
I think this is solved.
First, I ran "hostname myhost", then after reboot it was "darkstar" again.
Then I searched files containing word "hostname". I tried /etc/NetworkManager/NetworkManager.conf with "hostname=darkstar" inside. Changed the value, then after reboot my PC is recognized as "myhost".
Thanks for helps.
UPDATE: And XAMPP's apache doesn't complaint anymore about the hostname.
First, I ran "hostname myhost", then after reboot it was "darkstar" again.
Then I searched files containing word "hostname". I tried /etc/NetworkManager/NetworkManager.conf with "hostname=darkstar" inside. Changed the value, then after reboot my PC is recognized as "myhost".
Thanks for helps.
UPDATE: And XAMPP's apache doesn't complaint anymore about the hostname.
sorry for my noob-ness guys, i'm new in linux and salix.