When access is denied to certain files folders it might be SELinux. You can check this in the /var/log/audit/audit.log
In this example we have changed the html folder in /var/www/ for the Apache HTTP server.
It is also possible to use Ansible to create an instance on Amazon AWS. I have used the Ansible EC2 Cloud Module to create a CentOS 7 Linux instance. See http://docs.ansible.com/ansible/list_of_cloud_modules.html.
Ansible is a great tool to automate the repetitive tasks on your servers. The target nodes will often be Linux but can also be Windows. The management server must be run on Linux.
Now there is no excuse anymore not to use https for your website. At https://letsencrypt.org/ you can get a certificate for free. The certificate is only valid for 3 months but it is easy to automate the renewal using the ACME-protocol. For instance with https://certbot.eff.org/. You can test the result at: https://www.ssllabs.com/ssltest/
In this post I describe how you can add a CentOS 7 host to a Windows Active Directory domain. Happy experimenting.
It is relatively easy to run your website with Docker. In this case we are using the nginx webserver with Docker on Amazon AWS.Continue Reading