-
修改LXC時區
dpkg-reconfigure tzdata
russel053 2017-11-28
0 0 -
Host新增GUI介面
Gnome: apt install gnome CLI登入之後: startx
russel053 2017-11-27
0 0 -
VM掛載實體硬碟
ls -l /dev/disk/by-id/ nano etc/pve/qemu-server/100.conf 增加: virtio0: /dev/disk/by-id/ata-XXXXXXXX,size=XXXG
russel053 2017-11-21
0 0 -
Fail2ban安裝設定
安裝 Fail2ban: apt install fail2ban 編輯 /etc/fail2ban/jail.local nano /etc/fail2ban/jail.local [proxmox-web-gui] enabled = true port = ht……
russel053 2017-11-18
0 0 -
修復Proxmox 叢集未啟動
遇到:TASK ERROR: cluster not ready – no quorum? 執行: pvecm expected 1 並 service pve-cluster restart
russel053 2017-11-18
0 0 -
WordPress 安裝免用FTP
在wp-config.php加入 define('FS_METHOD','direct');
russel053 2017-11-18
0 0 -
查看、修改PVE/Ubuntu/Debian(網路IP/網卡ID)
如果沒有內建: apt install lshw 檢查網卡名稱: lshw -c network 顯示如下: *-network:12 description: Ethernet interface physical id: f ……
russel053 2017-11-18
0 0 -
安裝SSH
Ubuntu: apt install openssh-server root Login: 修改: nano /etc/ssh/sshd_config 改 PermitRootLogin 為 PermitRootLogin Yes 退出重啟ssh servic……
russel053 2017-11-18
0 0 -
apt 移除軟體並清理遺留檔
移除: apt remove 軟體名稱 清除相依套件: sudo apt-get autoremove 也能夠在移除時添加參數 apt remove 程式名稱 --auto-remove 清除設定檔: apt purge 程……
russel053 2017-11-18
0 0 -
受保護的內容: ADS-B架設
内容已加密,请输入密码以后查看
russel053 2017-11-18
0 0 -
Proxmox VE administration Guide
Proxmox VE administration Guide pve-admin-guide-5-2 https://pve.proxmox.com/pve-docs/pve-admin-guide.pdf
russel053 2017-11-17
0 0 -
PCIe passthrough/SR-IOV 啟用
grub部分: 點我前往 nano /etc/modules vfio vfio_iommu_type1 vfio_pci vfio_virqfd kvmgt update-initramfs -u -k all 注意要點 如果你的主板沒有……
russel053 2017-11-17
0 0 -
grub參數設定(適用UEFU/USB Boot/PCIe Passthrough/SR-IOV/GVTg)
Legacy: nano /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on" 選填: pcie_acs_override=downstream AMD: amd_iommu=on US……
russel053 2017-11-17
0 0 -
轉移PVE log
tank=儲存池名稱 zfs create tank/log zfs set compression=lz4 tank/log rsync -avx /var/log/* /tank/log zfs set mountpoint=/var/log tank/log
russel053 2017-11-17
0 0 -
受保護的內容: 向大神 快照參考sh
内容已加密,请输入密码以后查看
russel053 2017-11-17
0 0 -
ZFS over iscsi
安裝: apt install subversion svn checkout: svn checkout svn://svn.code.sf.net/p/scst/svn/trunk scst-svn 編譯: make 2perf make scst scst_……
russel053 2017-11-17
0 0 -
Script執行檔
Update.sh TODAY=$(date +"%Y%m%d") zfs snapshot rpool/ROOT/[email protected]$TODAY apt update apt upgrade -y apt-get autoremove (選填-y) pveam update /usr……
russel053 2017-11-17
0 0 -
Make
make -jN 可以用 N 個執行緒 build
russel053 2017-11-17
0 0 -
安裝 Qemu Agent – 節省 KVM 使用的記憶體使用量
內容源自PVE.tw - Jason Juang 大大,金龍大註解 1. 建立 VM,並且先進行設置 (千萬不要先開 VM) 2. 在 PVE 的 KVM - Option 中將 Qemu Agent 改為 Yes (Enable……
russel053 2017-11-17
0 0 -
LXC 掛載點
LXC mount point: nano /etc/pve/lxc/150.conf mp0: /host端目錄,mp=/LXC端掛載點
russel053 2017-11-17
0 0