DevOps VN
DevOps là phải lười ~_~
[2025-07] Hướng dẫn cài đặt và unlock OpenVPN Access server version 2.14.3
Nối tiếp bài viết cũ: /2021/07/29/huong-dan-cai-dat-va-unlock-openvpn-access-server/ Sau nhiều năm, openvpn access server đã update rất nhiều, tới thời điểm hiện tại 2025-Jul-07, version mới nhất là 2.14.3. về cơ bản phương thức active cũ …
07/07/2025
SSH from older Linux versions to Alma Linux 9
SSH hoặc git tới server Alma Linux 9 từ các máy chủ có version Linux thấp hơn có thể báo lỗi: Unable to negotiate with 172.16.28.11 port 22: no matching key exchange method found. Their offer: …
26/03/2025
How to recovery/reset Cisco Nexus 7K/9K admin password
How to reset/recovery Cisco Nexus 7K/9K admin password If you’ve forgotten the admin password for your Cisco Nexus device, you can reset/recovery it with the following steps: Step 1 Press CTRL+C during the boot sequence until you see …
14/06/2024
[tip and trick] Scaledown/scaleup deamonset trên K8S
Đôi lúc muốn dừng chạy 1 số pod nào đó, nhưng lại ko muốn xóa nó đi, có thể chạy lại sau này. Với deployment thì có thể set replica = 0 là xong, nhưng với deamonset thì ko được.
06/05/2024
Nâng cấp windows server từ Evaluation lên Standard, Datacenter
Lệnh nâng cấp từ Windows Server Evaluation lên Windows Server Standard DISM /Online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula Lệnh nâng cấp từ Windows Server Evaluation lên Windows Server Datacenter …
15/04/2024
Cài đặt cụm elasticsearch cluster 3 node
Môi trường cài đặt: – node1: 10.144.39.21 – node2: 10.144.39.22 – node3: 10.144.39.21 OS 3 máy: ubuntu 20.04 ES cài đặt: bản mới nhất trên trang chủ: https://www.elastic.co/downloads/elasticsearch
02/01/2024
etcd Cheat Sheet
etcd Cheat Sheet This cheat sheet is for etcd v3 only! Cluster infos etcdctl get /_etc/machines/<token> # Details of a host etcdctl get /_etc/config Accessing the key space etcdctl get "" --prefix --keys-only # Get full tree …
24/12/2023
Reserved disk space on the root partition in Linux
Các hệ thống linux sử dụng file system như ext4,ext3-2 mặc định dành ra 5% disk cho phân vùng root. Việc này nhằm đảm bảo người quản trị còn có thể vào server để thao tác, hệ thống còn có thể ghi 1 chút log kể cả khi ổ cứng gần đầy. ví dụ …
28/05/2022
Tính nhẩm quy đổi umask và permission của file và folder trong linux
Umask là gì thì xem lại bài này Umask là gì Câu hỏi này nếu thi LPI sẽ bị hỏi, mình note ra đây để ghi nhớ cho bản thân. Hy vọng người khác google tìm thấy cũng sẽ hữu ích
28/05/2022
[Scripts] tìm và khoá user không hoạt động trong vòng 90 ngày trên active directiory
Script tìm và disable các account không đăng nhập trong vòng 90 ngày trên AD # disableUsers.ps1 # Set msDS-LogonTimeSyncInterval (days) to a sane number. By # default lastLogonDate only replicates between DCs every 9-14 # days unless this …
12/02/2022