月份: 2018 年 1 月
thumbnail

PMG 來源與更新

nano /etc/apt/sources.list.d/pmg-enterprise.list 註解掉: deb https://enterprise.proxmox.com/debian/pmg buster pmg-enterprise 進入 /etc/apt/sources.l……
thumbnail

Proxmox unable to open file - Input/output error 解決方式

root@pm1# qm unlock 113 unable to open file '/etc/pve/nodes/pm1/qemu-server/113.conf.tmp.250990' - Input/output error root@pm1# /etc/init.d/pve-cl……
thumbnail

PHP 7啟用Zend-Opcache

啟用Zend Opcache nano /etc/php/7.2/fpm/php.ini or nano /etc/php/7.2/fpm/conf.d/10-opcache.ini zend_extension=opcache.so opcache.enable=1 opcache.e……
thumbnail
VM

Proxmox VE zsync 使用方式

Main features Speed limiter Syncing interval can be set by cron Syncing VM (disks and config) but also ZFS Datasets Can keep multiple backups Can b……
thumbnail
ZFS

修改ZFS硬碟改由 by-id 使用

兩種方式: mirror: 其中一顆:detach from zfs pool 然後對detach 的 disk:zpool labelclear -f /dev/sdi zpool replace rpool xxxxxx /dev/disk/by-id/yyyyyy……
thumbnail

誤刪apt 來源查詢方法

cat /usr/share/doc/apt/examples/sources.list 結果: # See sources.list(5) manpage for more information # Remember that CD-ROMs, DVDs and such are ma……
thumbnail

Proxmox Cluster 無法啟動時解決方法

systemctl stop corosync.service rm /var/lib/pve-cluster/.pmxcfs.lockfile pmxcfs -l pvecm expected 1 qm start VMID
thumbnail

Glusterfs 常用指令

重啟服務: service glusterfsd start|restart|stop 新增node: gluster peer probe IP/NAME 移除node: gluster peer detach IP/NAME 節點狀態: g……
thumbnail

架設 Hentai@Home 分散式運算系統

内容已加密,请输入密码以后查看
thumbnail

Proxmox SSL with Nginx reverse Proxy config

SSL簽證: server { listen 80; server_name pve.___________; location / { proxy_set_header X-Real-IP $remote_addr; ……
thumbnail

Raspberry Pi: PiVPN

OpenVPN install: curl -L https://install.pivpn.io | bash 新增使用者: pivpn add OpenVPN on iOS cd /etc/openvpn/easy-rsa | 終端機移動到這個目錄 sudo .……
thumbnail

Wordpress: 禁用 xmlrpc.php 防止攻擊

nano  /web path/.htaccess 增加: <Files xmlrpc.php> order deny,allow deny from all </Files>
thumbnail
ZFS

GlusterFS on ZFS

nano /etc/apt/sources.list 增加: deb [arch=amd64] https://download.gluster.org/pub/gluster/glusterfs/LATEST/Debian/stretch/amd64/apt stretch main e……
thumbnail

Wordpress:修復 Briefly unavailable for scheduled maintenance.

一般進行更新時會進行維護模式,但是當發生不可預期錯誤時(例如手殘按到回上一頁)就會發生咬死的情形發生。 進入網頁時會出現 Briefly unavailable for schedu……
thumbnail

Proxmox Host 名稱修改

修改 nano /etc/hostname 舊名稱 -> 新名稱 nano /etc/hosts 10.0.0.205 新名稱.example.com 新名稱 pvelocalhost 備份VM/LXC 設定檔 cp /etc/pve/q……