Happy New Year
Happy New Year! The Chinese new year is comming soon(The day after tomorrow). Wish you all who comes here: The…
Php configure memcached in centos8
Install and configure php and memcached plugin for wordpress setup on centos8 I use pecl to manually install memcached plugin.…
Kubernetes Pod Resource Usage Checking
There are so many ways to check pod resource usage such as cpu and memory in kubernetes, kubectl top command…
Kubernetes copy file from pod to local
Kubernetes client kubectl provides cp sub command to copy file from pod to local filesystem or from local filesystem to…
Troubleshooting kubernetes pod get stuck in Terminating status
Pods in Kubernetes can sometimes get stuck in the “Terminating” status, which means that they are being terminated but have…
Kubernetes secret decode
In Kubernetes, a secret is a way to store sensitive information, such as passwords, tokens, or keys, that can be…
Re-run A Kubernetes Scheduled Job manually
A Kubernetes Scheduled Job is designed to run automatically based on a schedule defined in the cron format. However, there…
Kubernetes Image update/pull policy
In Kubernetes, the image pull policy is a configuration option that determines how the system should handle pulling container images.…
Add External Image Registry in OpenShift
There are serval ways to connect an external image registry (such as harbor) to your openshift environments. In installation phase,…
Run multiple commands in kubernetes
This article will describe how to run multiple commands on container startup phase in kubernetes. Kubernetes provides several ways to…
OpenShift 4 Internal Image Registry Configuration
By default, when you install your openshift 4 cluster on bare metal manually, the internal image registry is not available,…
Keep Container Running On Kubernetes
When you trying to run a simple container with shell (/bin/bash) on a Kubernetes cluster, the container exits when its…
Setup NFS storage class in OpenShift 4
NFS storageclass is an easy to use storage option for kubernetes and openshift platform. I will describe how to setup…
OpenShift 4.10 high available cluster installation Tutorial
In this tutorial, i will describe how to install and setup an openshift container platform (OCP) 4.10 cluster with high…
Nginx setup and configuration guide
Nginx is a complex and rubust software, for this guide, we only care about how to setup it for layer7…
Php7.4 Startup: Unable to load dynamic library zip.so
When upgrading php from 7.2 to 7.4 in centos 8, then restart php-fpm service, an error message below occoured. Check…
OpenShift Code Ready Containers Guide
Openshift code ready container(crc) is a lightweight openshfit environment for developers, it can be installed on a single standalone vm…
Add Custom DNS Server/Entry in Openshift crc environment
If you have a private registry in your lab environment, and to add this registry to openshift crc environment, for…
Convert Json To Yaml In Java
In java, to convert json string or json object to yaml string, you can use jackson to do this in…
JS/TS Convert unix timestamp to Time String
To Convert a unix timestamp to humman readable string, use new Date() with parameter * 1000, convert unix timestamp to…
Install ImageMagick and PHP Imagick on CentOS 8 / RHEL 8
Install ImageMagick and php-ImageMagick on centos8 install ImageMagick Install php and php-pear, compile tools Now, install PHP Imagick with pecl command. Add…
Install php7.4 on Centos8/Oracle Linux 8
Install epel-release check all available PHP versions using the following command: The default PHP version is set to PHP 7.2.…
Macos ITerm2 SSH Session Keepalive
In Macos, Item2 do not have a builtin ssh keepalive configuration, to config ssh keepalive, setup ssh config for current…
Centos Close Systemd Port 111
In Centos/RHEL, systemd listens on port 111 which is used by rpcbind service, for security reason, close it or disable…