Recently Updated Pages
Disk Management
Disk device list lsblk Show disk detail: lsblk -o NAME,UUID,SIZE,TYPE,MOUNTPOINT Detect the dis...
Build Cronjob
Bash Script to Export and Upload DB Backup #!/bin/bash # MySQL Backup and S3 Upload Script with ...
Write FTP Service
apiVersion: v1 kind: Namespace metadata: name: ftp --- apiVersion: v1 kind: Secret metadata: ...
Installation on Docker
Getting Started Start your blogging career with this app that allows you to charge users on a sub...
Setup Kubeconfig on a Droplet
Download Kubeconfig Open from menu Manage > Kubernetes. Click your target Kubernetes cluster. Fr...
Composer Commands
Dump autoload composer dump-autoload
Laravel Commands
Run server: php artisan server --port <port-number> Clear configuration: php artisan config:clear
Access Amazon MQ Web Console
Create RabbitMQ broker Set Public accessibility to Yes to access it from public network. Open Rab...
Fix Error Agent Unavailable on Rancher
Find agent pod for Rancher kubectl get pods -n cattle-system Show error logs kubectl logs -n cat...
AWS Systems Manager
Verify IAM Role Permissions The EC2 instance you’re targeting needs an IAM role with the appropri...
Locate the AWS CLI Credentials File
View Credentials: Open a terminal or command prompt. Run the following command: cat ~/.aws/cred...
Access via port forwarding
aws ssm start-session \ --target <instance-id> \ --document-name AWS-StartPortForwardingS...
Accessing the Amazon MQ broker web console without public accessibility
Read the instruction from AWS Read the instruction here. Configure FoxyProxy on your computer Rea...
Administration Commands
Grant database privileges for a user GRANT ALL ON example_database.* TO 'example_user'@'%' WITH G...
Install MySQL Client Tools
For Ubuntu/Debian sudo apt update sudo apt install mysql-client -y Error debugging E: Package 'm...
Kubernetes Commands
Access inside a pod kubectl exec -ti <pod_name> -n <namespace_name> -- /bin/bash Find and stop p...
Process
Sort process by memory usage ps aux --sort=-%mem | head -n 30 Sort process by CPU usage ps aux -...
Install Rancher
Choose a namespace for Rancher (commonly cattle-system): kubectl create namespace cattle-system ...
Run Kubernetes Command via Local Computer
Prepare Environment sudo snap install kubectl --classic sudo snap install helm --classic Downloa...
Multi-node Clusters
Charmed Kubernetes installs CNCF-certified Kubernetes clusters across clouds Charmed Kubernetes i...