Category Archives: Administration
Interesting alternative to grpc_cli
https://github.com/ktr0731/evans It has REPL mode and CLI mode for e2e tests I think, it could be a good alternative to grpc_cli.
How to install linux mint on hp
I’ve run into a problem — had a lot of error logging saying «PCIe Bus Error: severity=Corrected, type=Physical Layer», «AER Corrected error received», and similar. The problem is that it fills all the log space and the installation process cannot finish. You can run into it on HP laptops on monoblocks. What you can do.
Setup local Athens for proper go mod
There is a project called Athens for proxying all your go mod downloads. How to use it locally. 1. Create the following files and directories: a. /Users/d.bolgov/.ssh-athens/storage — empty directory to cache go modules b. /Users/d.bolgov/.ssh-athens/.netrc — if you prefer using .netrc machine github.com login [yourlogin] password [yourpassword] c. /Users/d.bolgov/.ssh-athens/gitconfig/.gitconfig — if you want to …
Port forwarding with kubectl
If you want some kubernetes pod to forward all the traffic to you local machine, you can do this: 1. get pod id with kubectl —kubeconfig get po -lapp= -Lversion,cfg,infra-cfg 2. forward exact port from it to you localhost with kubectl —kubeconfig port-forward localhost_port:pod_port And you can request you localhost to reach pod on selected …
Checking restart problems with mysql on centos
You probable installed MySQL with a help of article like this — https://phoenixnap.com/kb/how-to-install-mysql-on-centos-7 So your mysql is controlled by systemctl. Check current status — sudo systemctl status mysqld. Start service — sudo systemctl start mysqld Logs for systemctl are here — sudo journalctl -xe Logs for mysql can be found here — /var/log/mysqld.log. Configs are …
Letsencrypt — easy way
Now you can install certbot-nginx and it will do everything for you. sudo yum install certbot-nginx And then sudo certbot —nginx -d example.com -d www.example.com If it does not work, try this sudo certbot -d example.com -d www.example.com and then select nginx in a prompt. https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-centos-7
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 …
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 sudo apt-get install atop It can be started as a `top` command — it’s output almost the same. But the most interesting feature is that it starts a …
Kubernetes’ cronjobs
That’s what it is — https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/ Get all cronjobs in env: kubectl —kubeconfig … —namespace platform -o wide get cronjobs Get info on exact cronjob: kubectl —kubeconfig … —namespace platform describe cronjob/smartrouting-cron-import-from-bi Get pods with this cronjob: kubectl —kubeconfig … —namespace platform -o wide get pods|grep «rou» Get logs of cronjob kubectl —kubeconfig … —namespace …