
You can use the scutil
Do not use the changeip
To change computer name and local hostname:
mm Change the names in the Network pane of the Settings section for the server in Server Admin.
From the command line:
sudo scutil
Administering Services
To work with a service on a server selected in the Servers list of Server Admin,
click the service in the list under the server. You can view information about a service (logs, graphs, and so forth) and manage its settings.
The following is a sample service configuration pane in Server Admin.
To start or stop a service, select it and then click Start <service name> or Stop <service name> in the bottom action bar.
Chapter 7 Ongoing System Management
145