Articles tagged with #linux (11)
The following does NOT need to connect the server, which is another way, where the server provides a secret via http, and the letsencrypt server checks it. But the drawback of that is that you need to run the webserver and later reconfigure it, since this is only needed for the initial cert afaik. So I went the other way. Will see how the renewal works, but I think it should work.
Continue reading →
If you are running out of disk space on your docker host, you can free up some space by removing unused docker images, containers, and volumes. I am running docker-compose and always watch the logs, since the service is not high scale yet, so the log files fill up. This means from time to time I need to free some disk space.
Continue reading →
I am installing nodejs inside a docker container and have this line in the Dockerfile:
Continue reading →
You know cat file.txt
which prints all the lines in a file from first to last. But what if you want to print them from last to first? Easy, just write cat
backwards, which is tac
voila.
Continue reading →
I am learning how to write a proper Makefile
using
https://makefiletutorial.com/#getting-started. And I am just writing down the things that jump at me, not complete neither a tutorial, just a look-up post or cheatsheet for me.
Continue reading →
There I have it again, a install.sh
file on a linux and I don't remember how execute it. I tried ./install.sh
, error, . ./install.sh
another error, it also never felt right the way I did it.
Continue reading →
I had no idea that docker uses the underlying platform as default also for images that it installs. My Dockerfile
that just contained FROM ubuntu
and I ran some linux binary in there, it threw:
Continue reading →
I want to get my nextcloud setup to run using docker-compose, and to start with I need a linux machine with docker running at start up. This is task #1, it looks like this blog post
has the answers how to do it.
Continue reading →
You need to
Continue reading →
diff --recursive <dir1> <dir2>
to diff the files and their contents in two directories I just needed to do some golden master tests after updating a dependency
The annoying port 8080 is already in use
message and not knowing which process is occupying this port sucks. I knew it was lsof
that can help me. But how exactly? TL;DR: ps -p `lsof -i :8080 -t` -o command=
(on Mac OSX)