Change hostname permanently without a reboot
Asked by
Tong Sun
Hi,
How to change hostname permanently without a reboot?
I've changed my /etc/hostname /etc/hosts, and want the system to reflect that. But:
% /etc/init.
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service hostname start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start hostname
hostname stop/waiting
% start hostname
hostname stop/waiting
What does this "hostname stop/waiting" mean here?
Thanks
PS Ubuntu 10.10 Maverick
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu hostname Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Tong Sun for more information if necessary.
To post a message you must log in.