Note

時間問題

雙系統時間同步問題 rcS systemd 可選擇 linux 解法 or windows 解法,則一即可 windows win + R 進入 regedit 找到 HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/TimeZoneInformation/ 添加一项类型为 REG_DWORD 的键值,命 …

chia-an-lee

tmux 小抄

Basic 安裝 sudo apt install tmux 指令 tmux # 開啟一個新的 tmux tmux a # attach 到最後一次出來的 session tmux ls # 列出有那些 sessions tmux a -t [number] # 重回該number的session window session panel

chia-an-lee

TensorFlow 亂記

安裝 CPU 使用 pip 安裝 sudo apt-get install python3 python3-pip python3-dev pip3 install tensorflow sudo pip3 install --upgrade docker sudo apt-get install docker sudo groupadd docker …

chia-an-lee

systemd 小記

sample 位置 /lib/systemd/system/xxx.service [Unit] Description=Jupyter Notebook Documentation=man:mysqld(8) Documentation=https://mariadb.com/kb/en/library/systemd/ …

chia-an-lee

SSH 相關設定

SSH 的全稱是 secure shell,大家都知道可以用來遠端進入機器的殼層,但有一些有趣的設定或應用也許不是廣為人知,仔細研究會發現 SSH 其實還蠻可怕的 XD

chia-an-lee

Proxmox 相關

Proxmox VE 4.x 中文初階學習手冊 安裝 磁碟選擇 在選擇安裝磁碟時,有一個 Options 可以調整 Filesystem ext3 ext4 xfs zfs (RAID 0) 加速,分散儲存,不做備份 一顆硬碟壞掉,就全部壞掉了 zfs (RAID 1) 完全備份,不加速 zfs (RAID 10) 需要至少 4 顆硬碟 …

chia-an-lee

Package Manager

Ubuntu ppa Sourse List find here find here /etc/apt/sources.list.d/ deb basic find here sudo apt update sudo apt upgrade sudo apt remove sudo apt-get --purge remove [name]: 連設定檔一起移 …

chia-an-lee

NGINX 好用設定

Certbot (let’s encrypt 簽 https) Install find here Ubuntu $ sudo apt-get update $ sudo apt-get install software-properties-common $ sudo add-apt-repository ppa:certbot/certbot $ …

chia-an-lee

NetApp

背板資訊 兩個 SAS (LNK 0a, 0b) 兩個 console (一個 RJ45, 一個 USB) 一個 mgmt (e0M) 一個 硬體資訊交換 四個 data 網孔 (e0a, e0b, e0c, e0d) 安裝 可以從 http / tftp 裝 OS 安裝 (無法使用 USB) Ctrl-C 進入 loader

chia-an-lee

Nagious

介紹 Document <- 點我 Main Config : 控制Nagios Deamon的行為,這份config會被Deamon和CGIs讀 Resource File: 儲存user-defined macro,權限660 Object Definition File : 定義host, service, hostgroup, command, …

chia-an-lee