Some time ago I had reinstalled petersplanet.nl on a new CentOS 7 Linux server with the latest WordPress version. However when I tried to upload new content this was not possible anymore. The error message was that the uploaded file could not be moved to wp-content/uploads/2017/04.
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.
One of the nice features of RedHat JBoss Enterprise Application Platform is that you can script deployments and configurations using Jython. In this case we are using the Eclipse IDE together with the PyDev plugin for our development environment.Continue Reading
In the past to bypass the SSL security check in Jython I have used the example published at jython.xhaus.com. Unfortunately this doesn’t work anymore with Java 8 and Jython 2.7.0. Luckily I found a solution for Java at log.rowanto.com. Now I only had to transform this into a solution for Jython. This can be seen below. Continue Reading
Adjusting the Shimano 105 5800 front derailleur can be a bit difficult. Especially for the low adjustment with the front derailleur on the smallest chainring and the rear derailleur on the biggest cog. Continue Reading
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