Skip to main content

Recently Updated Pages

Setup Kubeconfig on a Droplet

Kubernetes on DigitalOcean

Download Kubeconfig Open from menu Manage > Kubernetes. Click your target Kubernetes cluster. Fr...

Updated 2 weeks ago by Ahmad

Composer Commands

Laravel Framework Cookbook

Dump autoload composer dump-autoload

Updated 2 weeks ago by Ahmad

Laravel Commands

Laravel Framework Cookbook

Run server: php artisan server --port <port-number> Clear configuration: php artisan config:clear

Updated 2 weeks ago by Ahmad

Access Amazon MQ Web Console

Amazon MQ Cookbook

Create RabbitMQ broker Set Public accessibility to Yes to access it from public network. Open Rab...

Updated 2 weeks ago by Ahmad

Fix Error Agent Unavailable on Rancher

Managing Pods

Find agent pod for Rancher kubectl get pods -n cattle-system Show error logs kubectl logs -n cat...

Updated 2 weeks ago by Ahmad

AWS Systems Manager

AWS SDK

Verify IAM Role Permissions The EC2 instance you’re targeting needs an IAM role with the appropri...

Updated 2 weeks ago by Ahmad

Locate the AWS CLI Credentials File

AWS SDK

View Credentials: Open a terminal or command prompt. Run the following command: cat ~/.aws/cred...

Updated 2 weeks ago by Ahmad

Access via port forwarding

Amazon MQ

aws ssm start-session \ --target <instance-id> \ --document-name AWS-StartPortForwardingS...

Updated 2 weeks ago by Ahmad

Accessing the Amazon MQ broker web console without public accessibility

Amazon MQ

Read the instruction from AWS Read the instruction here. Configure FoxyProxy on your computer Rea...

Updated 2 weeks ago by Ahmad

Administration Commands

MySQL Cookbook

Grant database privileges for a user GRANT ALL ON example_database.* TO 'example_user'@'%' WITH G...

Updated 2 weeks ago by Ahmad

Install MySQL Client Tools

MySQL Cookbook

For Ubuntu/Debian sudo apt update sudo apt install mysql-client -y Error debugging E: Package 'm...

Updated 2 weeks ago by Ahmad

Kubernetes Commands

Managing Pods

Access inside a pod kubectl exec -ti <pod_name> -n <namespace_name> -- /bin/bash Find and stop p...

Updated 2 weeks ago by Ahmad

Process

Linux Commands

Sort process by memory usage ps aux --sort=-%mem | head -n 30 Sort process by CPU usage ps aux -...

Updated 2 weeks ago by Ahmad

Install Rancher

Kubernetes on DigitalOcean

Choose a namespace for Rancher (commonly cattle-system): kubectl create namespace cattle-system ...

Updated 3 weeks ago by Ahmad

Run Kubernetes Command via Local Computer

Kubernetes on DigitalOcean

Prepare Environment sudo snap install kubectl --classic sudo snap install helm --classic Downloa...

Updated 3 weeks ago by Ahmad

Multi-node Clusters

Single node Kubernetes with MicroK8s

Charmed Kubernetes installs CNCF-certified Kubernetes clusters across clouds Charmed Kubernetes i...

Updated 3 weeks ago by Ahmad

Multi-node, highly available Kubernetes with MicroK8s

Single node Kubernetes with MicroK8s

To create a cluster out of two or more already-running MicroK8s instances, use the microk8s add-n...

Updated 3 weeks ago by Ahmad

Install MicroK8s on Linux

Single node Kubernetes with MicroK8s

MicroK8s installs a single node, CNCF-certified Kubernetes cluster in seconds. MicroK8s is a ligh...

Updated 3 weeks ago by Ahmad

Installation Using Kubeadm for a Single-Node Kubernetes Cluster

Build Kubernetes with a Single Node

Kubeadm is a tool provided by Kubernetes to create and manage clusters. You can use Kubeadm to se...

Updated 3 weeks ago by Ahmad

Installation

Build Social Network with Mastodon

Docker Compose services: db: image: postgres:15 container_name: mastodon_db environ...

Updated 3 weeks ago by Ahmad