Tag Info

New answers tagged


You can recover the instance data by deploying your SSH key to a new copy of the instance, see e.g. http://stackoverflow.com/questions/3260739/add-keypair-to-existing-ec2-instance


Yes, site went poof. Compare: http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ The EU one is showing default Apache homepage when you go to the root.


This issue because i was using wrong .pem file, then i connected successfully as default users "ubuntu" on the amazon instance.


Unless you provided a custom list of users upon creation, the default 'ubuntu' user should still exist, and the EC2 key was put on that user, as a typical configuration would get. To make it work on other users, you need to take the lines from /home/ubuntu/.ssh/authorized_keys and put them into the file /home/$USER/.ssh/authorized_keys (where $USER is the ...


The user that runs apache/php is www-data. Run sudo chown -R www-data:www-data /var/www/deploy.log to make the file editable by the web server. The other files you want to perform operations on also need to be writable by the webserver.


If you want nginx-pagespeed support use following repository add-apt-repository -y ppa:rtcamp/nginx apt-get update && apt-get install nginx-custom Refer: https://launchpad.net/~rtcamp/+archive/ubuntu/nginx/+packages

Top 50 recent answers are included