• 作業系統
    • 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
標籤: linux

標籤: linux

Home Posts tagged "linux"

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

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

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

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 格式化"

Linux:CentOS 7 更新Kernel 5.x及開啟BBR

6/14 更新,目前裝完已變成 5.4 版了,但更新要注意有些套件可能會出問題 ex. ZFS先設定repo以安裝4.19版Kernel(這裡沒使用 elrepo 源,因為LT還在4.4,BBR要4.9以上,ML則到5了,先不打算裝5) 更新 Kernel 並重開機 重開完後安裝 kernel-he …

 centos / linux
Read more "Linux:CentOS 7 更新Kernel 5.x及開啟BBR"

Linux:CentOS 7/8修改網卡命名方式及IP地址

從CentOS 7開始,網卡命名方式都改為ensxx,而連線名稱如果在安裝時選中文,預設在Terminal下會是亂碼口口口無法修改SSH進入則可正常看到”有線網路\ 1″ 這裡將網卡命名方式改回eth0,並用nmcli或ip來重新設定連線名稱及IP 1、修改網卡命名 2、設定 …

 centos / command / linux / network
Read more "Linux:CentOS 7/8修改網卡命名方式及IP地址"

CentOS 7:修改系統時區

查看目前時間 #dateWed May 29 07:39:37 UTC 2019 調整為台北時間 #timedatectl set-timezone Asia/Taipei #date Wed May 29 15:42:34 CST 2019 其他時區可以這樣查看 #timedatectl list …

 linux
Read more "CentOS 7:修改系統時區"

vSphere ESXi 掛載Ubuntu NFSv3

為讓家裡的vSphere ESXi Guest OS能夠備份到桌機裡,故需掛載NFS或iSCSI作為儲存。因我的系統是Ubuntu,且NFS 設定較簡單,且方便本地存取,故採用。只用NFSv3 安全性及NFS動態Port設定就不講究了,家裡練習用整個過程大略參考這篇:Debian / Ubuntu …

 esxi / linux / nfs
Read more "vSphere ESXi 掛載Ubuntu NFSv3"

Nginx 禁止以IP連入網站

利用nginx建好網站後,忘記設定預設網站的 nginx.conf 設定,禁止使用IP連入網站,趕緊設定一下,免得難看

 linux / nginx
Read more "Nginx 禁止以IP連入網站"

Linux 連線到Windows File Share 及SMB mount error(112): Host is down 問題

Web Server : CentOS、Nginx、MariaDBFile Server:Windows 10 為備份Web Site及DB到本地及Windows上,故需讓Web Server能掛載Windows SMB 下面這段為非必要,只是為了測試SMB連線 #yum install samba …

 linux / samba
Read more "Linux 連線到Windows File Share 及SMB mount error(112): Host is down 問題"

近期文章

  • 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.