Go to EC2 console to create the volume and attach it to the instance, and then we’ll mount the volume to make it available. – under Elastic Block Store, click Volumes. – Click on Create Volume – Select the General Purpose (SSD) volume type. – Wait for your Volume to be available. – Right click […]
Edit the ssh configuration file – # vim /etc/ssh/sshd_config Change PasswordAuthentication to yes from no to enbable login via clear text passwords. Here is the snippet: # Change to no to disable tunnelled clear text passwords PasswordAuthentication yes Save and close the File. Restart ssh service – service sshd restart Voila, Now, you can login […]
To make it work, we need to add following lines to nginx configuration file: real_ip_header X-Forwarded-For; set_real_ip_from 0.0.0.0/0; It makes nginx to trust an X-Forwarded-For header from anyone, which makes Real Ip visible on logs and can be used in other programs where real ip is required.
While using Amazon Simple Email Service, sometimes we encounter this error message: ” AWS Error Code: RequestExpired, AWS Error Message: Request timestamp: Sun, 13 Mar 2011 06:10:27 GMT expired. It must be within 300 secs/ of server time.” This error probably means that Amazon SES time differs from your system clock time. If you’re using the […]