Category Archives: Administration

Letsencrypt — easy way

Now you can install certbot-nginx and it will do everything for you.

And then

If it does not work, try this sudo certbot -d -d and then select nginx in a prompt.

Install postgresql 11 on CentOs7

Just what to do, no discussion.

How to split disk pool on synology nas

I have a Synology NAS DS 218+. When I bought it, I decided to make a RAID1 pool from two disks. But after time passed, I realized that I don’t have enough space to store all files. And I decided to make two separate disks instead of one RAID1. RAID0 is worse for me comparing …

Read more

Linux. History of system usage

There is a way to monitor your system usage and log to a file easily — with atop command. On my Ubuntu it can be installed with

It can be started as a top command — it’s output almost the same. But the most interesting feature is that it starts a daemon that logs …

Read more

Kubernetes’ cronjobs

That’s what it is — Get all cronjobs in env:

Get info on exact cronjob:

Get pods with this cronjob:

Get logs of cronjob

you can add -f for live updating logs and -p for watching logs of previous pod.

Crontab time format

That’s about it: min hour day/month month day/week Execution time 30 0 1 1,6,12 * — 00:30 Hrs  on 1st of Jan, June & Dec. 0 20 * 10 1-5 –8.00 PM every weekday (Mon-Fri) only in Oct. 0 0 1,10,15 * * — midnight on 1st ,10th & 15th of month 5,10 0 10 …

Read more

docker-compose example for ceph, kafka, postgres cluster

That is how it can be done:

docker simple starter

Build and run (on linux do not forget sudo):

Login into container

Pipeline view in shell

grep, zgrep, less and zless regexp examples

Grep all files with mask:

Grep all zipped files with mask:

Less all files with mask:

Grep all zipped files with mask:

Tail all files with mask: