Thursday, June 18, 2020

[SOLVED] initramfs unpacking failed: write error (VirtualBox)

I was trying to install Manjaro Linux in VirtualBox and I got that error. Solution is simple: grow the VM memory. I changed it from 512MB to 1024MB and it ran fine.

Sunday, May 31, 2020

Domain serving SSL certificate of a subdomain

Today one of my sites was serving a SSL certificate of a subdomain instead of the domain's one, after configuring the SSL certificate for the subdomain with certbot for Apache.

It took me some hours of investigating and tries.

The problem is that certbot changed the domain.conf file in /etc/apache2/sites-available folder to serve the subdomain's SSL certificate. Editing the file and reloading Apache solved it.

Wednesday, January 8, 2020

Time adjustment for DigitalOcean droplets

Hello!

I have some droplets on DigitalOcean, but I noted that the system time (in all of them) is not correctly synced with NTP servers.

The solution that worked for me is to include the following line at the end of /etc/crontab:

* * * * * root /sbin/hwclock -s

That command instructs the system to copy time from hardware (which is more precise) every minute. That solved my problem.