Technical Notes

We're all on the same page!

Sunday, 13 September 2020

A basic git exercise

›
e.g. an example with basic git commands  source: develop  branch  target: private  branch  (not exist on the git local/remote repository at ...
Monday, 15 June 2020

How to resolve "[Errno 13] Permission denied"?

›
Action $  ansible-playbook -i /etc/ansible/hosts /etc/ansible/example.yml -v Error ERROR! Unexpected Exception, this is probably a bug: [Err...
Monday, 16 December 2019

unzip vs gunzip

›
e.g. using unzip and gunzip tools for extracting the zip files * example.txt file compressed into example.zip file -> Listing content...
Wednesday, 20 November 2019

How to reset mariadb root password on using Galera Cluster system?

›
e.g. reset root password two machines in a cluster 1st step: -> Activate " safe_to_bootstrap " parameter  on first machine ...
Friday, 18 October 2019

e.g. preparing multiple virtual machines in local network

›
Hostnames: VM node-A, VM node-B, VM node-C Adapter 1: Host-only Adapter (VirtualBox-Host-Only Ethernet Adapter) Type -> Paravirtualiz...
Monday, 30 September 2019

How to solve git merge conflict?

›
e.g. git merge conflict issue source: private branch target: develop branch 1st step: $ git clone http://blabla --branch private 2nd...
Tuesday, 27 August 2019

Ansible Commands Book

›
-> valid syntax of the playbook $ ansible-playbook -i myhosts example.yml -v  -- syntax-check -> show elapsed time of the playbook $ ...

How to drop database/user on logical replicated database?

›
1st step on 2nd node: $ echo "DROP SUBSCRIPTION exampledb_node_2" | psql on 1st node: $ echo "DROP PUBLICATION exampledb...
Saturday, 29 June 2019

Kubernetes label usage

›
e.g. namespace; kube-system -> List labels # kubectl get pods --all-namespaces --show-labels # kubectl get pods -n kube-system -...
Sunday, 19 May 2019

Examples of "escape sequences" usage on echo command

›
To use interpretation of backslash escapes, just need to put " -e " parameters afterward echo command. Info: " -e " me...
Friday, 22 February 2019

Linux Terminal Commands Book

›
*  chage (manage user password settings) *  hostnamectl   (show hostname settings) *  date  (manage system date and time) * rpm   (means ...
Thursday, 3 January 2019

How to fix "connection refused" error?

›
Error e.g. The connection to the server 10.10.10.10:6443 was refused - did you specify the right host or port? Solution On kubernetes ...
Wednesday, 19 December 2018

What are the differences of su/ su -/ sudo / sudo su in linux system?

›
Info:  su means, switch user or substitute user sudo means, super user do to use sudo command, related user must be defined in sudoers fi...
Thursday, 1 November 2018

How to change timezone?

›
-> Determine your timezone # cd /usr/share/zoneinfo # tzselect e.g. Europe/Istanbul -> Remove current localtime soft link # rm ...
Wednesday, 31 October 2018

How to connect into local VM via SSH?

›
* Set a new Port Forwarding Rule in Network Settings Step 1: Settings -> Network -> Adapter 1 -> Advanced -> Adapter Type -...

WSREP "Failed to open channel" solution

›
Error ERROR WSREP "Failed to open channel 'my_mariadb_cluster'" Detailed Error WSREP: gcs/src/gcs.cpp:gcs_open():1458:...
Monday, 8 October 2018

How to find/follow postgresql server logs?

›
-> Check log level from config file # cat /var/lib/pgsql/data/postgresql.conf e.g. log_min_messages= 'ERROR' (default value) ...
Thursday, 4 October 2018

How to setup/configure/use mailx for Office365 account?

›
-> Update the OS # yum -y update or (y -> yes) # yum update -> Install mailx # yum install -y mailx -> Define soft link ...

How to solve "restarting/pending pod repeatedly" problem?

›
-> Check the pods status e.g. # kubectl get pods --all-namespaces NAMESPACE     NAME                            READY     STATUS kube...
Tuesday, 2 October 2018

How to enable Hyper-V in Windows 10?

›
Press Windows key -> Type "Turn Windows features on or off" then click it -> Select " Hyper-V" check box then c...
‹
›
Home
View web version
Powered by Blogger.