Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

73 total results found

PowerShell on macOS

Command line Apple macOS

Wait. What? PowerShell on macOS? Here's how. Brew .NET and PowerShell Don't have homebrew? Get it at brew.sh brew cask install dotnet Update OpenSSL brew install openssl ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/ ln -s /usr/l...

tmux

Command line Linux

Session Control (from the command line) tmux Start a new session tmux new -s <session-name> Start a new session with the name chosen tmux ls List all sessions tmux attach -t <target-session> Re-attach a detached sess...

LVM with cache

Command line Linux

  Create a logical volume with nvme cache. vgcreate storage /dev/sdb /dev/nvme0n1lvcreate -L 6T -n lv storage /dev/sdblvcreate -L 900G -n lv_cache storage /dev/nvme0n1lvcreate -L 9G -n lv_meta storage /dev/nvme0n1lvconvert --type cache-pool --cachemode write...

Extract key/cert from PFX

Command line Security(ish)

 Extract key from pfx fileopenssl pkcs12 -in /path/to/file.pfx --nocerts -out /path/to/exported.key Extract certificate from pfx fileopenssl pkcs12 -in /path/to/file.pfx -clcerts -nokeys -out /path/to/cert.crt decrypt private key if desired.openssl rsa -...

CentOS Linux 8 to CentOS Stream

Command line Linux

Step 1: Enable CentOS Stream Repo dnf install centos-release-stream Step 2: Set CentOS Stream repo as the default dnf swap centos-{linux,stream}-repos Step 3: Synchronize installed packages to the latest versions dnf distro-sync When complete, reboot and...

Oracle ORDS and Apache

Deploy and Configure Oracle Things

Before using ORDS, you need a database and APEX. Go here to do that. Download ORDS at Oracle. Installation of ORDS The Oracle Rest Data Services (ORDS) installation consists of unzipping the downloaded archive, running the configuration command, then deployi...

systemd services

Command line Linux

Various systemd services. Oracle WebLogic /etc/systemd/system/wls_nodemanager.service [Unit] Description=WebLogic nodemanager service [Service] Type=simple WorkingDirectory=/u02/oracle/domains/base_domain ExecStart=//u02/oracle/domains/base_domain/...

Unlock the ESXi host account

Command line VMware

At the console press CTRL+ALT+F2 to get to the ESXi shell. If a login shows up continue with step 3, otherwise continue with step 2. Login to the DCUI (to enable the ESXi Shell if not already done) Login with root and the correct password. Go to Troub...

The Lab

Other Things

A few of my favorite memes

Other Things

RHCA - EX180/EX280

Containers OpenShift

Red Hat Certified Specialist in Containers and Kubernetes Notes, tips and tricks for the EX180 and EX280 exams.   Podman host setup dnf module install container-tools dnf install -y buildah Podman basics Registry file: /etc/containers/registries.conf Login to...

rhca
devops

Podman

Containers Containers

Basics Registry file: /etc/containers/registries.conf Login to a registry podman login registry.access.redhat.com Search for images podman search mariadb Inspect images without downloading skopeo inspect docker://registry.access.redhat.com/rhscl/mariadb-102-...

cloud
devops
containers

Dockerfile and container images

Containers Containers

Building container images using a Dockerfile. Here's a Dockerfile example that runs a simple nmap. Dockerfile # Start with a base image FROM redhat/ubi8 # Maintainer information LABEL org.opencontainers.image.authors="mail@clusterapps.com" LABEL description="S...

Using oc to manage OpenShift

Containers OpenShift

The Basics Examples of the basic need to know oc commands to deploy and manage containers on OpenShift. Set a few variables to prevent sensitive information in the terminal history. export REGISTRY_USERNAME=YourUsername export REGISTRY_PASSWORD=SomePassword ex...

Buildah

Containers Containers

Basic howto for building a container image with Buildah. This example set will build the GNU hello application on a Fedora image. To follow along, download the hello source from here: http://mirrors.kernel.org/gnu/hello/ Start with a base image. buildah from f...

Pod scripts

Containers Containers

Here are a few quick scripts to get pods up and running quickly on Podman. Gitea Gitea is a self-hosted git server. podman pod create --name gitea -p3000:3000 -p 2222:22 podman run -d --pod gitea --name gitea_db -e POSTGRES_PASSWORD=gitea -e POSTGRES_USER=gite...

Badges

Other Things

OCI CLI setup

Deploy and Configure Oracle Things

Setup OCI You'll need a terminal and a browser. Log in to OCI and go to your profile. You'll need the user OCID and the tenant OCID. Note the region you are in. Install oci Oracle Linux 8 sudo dnf -y install oraclelinux-developer-release-el8 sudo dnf install...

Istio: Install

Containers Kubernetes

Setup and Configure Download Istio by running the following command: curl -L https://istio.io/downloadIstio | sh - Move to the Istio package directory. For example, if the package is istio-1.11.2: cd istio-1.14.1 Add the istioctl client tool to the PATH for ...

Operator Framework

Containers Kubernetes

Operator SDK Download the release binary Set platform information: export ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac) export OS=$(uname | awk '{print tolower($0)}') Download the binary for your...