I suppose the title is not entirely accurate. I am able to login to an instance, but I do not see my application in any of the directories. My sense is that I am ssh'ing into the wrong directory.

Does anyone have any experience with this? Thanks.

有帮助吗?

解决方案

When you ssh into your AWS instance, you're dropped into your home directory, just as if you're running your own server. From the terminal, try typing:

pwd

You'll likely see something like:

/home/ec2-user

Note that this is your home directory and not your application directory. In other words, your Document Root (where the web application starts with /index.php) is likely something like /var/www/html, so try typing:

cd /var/www/html
ls

The "ls" command shows you the contents of this directory. Here is where you'll build your web application.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top