Skip to main content

Recently Updated Pages

Disk Management

Linux Commands

Disk device list lsblk Show disk detail: lsblk -o NAME,UUID,SIZE,TYPE,MOUNTPOINT Detect the dis...

Updated 3 months ago by Ahmad

Build Cronjob

Export Database with Kubernetes Cronjob

Bash Script to Export and Upload DB Backup #!/bin/bash # MySQL Backup and S3 Upload Script with ...

Updated 3 months ago by Ahmad

Write FTP Service

Build FTP Service

apiVersion: v1 kind: Namespace metadata: name: ftp --- apiVersion: v1 kind: Secret metadata: ...

Updated 3 months ago by Ahmad

Installation on Docker

Premium Content Blog

Getting Started Start your blogging career with this app that allows you to charge users on a sub...

Updated 3 months ago by Ahmad

Setup Kubeconfig on a Droplet

Kubernetes on DigitalOcean

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

Updated 3 months ago by Ahmad

Composer Commands

Laravel Framework Cookbook

Dump autoload composer dump-autoload

Updated 3 months ago by Ahmad

Laravel Commands

Laravel Framework Cookbook

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

Updated 3 months 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 3 months 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 3 months 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 3 months 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 3 months ago by Ahmad

Access via port forwarding

Amazon MQ

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

Updated 3 months 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 3 months ago by Ahmad

Administration Commands

MySQL Cookbook

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

Updated 3 months 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 3 months 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 3 months 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 3 months ago by Ahmad

Install Rancher

Kubernetes on DigitalOcean

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

Updated 4 months 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 4 months ago by Ahmad

Multi-node Clusters

Single node Kubernetes with MicroK8s

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

Updated 4 months ago by Ahmad