Install hdf5r package in R 4.0.2

While installing the R package “hdf5r” version 1.3.3, I encountered the error:

fatal error: hdf5.h: No such file or directory
 #include <hdf5.h>
compilation terminated.

My OS is Debian buster/10.6, and the package “libhdf5-dev” has been installed. It looks R cannot find the path of hdf5 header and library files.

Enable certbot automatic renewal for cloudflare CDN

A couple of days ago, I received an email from the Let’s Encrypt and was told the certificate of my domain will expire soon. This domain has been encrypted by certbot and the automatic renewal worked well at that time. About one month ago, I added it to cloudflare CDN. It may hindered the certificate renew.

So I spent some time to fix the problem.

Nginx + Letsencrypt + Aria2

Most websites supports HTTPS right now. So I decided to re-configure my download server to HTTPS in weekend, and update aria2 to latest version.


  • VPS
    • OpenVZ VPS
  • OS
    • Debian 9.12
    • Kernel 2.6.32
  • Softwares
    • aria2 1.35.0
    • AriaNg 1.1.4
    • Letsencrypt/certbot 0.28.0
    • Nginx 1.10.3

Install conda compiler tools

Conda is quite convenient for non-root users to install softwares in Linux system. But sometimes there is no packages available in anaconda repository and we have to install these softwares from source. This post introduces the way to compile and install softwares from source, use the Kyoto Cabinet Perl module as an example.

Install Nvidia CUDA in Debian Way
  • For Debian stable/Stretch

Install NVidia driver in Linux server is always tedious and painful. Fortunatelly, Debian stable/Stretch provids ready-to-use NVidia drivers and CUDA toolkits. This post indicates the proper way to install up-to-date Nvidia driver and CUDA in Debian way.