Yu-Min Space
2021年3月31日 星期三
zram 使用摘要
›
載入模組並設定 數量 modprobe zram num_devices=2 最大執行序(core數量相關) /sys/block/zram0/max_comp_streams 設定演算法 cat /sys/block/zram0/comp_algorithm echo lzo ...
2021年3月23日 星期二
OpenVPN 設定 Client 固定 IP 筆記
›
編輯 /etc/openvpn/server/server.conf 加入 client-config-dir /etc/openvpn/ccd 設定 憑證 CN = client IP 為 10.1.1.1 echo "ifconfig-push 10.1.1.1 ...
2021年3月20日 星期六
Raspberry pi zero Serial Gadget
›
編輯 /boot/config.txt 加入 dtoverlay=dwc2 編輯 /boot/cmdline 加入 modules-load=dwc2,g_serial console=serial0,115200 console=tty1 root=PARTUUID=738a...
2021年3月18日 星期四
Proxmox LXC 安裝 Openmediavault 筆記
›
編輯 /etc/pve/lxc/xxx.conf 加入 lxc.mount.auto: cgroup:rw lxc.mount.auto: proc:rw lxc.mount.auto: sys:rw
2021年3月16日 星期二
fbterm 摘要
›
安裝 fbterm sudo apt-get install fbterm adduser [user_name] video 設定檔 ~/.fbtermrc 執行 fbterm -s 20 Fcitx 輸入法安裝 sudo apt-get install fcitx fcit...
shorewall nat to nat 摘要
›
編輯 /etc/shorewall/shorewall.conf ADD_IP_ALIASES=Yes 編輯 /etc/shorewall/nat 111.222.333.444 eth0 192.168.1.1 no no 編輯 /etc/shorew...
2021年3月12日 星期五
Python pip 已版本錯誤訊息無法安裝更新
›
錯誤訊息 Cannot uninstall 'xxxxx'. It is a distutils installed project and thus we cannot accurately determine which files belong to it ...
‹
›
首頁
查看網路版