分類: Linux
thumbnail

Other:Zyxel NSA-310 刷入 OpenWRT

首先可以先參考原版 wiki >> https://openwrt.org/toh/zyxel/nsa310b windows 使用 diskpart 建立 FAT16 隨身碟,分開儲存(建議usb 2.0 隨身碟) 並接上T……
thumbnail

WildDuck:安裝與設定

LXC 4c 4g 32g apt update && apt dist-upgrade -y 移除 Postfix: apt remove postfix 安裝所需套件: apt install curl gnupg2 software-properties-……
thumbnail

Linux:ArozOS 安裝與建立開機自啟動服務

可以建立LXC 建議 4c 2G 8G以上 首先安裝 Golang: wget https://golang.org/dl/go1.17.3.linux-amd64.tar.gz tar -C /usr/local -xvf go1.17.3.linux-amd64.……
thumbnail

Proxmox:Failed:Cannot allocate memory at /usr/share/per|5/PVE/Tools.pm line 455. 修正方式

在 PVE 6.4 開始, ZFS 安裝系統時安裝會不安裝 SWAP 磁區。但自 PVE 7 開始,此方式會在記憶體容量不夠足夠時,發生錯誤。 會發生類似以下幾種錯誤,皆是相同……
thumbnail

Linux:cfdisk安裝

安裝: apt install cfdisk 查看硬碟磁區: lsblk blkid 使用 cfdisk 來進行分割: cfdisk /dev/sda
thumbnail

KVM:args 新增欺騙 Windows 模擬實體機環境

args 新增欺騙 Windows 模擬實體機環境: 在 vm Conf 內新增 args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=willitwork,kvm=off',-hypervisor
thumbnail

Linux:trousers.service 啟動 tcsd 失敗並無法安裝解決方式(適用於 TPM2.0 裝置)(ProxmoxVE 7.0-12 之後版本適用)

首先確認裝置是否啟用 TPM: sudo dmesg | grep -i tpm 如果得到以下結果即有 TPM: [ 0.000000] efi: ACPI=0xcc971000 ACPI 2.0=0xcc971014 TPMFinalLog=0xc……
thumbnail

Proxmox:安裝 UEFI 格式造成開機之後卡於初始化修正方式

今天有收到有人反映這個問題,initramfs. 的確是會卡住的,不過其實這個問題軒姐有找到解決方案了。 解決方案如下(適用於任何 UEFI Boot 會失敗卡住): 首先……
thumbnail

Linux:dmidecode 查看系統資源列表

安裝 dmidecode: apt install dmidecode pkg install dmidecode yum install dmidecode dmidecode dmidecode -t processor dmidecode -t memory dmidecod……
thumbnail

Linux:qperf

安裝qperf: apt install qperf server端測試: qperf 客戶端: qperf IP tcp_bw tcp_lat conf 即可看到結果
thumbnail

Linux:系統監測相關

vmstat: 安裝: apt-get install procps 指令: vmstat 1 -w 結果: --procs-- -----------------------memory---------------------- ---swap-- -----io---- -sy……
thumbnail

Linux:MSR 開啟

MSR(Model-specific Register) apt install msr-tools 啟用 MSR 模組: modprobe msr 設定開機自啟用: nano /etc/profile wrmsr 0x1a0 0x850088 開機自動啟動 m……
thumbnail

Linux:screen 切換畫面方式

screen -ls 列出所有畫面 screen -r + 代號 : 重新連接某畫面 Ctrl + a 與 d 卸離退出本畫面 Ctrl + a 後,再按下 n 可切換到下一個畫面 (n:next) Ctrl + a 後……
thumbnail

Linux: 顯示系統名稱資料

使用以下指令: hostnamectl 會顯示例如以下結果: Static hostname: ubuntu Icon name: computer-vm Chassis: vm Machine ID: ……
thumbnail

Linux:wttr.in 在終端機中查看天氣

curl wttr.in?lang=zh-tw curl wttr.in/taipei?lang=zh-tw
thumbnail

網樂通:Debian 7 來源

SOURCES: deb [arch=sh4] http://nextvod.becoder.org/ wheezy main contrib non-free deb http://ftp.yzu.edu.tw/Linux/debian-sh4-for-nextvod/ wheezy all……
thumbnail

Instantbox:開箱即用的Web臨時Linux系統

安裝 Docker: apt install docker.io or apt install docker-ce 填寫設定資料: mkdir instantbox && cd $_ bash <(curl -sSL https://raw.githubu……
thumbnail

Simple Torrent:BT離線下載工具

Github:https://github.com/boypt/simple-torrent 一鍵安裝: bash <(wget -qO- https://raw.githubusercontent.com/boypt/simple-torrent/master/scripts/……
thumbnail

Linux:nohup 指令使用

nohup 指令使用 nohup rm -rf / & nohup rm -rf / > rm.log 2>&1 & 顯示作業隊列: jobs -l 終止程序: kill -9 pid
thumbnail

Linux:ddrescue 安裝與使用

安裝 ddrescue: apt install gddrescue 使用指令: ddrescue -f -r 1 -n -v /dev/zero /dev/sdc sdc.log