January 7, 2020

 

Blog migration to hugo

As I wrote some time ago, I decided to self-host blog. I'm in process still, however here's some experience.

Sharing here some experience in process (will update this post until done).

TL;DR:
  1. Install latest hugo with snap
  2. Find and install theme (with git submodule - see below)
  3. Try blog with "hugo server ..."
  4. Setup publishing pipeline on blog changes (for example, Jenkins or whatever is preferred).
Detailed steps:
  1. Install blogger_to_hugo migration tool
  2. (This one is not specific to anyone I suppose. I don't want to experiment with lots of new packages in my main macos system, so installing debian 9 as vbox VM. All further is done there).
  3. Run migration from blogger backup with blogger_to_hugo. I got an error:
    TypeError: object of type 'NoneType' has no len()

    Seems like it expects only the english post titles (or maybe texts in english too) and crashes otherwise. Too bad.
  4. Use blog2md which produces a bunch of .md files (not sure about non-english titles, but no crash at least).
  5. Install and try to use zzo theme. It turns out that hugo 0.58 is not compatible. Although it's latest in debian sid (unstable) repo!
  6. Use snap installer (another repo to think of..): snap install hugo
  7. Hmm, zzo theme does still not work showing bunch of "render of 'page' failed..." errors and crashing in the end. Could be a non-english titles.
  8. Trying a hugo theme pure.
  9. Copy and edit config from example site of a chosen theme.
Good points: Bad points: Notes:

Labels: , , , , , ,

August 2, 2019

 

Debian Buster (10) no Java 8 support

I installed Debian 10 onto X220 laptop and discovered that it's no official support for Java 8 according to debian mailing list. Also an installation of recommended PPA containing Java 8 which requires adding gpg keys via apt-key fails. Little disappointed by the keys shit. I'm looking for some other options, as Java 8 is critical for me and I really don't wanna mess up with unofficial openjdk builds.

This resembles me a lot this almost comedian video on how hard to describe the life of sysadmin to non-it people. Palm, palm, palm.
Video link

So no Debian 10 for my X220. Thinking about arch (used it for some years, with some luck of failing video drivers - I don't have a good feeling about it being on laptop) or centos (happy with it on server, not sure about client). Also maybe a Debian 9 is a logical choice as seems like it has Java 8 supported by default.

Labels: , , , , , , , , ,

This page is powered by Blogger. Isn't yours?