Editing Files on Mac OS X
- When editing files, you can use your favourite text editor. In this guide, all the Mac OS X procedures use the vi text editor.
- You must be logged in using the
root
account. If not, type sudo before launching the command. For example:
sudo vi hosts
- Make sure the server and all the client workstations are configured with a static (fixed) IP address.
- Open the Terminal:
/Application/Utilities/Terminal
- From the Terminal, go to the
/etc
folder:
cd /etc
- Create a backup copy of the
hosts
file.
cp hosts hosts.bak
- Edit the /etc/hosts file using the vi text editor.
- Go to the end of the file and add a new line. Type the static IP address and the machine name (hostname) of the server. Make sure there is a space between the IP address and the hostname.
If there is a domain configured on the network, you should also type the Fully Qualified Domain Name (FQDN) after the hostname and separate them with a space.
Example: 192.168.1.1 server server.toonboom.com
To complete this step, add the IP address and the hostname of each workstation that will be a client of the Harmony server. Each of them should be typed on a new line.
- Save the exit the file.
The file is written and the system returns you to /etc in the Terminal.
- Verify the content of the
hosts
file:
more hosts
- Copy and paste the
hosts
file to all the client machines.
- Open the Terminal:
/Application/Utilities/Terminal
- From the Terminal, go to the
/etc
folder:
cd /etc
- If the
/etc/launchd.conf
file already exists, create a backup copy:
cp launchd.conf launchd.conf.bak
- Edit the
/etc/launchd.conf
file using your favourite text editor—see Editing Files on Mac OS X.
- At the beginning of the file, add a line with the following:
umask 0
- Save the file and exit.
The file is written and the system returns you to /etc in the Terminal.
- Verify the content of the
launchd.conf
file:
more launchd.conf