Although I had setup a daily cronjob for the certbot renew command it appeared that the automatic renewal did not work. It only worked interactively as root.
Continue Reading
Linux
Automate WordPress Updates with Ansible
I have created an Ansible script to automatically update WordPress on a server. In this case the Ansible script runs locally on that server.
Continue Reading
Experimenting with the Raspberry Pi
A few years ago I bought a Raspberry Pi but I never found time to experiment with the GPIO bus.
Continue Reading
Create your own Test Lab with VirtualBox.
If you want to experiment with servers and applications you will probably need your own test lab with virtual machines. The point is that you don’t want your test lab to interfere with your home network. This can be easily realised with Oracle VirtualBox and a network address translation network (NATNetwork) on a workstation.
Continue Reading
WordPress: The uploaded file could not be moved to wp-content/uploads/
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.
Continue Reading
SELinux access denied
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.
Continue Reading
Launch an Amazon AWS instance with Ansible
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.
Continue Reading
Getting started with Ansible
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.
Continue Reading
Let’s Encrypt
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/
Add a Linux host to Active Directory with LDAP and Kerberos
In this post I describe how you can add a CentOS 7 host to a Windows Active Directory domain. Happy experimenting.
Continue Reading