亚马逊ec2文件夹丢失

To set permissions on the settings file On your Amazon EC2 instance, at a command prompt, use the following command to set permissions: sudo chmod 666 /var/www/html/sites/default/settings.php 

除非我的实例中没有www文件夹

 [ec2-user@ip-10-242-118-215 ~]$ cd / [ec2-user@ip-10-242-118-215 /]$ ls bin cgroup etc lib local media opt root selinux sys usr boot dev home lib64 lost+found mnt proc sbin srv tmp var [ec2-user@ip-10-242-118-215 /]$ cd var [ec2-user@ip-10-242-118-215 var]$ ls account db games local log nis preserve run tmp cache empty lib lock mail opt racoon spool yp 

请指教,我是否忘记安装一些我知道的亚马逊指令?

运行64位亚马逊linux ami三月2012年

我觉得像networking服务器丢失?

根据您链接的文档,听起来您预期将使用预安装了Drupal的AMI,但您使用的是正常的非Drupal版本。 确保您按照从第3步开始的文档:find合适的AMI以使用Drupal获得AMI。 然后,你应该安装适当的文件夹(和文件)。 祝你好运!