O'Reilly logo

Learning AWS - Second Edition by Amit Shah, Aurobindo Sarkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing and verifying the software stack  

The next step is to remote log into the EC2 instance, and install Apache Tomcat and the MySQL client libraries. We will use the private key file created and downloaded under Creating EC2 Instance Key Pairs in an earlier step.

  • Assign rights to the private key: Copy the private key file to the .ssh folder in your home directory, if for some reason it does not exists then create it and make sure that it has read/write/executable rights assigned for the owner (drwx-----). To log in from your command line, type in the following to assign correct rights to the private key file downloaded earlier. This assigns read/write and execution rights only to the file owner. Unless the rights are changed, it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required