Recently Updated Pages
System Installation
After all requirement passed, follow these steps: Click Next. Read the License Agreement and cli...
Create Database
Click Databases. Click MySQL. Click Add DB. Input database info: DB Name: db_ossn Username: db...
Requirement
You will see this page if your installation is succeeded. You need to fix unavailable things that...
Source Installation
Preparation Add subdomain for your site on your zone management. Create a new site on Website on...
Installation
I use DigitalOcean on this demo. Click Access On Droplet Console, click Launch Droplet Console....
Queries to Check System
Check database version: SELECT * FROM v$version; Check directories: SELECT file_name, tablespace...
Configure Docker
networks: learning: driver: bridge services: bookstack: image: lscr.io/linuxserver/b...
Activate RabbitMQ Web Console from Kubernetes Pod
Enter the pod by this command. kubectl exec -ti -n <namespace> <pod-name> -- /bin/bash Check the...
Activate RabbitMQ Web Console
Run this command in RabbitMQ's container. rabbitmq-plugins enable rabbitmq_management Open http:...
Persistent Volume Claim
kubectl get pvc -n loki export-0-loki-minio-0 -o yaml > export-0-loki-minio-0.yaml kubectl apply ...
Data Mover from Splitted Disk
apiVersion: apps/v1 kind: StatefulSet metadata: name: data-mover namespace: loki spec: serv...
Export Log Index Data from MinIO
Download mc: wget https://dl.min.io/client/mc/release/linux-amd64/mc chmod +x mc sudo mv mc /usr/...
Restore Log Data from AWS S3 into Loki
Docker Compose version: '3.8' services: s3-downloader: build: . volumes: - ./logs...
Promtail Restore Log Data Into Loki
server: http_listen_port: 9080 grpc_listen_port: 0 clients: - url: http://loki:3100/loki/ap...
Error Debugging
Kubernetes Command Not Found 2024-11-22 06:00:02 - Script execution started. /data/scripts/log_cl...
Fluent-Bit Generate Log When Log is Written
Docker Compose ... fluent-bit: build: context: ./fluent-bit volumes: - ./f...
Fluent-Bit Synchronization Database
Settings [INPUT] Name tail Path /var/external_logs/*.log Ta...
File and Folder
Show file contents from tail with specific line number limit: tail -n 200 <file> Show file conte...
Sample of Pod's Log
1. loki-minio-0 MinIO Object Storage Server Copyright: 2015-2022 MinIO, Inc. License: GNU AGPLv3 ...
Configuration
Configure Credentials: aws configure List of Configured Credentials: aws configure list