• 作業系統
    • Windows
    • Linux
  • 資料庫
    • SQL Server
    • MySQL/MariaDB
  • 腳本
    • PowerShell
    • Shell Script
  • 開源服務
  • 虛擬化
  • 容器
  • 雲服務
  • 網路
  • 其他
  • WordPress
  • Javascript
  • PHP
  • Search
挨踢攻城獅學習之路
不太詳細紀錄
Skip to content
  • 作業系統
    • Windows
    • Linux
  • 資料庫
    • SQL Server
    • MySQL/MariaDB
  • 腳本
    • PowerShell
    • Shell Script
  • 開源服務
  • 虛擬化
  • 容器
  • 雲服務
  • 網路
  • 其他
  • WordPress
  • Javascript
  • PHP
  • Search
分類: 作業系統

分類: 作業系統

Home Archive for category "作業系統"

Let`s Encrypt:certbot renew 更新憑證失敗

VPS 站用的 Certbot 是用 apk 裝的,一開始還能用,也順利地申請了憑證後來不知發生什麼問題,在更新時都會出現以下內容 看不太懂,所以 Google 一下找到可以用 pip 安裝新版本,就這樣裝下去 順利更新 2023/1/16 再次碰到 好在結尾有關鍵字 裝完順利更新 3/16 再次 …

 troubleshooting
Read more "Let`s Encrypt:certbot renew 更新憑證失敗"

Linux:自動更新套件或安全性

管理多部 Linux 經常更新就得進 Server 下指令頗麻煩,以前管理 CentOS 6/7 yum 原生就有套件可以做,找了下 dnf apt 也有就不用這麼麻煩。 以下記錄怎麼用套件自動更新 安裝自動更新套件 查看預設設定 修改設定檔 啟動自動更新服務 檢查更新狀態 更多參考 AutoUpd …

 linux
Read more "Linux:自動更新套件或安全性"

Batch: 批次新增用戶及設定群組

Windows 批次增加多用戶並設定預設密碼、群組user.txt add.bat,以下 for 本機用戶 參考來源:如何使用命令列工具 net / WMIC 快速建立 Windows 系統帳戶、微軟

 batch
Read more "Batch: 批次新增用戶及設定群組"

Linux:ssh + schtasks 在 Windows 建立排程執行特定工作

在 Linux 下使用命令對 Windows 進行操作,可在 Windows 裝 OpenSSH 伺服器,再從 Linux 用 ssh / sshpass 來下命令,但有些軟體在 Windows 雖有提供命令,卻無法直接由 Linux 來下達,狀況是運行後命令會卡住,在 Windows 下執行就正常 …

 shellscript / ssh
Read more "Linux:ssh + schtasks 在 Windows 建立排程執行特定工作"

Docker:WSL 掛載 Volume 問題

一般在 WSL 如要連到 E:\Docker\Mysql 通常會這樣打 所以很自然的,想將資料夾 mount 到 Docker 內會這樣打 但這樣就錯啦,掛不起來。正確做法請去掉 /mnt 就可以了

 docker / troubleshooting / wsl
Read more "Docker:WSL 掛載 Volume 問題"

Server 2019:簡體版無法運行 sconfig

在 Hyper-V 繁體版,打sconfig 都會跳出選單可以進行設定,但裝了 2019 CN 版後卻不行從跳錯的路徑可以發現運行 sconfig 是指向 C:\Windows\System32\en-US\ 故猜測有缺檔遂將 C:\Windows\System32\zh-CN\sconfig.vb …

 hyper-v / troubleshooting
Read more "Server 2019:簡體版無法運行 sconfig"

cmder:WSL VIM 上下鍵問題及畫面分割

cmder WSL 下 VIM 無法上下左右,及畫面切分

 cmder / troubleshooting / wsl
Read more "cmder:WSL VIM 上下鍵問題及畫面分割"

Linux:Fail2ban VPS 主機防 SSH 暴力破解

雖然 Nginx、WordPress 已設定了一些防護,SSH 也採用憑證,但每天被 try 還是不免擔心,就多加Fail2ban 防 SSH 暴力吧。

 linux / security / vps
Read more "Linux:Fail2ban VPS 主機防 SSH 暴力破解"

Linux:Let`s Encrypt 非標準 Port 申請憑證

之前苦惱用非標準 Port 怎麼申請憑證,後來找到用DNS方式來做就可以了

 linux / security
Read more "Linux:Let`s Encrypt 非標準 Port 申請憑證"

Linux:curl 回傳 json 格式化

一般 curl 後回傳的格式大概都如下範例取自 「口罩咧?」API 使用說明 為了方便查看,因此需要做格式化,網路上有許多套件可使用,以下使用 jq工作上會用到 alpine ,用 alpine 做個範例 加上 jq 的結果 是不是方便許多

 linux
Read more "Linux:curl 回傳 json 格式化"

文章導覽

1 2 3 ... 5

近期文章

  • ShellScript:發送 IP 到 FortiGate、Cloudflare 進行封鎖
  • Google Apps Script: Form 無法發 Telegram、Line Bot Notify
  • Google Sheet: 操作問題筆記
  • Google Apps Script: Web App 手機 RWD 問題
  • Gitlab: 跨版本升級順序

分類

  • WordPress (29)
  • 作業系統 (45)
    • Linux (31)
    • Windows (15)
  • 全端 (29)
    • CSS (3)
    • Dev Env (4)
    • Go (1)
    • Javascript (15)
    • PHP (6)
  • 其他 (11)
  • 容器 (10)
    • Docker (7)
    • Kubernetes (2)
  • 網路 (7)
  • 腳本 (14)
    • Batch (3)
    • PowerShell (4)
    • Shell Script (8)
  • 虛擬化 (8)
  • 資料庫 (9)
    • MySQL/MariaDB (1)
    • SQL Server (8)
  • 開源服務 (19)
  • 雲服務 (6)

標籤

analysis apache backup batch btrfs centos cisco cmder command css docker duplicati esxi firewall fortigate git Go google sheet hyper-v javascript kubernetes librenms linux mariadb network nextcloud nginx php plugins powershell redmine samba security selinux shellscript sql ssh troubleshooting vembu Visual Studio vps vue.js wordpress wsl zfs
Back to Top
©2019-2023 挨踢攻城獅學習紀錄
Powered by Anima & WordPress.