Recently Updated Pages
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...
Multi-node, highly available Kubernetes with MicroK8s
To create a cluster out of two or more already-running MicroK8s instances, use the microk8s add-n...
Install MicroK8s on Linux
MicroK8s installs a single node, CNCF-certified Kubernetes cluster in seconds. MicroK8s is a ligh...
Installation Using Kubeadm for a Single-Node Kubernetes Cluster
Kubeadm is a tool provided by Kubernetes to create and manage clusters. You can use Kubeadm to se...
Installation
Docker Compose services: db: image: postgres:15 container_name: mastodon_db environ...