Skip to content

Setup for macOS

Gary Boodhoo edited this page Apr 28, 2018 · 25 revisions

Download the software

To connect with the server we will download

  • A server access key, which serves as a kind of password for logging in to the server.
  • FileZilla, an open source file transfer application. This provides a drag and drop interface for transferring files between the server and your laptop.
  • Terminal, a built-in Apple utility which provides a command line interface for UNIX operating systems

Save the server access key to the Desktop:

Save the FileZilla installer to the Desktop:

Read through these configuration steps. If you feel that it might take you a while to step through them, let me know. I would be happy to configure your machine. All the software used is either open source or from a trusted provider. I want to make the best use of your time while you're here and introduce you to the neural net we'll use to make artwork.

Install FileZilla

  1. Find the FileZilla installer on the Desktop and double-click

  2. The application appears on the Desktop. Double-click to launch it

  3. Click Open when MacOS asks if you are sure you want to open this application
    .

  4. FileZilla launches when installation completes

Configure FileZilla

  1. From the program menu select FileZilla > Settings

  2. In the Settings window select Connections > SFTP

  3. Click the Add key file button

    • A file dialog opens. Navigate to the Desktop and Open the server access key (synthetic_rsa.pem)
  4. Click the OK button to exit the Settings window

  5. From the program menu select File > Site Manager

  6. The Site Manager window opens. Click the New Site button

  7. Complete the following fields:

    • Host: ec2-34-212-90-250.us-west-2.compute.amazonaws.com (copy this and paste into the field)
    • Protocol: SFTP
    • Logon Type: Normal
    • User: ubuntu
    • Password: clear the default value so that this field is empty

Connect to the server with FileZilla

  1. Click the Connect button at the bottom of the Site Manager window
  2. Click OK in the security alert FileZilla raises when you first connect

You have connected to the server with FileZilla

FileZilla shows the files on the server in the panel on the right

Setup the Terminal

  1. Find the Terminal utility by clicking the Search icon in the menu bar at the top right of your screen

  2. The search box appears

  3. Type the word Terminal and a list of search results is returned

  4. Double-click Terminal.app to launch it and the Terminal window opens

Connect to the server with the Terminal

Copy this command

cd ./Desktop
  1. Click anywhere in the Terminal window
  2. Right-click > Paste then press Enter

Copy this command

chmod 400 synthetic_rsa.pem
  1. Click anywhere in the Terminal window
  2. Right-click > Paste then press Enter

Copy this command

ssh -i "synthetic_rsa.pem" ubuntu@ec2-34-212-90-250.us-west-2.compute.amazonaws.com
  1. Click anywhere in the Terminal window
  2. Right-click > Paste then press Enter
  3. Type yes in response to the security warning that appears, then press Enter

You have connected to the server with the Terminal

Setup for macOS completed

You are now ready to Prepare your workspace