Introduction: This document outlines the procedure of installing the Enterprise Agent on Mac via SSH for AD Enterprise 3.3.2 and later.
Prerequisites:
- Disable all firewalls
- SSH enabled on the target box
- A pre-configured Agent installer MPKG (follow steps 1-6 in this article)
Procedure:
- SSH to target machine, logging on as a user with admin permissions
- Copy the configured Agent installer MPKG to the target machine
- Navigate to the folder where you put the MPKG file
- Run the following command to give the Agent installer correct permissions:
sudo chmod -R 755
- Run the following command to install the Agent (after running the command, you should receive the message "upgrade successful"):
sudo installer -pkg -target /
- Run the following commands to give the Agent start entry proper permissions and ownership:
sudo chmod -R 755 /Library/StartupItems/AccessDataAgent
sudo chmod 644 /Library/StartupItems/AccessDataAgent/StartupParameters.plist
sudo chown -R root:wheel /Library/StartupItems/AccessDataAgentIf there are no items present in /Library/StartupItems, this step can be skipped