昨晚租的GCP機器 /dev/sda1/ 容量爆滿
使用指令df -h查詢結果
容量剩下不到300MB,下圖是擴容+整理log後的結果
有時候在Node.JS 上面開發會用80,443兩個port,但是系統會跳權限不足的問題。雖說開發時換個Port就好,不過有些情況只能用443 port,因為專案Owner是別人。
以下是Ubuntu環境的處理方法:
sudo setcap 'cap_net_bind_service=+ep' `which node`
簡單的說就是把網路權限放給 node。
sudo apt-get remove wine1.6 --purge --no-install-recommends
sudo usermod -aG docker $USER
PasswordAuthentication yesrestart sshdsudo apt update;
sudo apt install vim tmux tree htop wget git
sudo apt-get install p7zip-full
git config --global user.name "yesseecity"
git config --global user.email “yesseecity@example.com”
git config --global core.editor vim
sudo apt-get install ibus-zhuyin #注音輸入法
裝好後ibus-setup
之後再到 Ibus Preferences > Input Method 把注音加進來 (Ubuntu 22.04.5)