Category: Operating systems

IPv6 with gateway in a different subnet

I’ve run across this peculiar problem. I was trying to set up IPv6 on a Centos 6 machine. I thought that it would be a simple task – a couple of minutes at most – as I had done that

Tagged with: ,

header_checks and Spamassassin headers in Postfix 2.6

I’ve had this mail server of mine for some time. I was an early adopter of Gmail back then, but as years went on and it became obvious that messages were data-mined by Gmail, I eventually started running my own

Tagged with: , ,

Apache and umask 002

I ran into a problem with Apache on Centos 6. For some time, I was the only person who had access to this particular machine so permissions were not a problem. However, now that somebody else is taking care of the website

Tagged with: , , , ,

“Lazy” Synolocker

A funny thing happened to me the other day. Someone brought me a 4-bay Synology NAS which had been hit by ransomware called Synolocker. The usual scenario – the NAS was exposed to the internet, maybe not updated as regularly

Tagged with: ,

Centos 7 – bridge for KVM

I got a machine on which I wanted to try Centos 7 and KVM virtualization. As usual, I had to search for how to do a network bridge as it’s been quite long since I did it last time (on

Tagged with: , , ,

Systemd problem

At home, I’ve been using rolling release of Debian for my desktop for quite some time. The good thing about it is that years go by and you need not worry about the end of life of this or that

Tagged with: ,

Skype in Docker

Although jabber is my preferred IM protocol, sometimes I have to communicate with people who, for some reason, only use Skype. On Debian, that can be quite a problem, supposing you are not particularly keen on weed infestation of your

Tagged with: ,

AWK – print no newline

Using awk to display information, the print function, by default, adds newline after each iteration. I wanted to copy the results and use them as an actual array in a program and preferred to have them all on one line,

Tagged with: , ,

CentOS 6 and MiniDLNA

I’ve got a small home server made from a half-broken laptop nobody wanted any more. The screen was’t working, but otherwise the machine was fine, so I took it, shipped Centos 6 on it and it’s been serving as a

Tagged with: ,

Mount a disk image containing LVM

If you have an image with standard partitions, you can mount any partition as a loopback device using the offset given by fdisk:

The sda5 partition starts on sector 204804096. We know from fdisk -l that one sector is

Tagged with: ,
Top