Confirmed users
2,197
edits
| Line 133: | Line 133: | ||
# [[#Starting Jenkins|Start Jenkins]] | # [[#Starting Jenkins|Start Jenkins]] | ||
== Mac OS X | == Setting hostname on Mac OS X == | ||
Shamelessly copied from http://budporter.net/?p=47 | |||
If you are running a version of OSX prior to 10.5, then look in | If you are running a version of OSX prior to 10.5, then look in '''/etc/hostconfig''' for the '''HOSTNAME=''' parameter and set it to be the FQDN (Fully Qualified Domain Name) that you want to use. So, for host ''foo'' located in the domain ''bar.com'', the entry would be as follows: | ||
HOSTNAME=foo.bar.com | HOSTNAME=foo.bar.com | ||
For OSX 10.5, | For OSX 10.5, '''/etc/hostconfig''' is being deprecated. There are a couple of preferred methods to do this in 10.5: | ||
sudo hostname -s foo.bar.com | sudo hostname -s foo.bar.com | ||
or | or: | ||
sudo scutil –set HostName foo.bar.com | sudo scutil –set HostName foo.bar.com | ||
You can verify the change by issuing the | You can verify the change by issuing the following command: | ||
hostname | |||
The output will display the FQDN of the computer. | |||
== References == | == References == | ||