I am currently running Mavericks. I have a Drupal7 Virtual Machine running (on VirtualBox). I am trying to install a tomcat7 server onto the VM. I have used the Terminal to SSH and login to my Drupal7 VM but cannot seem to install tomcat7. I am aware that on Windows you use the command: apt-get install tomcat7, however this doesn't work on Mac. I have tried to use Homebrew, but it doesn't seem to install on the VM through the terminal command.
Does anyone have any advice?