Skip to content

Benjr.tw

  • Linux
    • Stress & Performance
    • Hardware Info
    • System Monitor
    • Security
    • Desktop
    • PXE
    • Filesystem Hierarchy Standard
    • Linux 開機選項
    • Linux Package Manager
    • 備份 Backup
  • Virtualization
    • Docker & Podman
    • CoreOS
  • NAS/SAN
  • Programming Language
    • Python
    • Bash shell script
    • Perl
    • PHP
    • Node.JS
    • VBA
    • javascript
    • Power Query
    • PowerShell
  • WordPress
  • DataBase
    • 資料庫安裝
    • 資料庫語法
    • SQLite
    • MariaDB JSON

Linux

Node.js – 使用 express 模組建立 Web Server

2021-05-212021-05-21 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

前一篇 https://benjr.tw/103424 使用 http(內建模組) 建立 Web Server,這一次使用 Express 模組建立 Web Server . 測試環境為 CentOS 8 x86_64 Node.JS Node.JS 所需套件須透過 npm 來下載,所以必須安裝 n […]

Read more

Linux – package-cleanup

2021-05-182022-04-22 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 (虛擬機) 有一次 yum update 到一半,系統掛點連帶著 yum 也沒完成,系統也無法再使用 yum update ,並出現以下的錯誤訊息. 後來找到原因 – https://wiki.centos.org/zh-tw/HowTos/C […]

Read more

Linux – yum history

2021-05-182021-05-18 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 (虛擬機) 有一次 yum update 到一半,系統掛點連帶著 yum 也沒完成,系統也無法再使用 yum update . 需要透過 yum history 來檢視目前 yum 的歷史狀態. 或是指定 ID. 我們來看一下 Action(s) (動作) […]

Read more

MariaDB – Stop Slave Replication

2021-05-132021-05-13 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

之前寫過 MariaDB 設定主從式資料庫 (Master Slave Replication) – https://benjr.tw/102278 (Master 的資料庫會透過 Binlog 的機制將資料同步到 Slave) 那如果 Slave 不需要時怎麼把他停掉. 測試環境為 C […]

Read more

MariaDB – JSON Path Syntax

2021-05-092022-03-16 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 lax : MariaDB 只支援這個模式,如果路徑運算式找不到,則傳回 NULL,下面我們來看一下後面 ‘$’ [step]* 使用方式. 讀取 JSON 資料主要可以區分為 值 (Value) , 物件 (Object) , 陣 […]

Read more

CentOS 8 – Failed to set locale.

2021-04-272021-11-03 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 執行指令時蠻常出現這個錯誤訊息的. 這是跟語系相關的錯誤訊息.需正確設定 Locale 語系環境及其所需套件. 可以使用指令 locale , localectl 檢視目前系統 Locale 與 鍵盤的設置為何. 一樣可以透過指令 localectl 設定 […]

Read more

SQL 語法 – Recursive Common Table Expressions

2021-04-152023-05-24 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 , Mariadb 10.3.17-1 (虛擬機) MariaDB 版本需要 10.2.2 以上才有支援 Recursive Common Table Expressions . 什麼是 CTE : Common Table Expressions ,它可 […]

Read more

SQL 語法 – JSON 轉成 Table (Rows & Columns)

2021-04-152021-04-24 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 , Mariadb 10.3.17-1 (虛擬機) JSON 的資料要怎麼暫時轉成 Table (Rows & Columns) , Oracle (Mysql) 有提供 JSON_TABLE 函數,但 MariaDB 沒有怎麼辦.可以透過 Re […]

Read more

Node.js – 模組 (Module)

2021-04-122021-05-20 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 把常用的功能寫在一起成為一個模組 (Module) ,模組的回傳值可以是 屬性 (變數 properties) ,函式(函數 Function)或是物件 Object(同時有多個屬性或是函式),以下來看看. Node.JS 所需套件須透過 npm 來下載, […]

Read more

Linux – ClamAV

2021-04-122021-04-27 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 被公司 IT 部門要求在 Linux 系統下安裝掃毒軟體. ClamAV 安裝所需套件. 更新病毒碼. 掃描有問題的目錄. 參數說明: -r, –recursive Scan directories recursively. All the s […]

Read more

文章導覽

較舊的文章
較新的文章

近期文章

  • Windows – Network Sharing + Port forwarding to VM
  • Ansible – gather facts
  • Ansible – host_vars 定義特定的變量
  • Ansible 範例 – Chrony daemon
  • Ubuntu NTP Client 校時設定

近期留言

  • 「Jackson2734」於〈Ubuntu NTP Client 校時設定〉發佈留言
  • 「w」於〈Ubuntu 16.04 Server PXE 安裝〉發佈留言
  • 「admin」於〈TCP/IP 常見封包〉發佈留言
  • 「stu」於〈TCP/IP 常見封包〉發佈留言
  • 「student」於〈Linux command – tcpdump〉發佈留言

分類

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文
  • Privacy Policy
  • 隱私權政策
Powered by WordPress | Theme: Astrid by aThemes.