Amazon ec2 folder missing

Posted by CQM on Server Fault See other posts from Server Fault or by CQM
Published on 2012-04-12T02:17:39Z Indexed on 2012/04/12 5:33 UTC
Read the original article Hit count: 475

Filed under:
|
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

except I don't have a www folder in my instance

[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

Please advise, did I forget to install something that the amazon instructions assumed I knew about?

Running 64bit Amazon linux ami march 2012

I feel like the webserver is missing?

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about settings