Ubuntu lsb_release Not Working On Python3.6

https://askubuntu.com/questions/965043/no-module-named-lsb-release-after-install-python-3-6-3-from-source . . . selengkapnya>>

Ubuntu Generate UUID

Generate uuid using built in ubuntu function https://manpages.ubuntu.com/manpages/bionic/man1/uuidgen.1.html . . . selengkapnya>>

Python Apps Not On Path

Last week when i installed some python application it says that it is installed but not on path, the message shown WARNING: The script xxxx is installed in '/home/myusername/.local/bin' which is not on PATH. This error happen because the script is not installed on system PATH, for temporary fix you could run PATH=$PATH:$HOME/.local/bin For permanent change you. . . selengkapnya>>

Connect to Docker Container with Specific User

Connect to docker container will using root as default user (or user defined when we create container), but sometimes we need to connect to docker container with specific user. To do this we can use command bellow: docker exec -it --user user_name container bash     . . . selengkapnya>>

Ubuntu Create Known Hosts

Sometime when we connect to server automatically (like on CI/CD pipeline), we need to define known hosts manually, below is command to generate known hosts ssh-keyscan -t rsa server.example.com > my_known_hosts Command above will generate known hosts on file my_known_hosts . . . selengkapnya>>

zuka.one
©2011