檢查 kernel >= 3.10
檢查目前狀態
cat /sys/module/kvm_intel/parameters/nested
cat /sys/module/kvm_amd/parameters/nested
設定
echo "options kvm-intel nested=Y" > /etc/modprobe.d/kvm-intel.conf
echo "options kvm-amd nested=1" > /etc/modprobe.d/kvm-amd.conf
重新載入 KVM 模組 (必須確認沒有 KVM VM執行中)
modprobe -r kvm_intel
modprobe kvm_intel nested=1
modprobe -r kvm_amd
modprobe kvm_amd nested=1
設定 Guest CPU type
CPU type to "host"
2018年12月14日 星期五
2018年12月7日 星期五
Proxmox disable apparmor
/etc/init.d/apparmor stop
/etc/init.d/apparmor teardown
update-rc.d apparmor disable
/etc/init.d/apparmor teardown
update-rc.d apparmor disable
Browser 來源 IP 相關訊息
HTTP Header
HTTP_CLIENT_IP
HTTP_X_FORWARDED_FOR
HTTP_X_FORWARDED
HTTP_X_CLUSTER_CLIENT_IP
HTTP_FORWARDED_FOR
HTTP_FORWARDED
REMOTE_ADDR
HTTP_VIA
Proxy
REMOTE_ADDR: 最後一個代理伺服器 IP
HTTP_VIA: 代理伺服器 IP
HTTP_X_FORWARDED_FOR
HTTP_CLIENT_IP
HTTP_X_FORWARDED_FOR
HTTP_X_FORWARDED
HTTP_X_CLUSTER_CLIENT_IP
HTTP_FORWARDED_FOR
HTTP_FORWARDED
REMOTE_ADDR
HTTP_VIA
Proxy
REMOTE_ADDR: 最後一個代理伺服器 IP
HTTP_VIA: 代理伺服器 IP
HTTP_X_FORWARDED_FOR
debian 檔案權限備份
安裝
apt-get install acl
備份
getfacl -R /data > permissions.acl
還原
setfacl --restore=permissions.acl
apt-get install acl
備份
getfacl -R /data > permissions.acl
還原
setfacl --restore=permissions.acl
proxmox mount zfs drive
mount -t fs_type /dev/zvol/pool_name/zvol_name /mount_point
mount /dev/zd32p1 /mount_point
mount /dev/zd32p1 /mount_point
訂閱:
文章 (Atom)