dt.iki.fi

64 posts are tagged "linux"

Fonts on Linux, Chapter Two: Improving freetype rendering

I have previously shown how to change default and fallback fonts with a user configuration. The results are already very good. Nevertheless, I have adjusted the substitutions a little more now, and went through all files in /etc/fonts/conf.dto see what is what and if I can delete some, and uninstall.....

Load bash builtin from file

A few years ago I noticed that sleep is not built into bash and instead calls an external command each time. I like to make my scripts responsive and unobtrusive by relying on bash builtins as much as possible; my reasoning: I am using one of the heaviest shells with all its bells and whistles, so a.....

Is Kali Linux Right For You?

I got tired of opening this link & having to enable javascript, (it's working without js again) only to copy out this bit: Is Kali Linux Right For You? As the distribution’s developers, you might expect us to recommend that everyone should be using Kali Linux. The fact of the matter is, howeve.....

Make all files in a directory accessible to a group

See this answer to a slightly different question: From what I understand, you want everyone in the users group to have write access to the data directory. That's accomplished by the following: setfacl -Rm g:users:rwX,d:g:users:rwX data/ I hope this will persist across user sessions & reboots? .....

Pinebook

The Pinebook is a cheap laptop powered by a 64bit ARM-based single board computer. It comes in 2 sizes, with an 11" screen and a 14" screen. I was intrigued by the price tag, a sort-of open architecture (at least physically: easy to open, troubleshoot, repair and hopefully expand) and growing Linux .....

Pinebook Hacks

In my previous article I described how to get going with a pinebook. Here are a few pinebook-specific hacks to follow up. Disclaimer: It seems I have settled on armbian's pinebook edition for good (but I will mention it if that changes), and if there's anything distro-specific in here, it's specific.....

Nginx and Trailing Slashes

This is a well-known problem for nginx users: an URL points to a directory, but misses the trailing slash, which results in nginx looking for a file, not a folder, and not finding it. But! It seems that this issue has been fixed long since: nginx does add trailing slashes automatically nowadays. So.....

Monitoring a small server

So you set up your server, it's open to the world, and everybody talks about what security risk that is. Your firewalls work, you probably use something like fail2ban, you check your logs every now and then, but that's not 100% protection. Really you'd need to be able to monitor the server over time.....