Skip to main content

Eric Drechsel

Arch Linux package cleanup notes

2 min read

Cleaning up your arch packages is a bit of a chore. The key document listing the pacman invocations you will need is pacman/Tips and tricks (ArchWiki).

The basic flow I use is:

  • list explicitly installed (-Qe),
  • remove (-R) any that I don't explicitly want,
  • remove orphans (pacman -Rns $(pacman -Qtdq)).

I always end up with a bunch of KDE packages installed which I find annoying because it makes my upgrades go a lot slower due to their size and frequency of update. They must be pulled in by one of my explicit installs. Time to generate some dependency graphs:

Pactree reveals that krita is pulling in all those KDE packages. Well, I want to keep krita so I guess I'll put up with them :D.

Eric Drechsel

Portland Friends: I'm Leaving Town!

1 min read

I'm just in Portland this week and the last week in June!

I'm scheduling several opportunities for group hangouts, or hit me up for a bike ride/park time/whatever.

After that I'll be gone at least for the Summer/early Fall travelling and visiting my mom in S Oregon, possibly much longer as I'm considering living abroad in Europe for awhile.

Eric Drechsel

Heat Welding Acetal

1 min read

TIL that Acetal plastic (aka POM, Delrin), as used in the fracture-prone Kinesis Freestyle2 pivot tether, which is notoriously-difficult to bond, can be heated-tool welded using a simple soldering iron.

Eric Drechsel

Odroid SHOW2, an Arduino compatible with a 2.2" TFT LCD onboard!

1 min read

Hardkernel's ODROID SHOW2 combines nicely with their Weather Board 2

I'm going to hook one up to the Shinyei fine particulate sensor I got off ebay to make a home environmental quality monitoring station.

Eric Drechsel

New Home

1 min read

edrex.withknown.com was meant as a quick experiment to validate two technologies for connecting a website to the larger social web:

After a day using the system, I'm super happy with the results (need to do a postmortem writeup) and have set up a permanent site at:

edrex.pdxhub.org

Check out my post setting up a free software multi-domain host using libre.sh for details on the server build.

Eric Drechsel

Building the Libre.sh Node

3 min read

I set up my own libre.sh IndieHost yesterday.

The whole process took about 30 minutes, and at the end, I had two domains running:

It's a really great setup which completely avoids inventing new technologies and instead leverages the best available components.

Each domain is running as an isolated multi-container Docker Compose app. Apps are managed as system.services, with CoreOS as the base OS.

This is a complete hosting system, with domain name purchasing, auto-SSL, tidy domain backups, an email server, and a suite of excellent applications. (sorry, you'll just have to page through their repos, as there's no compiled list of apps yet - I think I'll contribute one back).

Guide 

If you are interested in setting up your own node, read on. The rest of this post is just my notes. The Install Guide should be your primary resource for provisioning your node.

Setting up Digital Ocean

Added doctl (to install https://github.com/digitalocean/doctl/) to my dotfiles.

Already had SSH key uploaded to DO.

Ran

libre.sh git/master
❯ doctl compute ssh-key list
ID	Name		FingerPrint
KEYID	name	        ...
❯ doctl compute droplet create ... --ssh-keys=KEYID 
❯ doctl compute droplet list ❯ ssh core@IP

Libre

Once connected to the host, most tasks are performed using the libre command. Run

libre help

for a list of subcommands. Most libre subcommands require root so you'll need to prefix them with sudo.

Backups

A complete backup system is available as a /system module. You simply have to configure it with a remote SSH login. You'll need an SSH-able host with enough persistent storage to contain all your backups. I'm using a low-power Intel NUC box at home.

Follow the backups module install instructions. The command to get key signatures added to authorized keys on the dest and known_hosts on the backups container doesn't quite work, see indiehosters/backups#2 for working instructions.

WIP

Logs

There's an experimental app/system module for aggregating/searching/analyzing logs using ELK stack.

Things I have not set up yet, which I plan to

  • Automatic domain provisioning. There's optional API integration to purchase and configure Namecheap domains using the command line tool. I decided to skip this for now, since I have my domains registered through another provider. I'll probably come back to this when I have validated the platform more.
  • Email. There is a fully functional email application modeled after Mail-in-a-Box, the best available documentation for setting up an email server nowadays. 

Eric Drechsel

redecentralize.org

1 min read

Looking forward to listening to their large collection of interviews with decentralized network activists.

Eric Drechsel

Eric Drechsel

Kickstarter!

1 min read

Need to get me one of these

Eric Drechsel

I see, status updates can have a reply-to URL. Nice!

1 min read

I see, status updates can have a reply-to URL. Nice!