If you buy cycling tyres with a width 25 mm this does not automatically mean they are exactly 25 mm or 25,4 mm (1 inch).
Continue Reading
Articles by peter
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
Jython scripting for JBoss EAP with Eclipse and PyDev
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
How to bypass the SSL security check in Jython
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