Build Mongodb ReplicaSet in Google Cloud
Mô hình do Google đề xuất:
Ở đây chúng ta xây dựng 1 cụm Mongo ReplicaSet với số lượng tối thiểu là 3...
Cài đặt supervisor | Install supervisor
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
easy_install supervisor
Sinh ra file config:
echo_supervisord_conf > /etc/supervisord.conf
Tạo file init.d:
sudo nano /etc/rc.d/init.d/supervisord
#!/bin/bash
. /etc/init.d/functions
DAEMON=/usr/bin/supervisord
PIDFILE=/var/run/supervisord.pid
|| exit 0
start() {
...
Google cloud – Lost SSH connection and forget user Password (Linux)
Trường hợp hi hữu xảy ra khi service sshd bị stop, mà user thì chưa đặt Pass. Vậy làm sao để có...
Redirect http to https behind Google Cloud Load Balancer (nginx backend)
Google Cloud Loadbalancer không cho phép redirect http to https.
Việc này có thể thực hiện ở backend sử dụng nginx. Mặc định, Loadbalancer của...
Backup và restore data Redis
Thường redis được sử dụng làm cache nên ít khi có nhu cầu backup data, tuy nhiên đôi lúc cần thì vẫn có cách....
Cấu hình Loadbalancing 1 cụm Redis sentinel với HA Proxy
Xem cả loạt bài về Redis tại đây: https://hoctapit.com/category/linux/redis/
Sau khi đã cài đặt redis replication và sentinel chúng ta sẽ đặt câu hỏi:
Giả dụ cấu...
HA Redis với Replication và Sentinel
Xem cả loạt bài về Redis tại đây: https://hoctapit.com/category/linux/redis/
Bài viết tham khảo: http://blog.appconus.com/2017/03/17/redis-high-availibility-voi-sentinel-va-replication-2/
HA (High Availibity) là yêu cầu cần thiết cho bất cứ ứng dụng nào....
20 command line Tools để monitor Performance trên Linux
1. Top – Linux Process Monitoring
Linux Top command is a performance monitoring program which is used frequently by many system administrators to monitor Linux performance and...
Kinh nghiệm triển khai Redis trên môi trường Production
Xem cả loạt bài về Redis tại đây: https://hoctapit.com/category/linux/redis/
Hôm nay mình gặp một sự cố khá nguy hiểm với Redis trên môi trường Production. Số...
Hướng dẫn tạo mới và gia hạn tự động SSL wildcard của Let’s Encrypt
Như đã nói, Let's Encrypt đã cho ra mắt wildcard SSL. Điều này giúp chúng ta nhàn hơn khá nhiều trong việc quản lý...