본문 바로가기

기계학습/octave

맥에서 Octave 설치하기

  • Install xquartz
    • http://www.xquartz.org/
    • http://www.cyberciti.biz/faq/apple-osx-mountain-lion-mavericks-install-xquartz-server/
  • Setup Port forward
    • http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/
  • Setup sshd & ssh
    • /etc/ssh/sshd_config
      • X11Forwarding yes
    • ssh_config
      • Host *

        ForwardX11 yes

  • Open port 22
    • http://stackoverflow.com/questions/6313929/how-do-i-open-port-22-in-os-x-10-6-7
      • The Apple Mac OS X operating system has SSH installed by default but the SSH daemon is not enabled. This means you can’t login remotely or do remote copies until you enable it.

        To enable it, go to ‘System Preferences’. Under ‘Internet & Networking’ there is a ‘Sharing’ icon. Run that. In the list that appears, check the ‘Remote Login’ option.

        This starts the SSH daemon immediately and you can remotely login using your username. The ‘Sharing’ window shows at the bottom the name and IP address to use. You can also find this out using ‘whoami’ and ‘ifconfig’ from the Terminal application.