Disable ESXi CVE-2018-3646 warning

WARNNING: This host is potentially vulnerable to issues described in CVE-2018-3646, please refer to https://kb.vmware.com/s/article/55636 for details and VMware recommendations.

 

Disable ESXi CVE-2018-3646 warning For LAB

When testing things in the homelab, I frequently work with older hardware.

This means that when you use ESXi, you might get the following warning:

This host is potentially vulnerable to issues described in CVE-2018-3646, please refer to https://kb.vmware.com/s/articles/55636 for details and VMware recommendations.

I typically chose to ignore the warning, as this is a lab anyway. And this is fine on a stand alone host, but it is pretty annoying when using vCenter.

So if you are in the same situation, here is how to disable the warning:
Open your host configuration, go to System, Advanced System Settings, click “Edit…”
The key you are looking for is:

UserVars.SuppressHyperthreadWarning

Set this to a value of 1, press “OK” and refresh the host. The warning should now disappear.

Please do keep in mind that the vulnerability is still present, you did not eliminate the risk, you only disabled the warning.

 

Đọc thêm..

Install OpenwebUI

 
Install OpenwebUI:
docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main

Note: Ollama đã được install trên server 

Đọc thêm..

Proxmox error creating VXLAN interface

 

Khi cấu hình VXLAN trong proxmox bị lỗi khi apply tạo interface trên host không được.

Các bước xử lý:

Error 1: () WARN: missing 'source /etc/network/interfaces.d/sdn' directive for SDN support!
Fix: 

- Thêm dòng sau vào cuối file /etc/network/interfaces :
source /etc/network/interfaces.d/*

 - Reload interfaces

ifreload -a

Nếu lỗi nữa thì xử lý tiếp bước sau:

Error 2: [Errno 2] No such file or directory: '/etc/iproute2/rt_tables.d/ifupdown2_vrf_map.conf'

Fix:  

- Tạo thư mục 

mkdir -p /etc/iproute2/rt_tables.d/

 - Reload interfaces

ifreload -a

Đọc thêm..

Mikrotik Tips

Họ có sẵn 4 kết nối FTTH với 400Mb/s x 4 FTTH, có sẵn thiết lập PCC.

→ Phần mô tả hành vi trước khi cấu hình:

+ Bất kỳ ai lướt web sẽ luôn đạt 20-35Mbps

+ Sau đó lướt Facebook/Youtube 15-20Mbps

+ Và speedtest  20Mbps

+ Nhưng download ISO/File lớn ~8-10Mbps

+ Với cơ chế sau 20 giây tải liên tục → tự giảm.

→ Phần mô tả sang kỹ thuật Burst

burst-time = ?

+ 5s burst quá ngắn,

+ 10s tốt,

+ 15s tốt nhất,

+ 30s user chiếm băng thông, ảnh hưởng người dùng khác.

→ Phần chuyển sang ý tưởng (có thể tùy biến).

Thuộc tính gán Giá trị

limit-at 4M

max-limit 20M

burst-limit 35M

burst-threshold 15M

burst-time 20s

→ Chuyển sang câu lệnh RouterOS

/queue type

add name=pcq-download kind=pcq \

pcq-classifier=dst-address \

pcq-rate=20M \

pcq-burst-rate=35M \

pcq-burst-threshold=15M \

pcq-burst-time=20s

add name=pcq-upload kind=pcq \

pcq-classifier=src-address \

pcq-rate=20M \

pcq-burst-rate=35M \

pcq-burst-threshold=15M \

pcq-burst-time=20s

/queue simple

add name=WIFI-LIMIT \

target=172.16.0.0/16 \

max-limit=1600M/1600M \

queue=pcq-upload/pcq-download

𝐋𝐮̛𝐮 𝐲́ 𝐯𝐚̀ 𝐫𝐚̂́𝐭 𝐭𝐡𝐚̣̂𝐧 𝐭𝐫𝐨̣𝐧𝐠 𝐩𝐡𝐚̉𝐢 𝐧𝐡𝐨̛́:

- Queue phải đặt sau PCC routing mark khi thiết lập cấu hình.

- Các cấu hình này yêu cầu người vận hành phải có năng lực và am hiểu rõ về phân tích lưu lượng trên RouterOS.

Đọc thêm..

Docker image commit

 

- Commit Container thành Image: Lệnh này lưu trạng thái container hiện tại thành một Image mới.
# Cú pháp: docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]
docker commit my_container my_backup_image:v1

- Save Image thành file .tar: Lưu Image vừa tạo ra file.
docker save -o backup_full.tar my_backup_image:v1 
- Cách khôi phục (Restore): Sử dụng lệnh load để nạp file tar vào Docker (nó sẽ trở thành một Image).
docker load -i backup_full.tar

- Gán Image Tag nếu không có
sudo docker image ls -a
docker tag <image_id> <name>:latest
Đọc thêm..

XCP - Create Local ISO storage

mkdir -p /var/opt/xen/ISO_Store
xe sr-create name-label=LocalISO type=iso device-config:location=/var/opt/xen/ISO_Store device-config:legacy_mode=true content-type=iso
xe sr-scan uuid=UUID

 

https://umhau.github.io/create-local-ISO-repository-on-xcp-ng/

https://thuanbui.me/category/systems-infrastructure/virtualization/

Đọc thêm..