Auto Generate OpenAPI/Swagger Specification from Annotated Java Code, with...
OpenAPI Specification (formerly Swagger Specification)Auto generate documentation for your REST API, is a great way to document and it's auto generated and finally you follows a specification, that...
View ArticleMicroProfile OpenAPI on Wildfly 23 and JBoss EAP 7.3.x
IntroductionIn my last blog I showed a simple example app annotated with Eclipse MicroProfile OpenAPI Annotation. See...
View ArticleKubernetes native configuration management
https://kustomize.io/https://github.com/kubernetes-sigs/kustomize/tree/master/exampleshttps://github.com/kubernetes-sigs/kustomize/blob/master/examples/inlinePatch.mdhttps://skryvets.com/blog/2019/05/1...
View ArticleGetting Started with Red Hat OpenShift Local (formerly Red Hat CodeReady...
2.3. Installing CRC- https://crc.dev/crc/#installing_gsgAfter download have 2 files:/home/magnuskkarlsson/Downloads/crc-linux-amd64.tar.xz/home/magnuskkarlsson/Downloads/pull-secret$ cd ~/Downloads$...
View ArticleBash Auto Completion in RHEL 8 and 9
>$ sudo yum install bash-completionAnd then logout and login.https://www.cyberciti.biz/faq/add-bash-auto-completion-in-rhel8-redhat-enterprise-linux/
View ArticleFedora 35 Keyboard keys not repeating when held down
>$ sudo gsettings set org.gnome.desktop.peripherals.keyboard repeat trueYou might have to restart applications, e.g....
View ArticleHow to Change the Tab Size in VIM
>$ sudo cat /etc/vimrc...set tabstop=2set shiftwidth=2set expandtabhttps://stackoverflow.com/questions/2054627/how-do-i-change-tab-size-in-vim
View ArticleHow to Disable RHEL 9.0 BAD PASSWORD: The password fails the dictionary check...
NEVER USE THIS IN A NOT TEST/DEVELOPMENT ENVIRONMENT>$ sudo passwd studentChanging password for user student.New password: BAD PASSWORD: The password fails the dictionary check - it is based on a...
View ArticleRHEL 9.0 Bash Completion and in VIM use Space Instead of Tab
>$ sudo dnf install vim-enhanced bash-completion -yAfter installing bash completion you need to login out and then login before completion takes affect.>$ sudo vim /etc/vimrc..." insert space for...
View ArticleRHEL 9.0 Administratively Log Out Users
># man w...NAME w - Show who is logged on and what they are doing....># w 14:08:39 up 3 min, 2 users, load average: 0.03, 0.08, 0.03USER TTY LOGIN@ IDLE JCPU PCPU WHATstudent pts/0 14:04 1:16...
View ArticleRHEL 9.0 Manage Systemd Units
>$ sudo systemctl list-units --type service --allSystemd units can be of three kinds:Service units have a .service extension and represent system services.Socket units have a .socket extension and...
View ArticleRHEL 9.0 Managing journalctl
>$ sudo journalctl -p err>$ sudo journalctl --since "2022-07-01" --until "2022-07-10 15:00:00"> -S, --since=, -U, --until= Start showing entries on or newer than the specified date, or on or...
View ArticleRHEL 9.0 Managing Date, Time and Time Zone
>$ sudo timedatectl Local time: Sun 2022-07-10 18:27:46 CEST Universal time: Sun 2022-07-10 16:27:46 UTC RTC time: Sun 2022-07-10 16:27:46 Time zone: Europe/Stockholm (CEST, +0200)System clock...
View ArticleNetworking Basics
Netmask (n 1s, the rest 0s)Network address (all host bits are 0s)Broadcast address (all host bits are 1s)Address range for hosts on subnet (Network address + 1 to Broadcast address - 1)Number of hosts...
View ArticleRHEL 9.0 Install NFS 4 Server and Client. Configure Mount and Automount...
RHEL 9.0 Install NFS 4 ServerLets start with one server and install NFS 4.># dnf install -y nfs-utils# man 5 exports... root_squash Map requests from uid/gid 0 to the anonymous uid/gid. Note that...
View ArticleRHEL 9.0 LVM, Extend and Swap
IntroductionLogical Volume Manager (LVM)Physical Volumes (PVs)Volume Groups (VGs)Logical Volumes (LVs)Create Partition Table, PV, VG and LV># lsblk -fpNAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE%...
View ArticleRHEL 9.0 Virtual Data Optimizer (VDO)
Introduction># dnf install -y vdo kmod-kvdoPrerequisite># parted /dev/vdb printModel: Virtio Block Device (virtblk)Disk /dev/vdb: 10.7GBSector size (logical/physical): 512B/512BPartition Table:...
View ArticleRHEL 9.0 Stratis
Introduction># man stratis...EXAMPLES Example 1. Creating a Stratis pool stratis pool create mypool /dev/sdb /dev/sdc Example 2. Creating an encrypted pool stratis key set --capture-key...
View ArticleRHEL 9.0 Reset the Root Password
When the boot-loader menu appears, press any key to interrupt the countdown, except the Enter key.Use the cursor keys to highlight the rescue kernel boot-loader entry (the one with the word rescue in...
View ArticleRHEL 9.0 Boot in emergency.target
Introduction># systemctl list-units --type target --all UNIT emergency.target rescue.target...# systemctl get-default multi-user.targetBoot in emergency.targetWhen the boot-loader menu appears,...
View Article