Browsed by
Author: admin

Minio setup

Minio setup

Minio it is self-hosted storage compartible with s3 API Create key and secret Make nomad file Get mc – CLI for Minio Create connection to storage and add bucket Create file with policy user.json Add policy Add user Apply policy to user Go to another server/OS configure connect to minio and test upload Done Documentation – https://docs.min.io/docs/minio-client-complete-guide.html

Ansible. nmcli module. Failed to import the required Python library

Ansible. nmcli module. Failed to import the required Python library

In new version of Ubuntu/Centos need to use new name of imported module. When using old nmcli.py i had this error: Failed to import the required Python library (NetworkManager glib API) on node’s Python /usr/bin/python3. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter”} when running playbook: from https://docs.ansible.com/ansible/2.5/modules/nmcli_module.html or this error when try to use NMClient from python…

Read More Read More

Golang: replace module by own

Golang: replace module by own

When you need to do fast fix for some module without to push it use option replace in go.mod For example, i want to check – my application will be work with changes in branch ? and add replace for that repo

WireGuard on Kernel 5.6. Quick start

WireGuard on Kernel 5.6. Quick start

Install all downloaded deb’s Reboot server/PC by command reboot After startup check the kernel version^ Test Wireguard on server Add repository for ubuntu 18.04 Make some changes to Firewall on server Simple script for generating key pairs and base cofigs for server and client Or download here: Put wg0.server as /etc/wireguard/wg0.conf on Server side and wg0.client on Client side in the same place Startup interface on machines For Android clients you can use config file as QR code