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

RedHat / CentOS

MariaDB – 做出類似 Excel 的 SUMIF , COUNTIF 的功能

2021-08-112022-12-21 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 虛擬機 MariaDB 有類似 Excel 的 SUMIF , COUNTIF 函數可以使用嗎? 答案是沒有,但我們可以使用 CASE OPERATOR 流程控制函數 (Control Flow Functions) 搭配 SUM , COUNT 函數即可 […]

Read more

MariaDB 函數 – JSON_TYPE , JSON_LENGTH 與 JSON_DEPTH

2021-07-222021-07-22 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 先來看一下 JSON 不同的資料類型 (透過 JSON_TYPE 函數來檢視目前資料是哪一種型態): 物件 (Object) : 使用 { } , 無序成對 (pair) 的 {鍵 Key name :值 value} 方式來儲存,鍵值之間使用逗號來分隔. […]

Read more

MariaDB JSON

2021-07-222022-11-23 adminLinux, MariaDB, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 使用關聯式資料庫( RDBMS : Relational Database Management System )的 MariaDB 也可以儲存與查詢 NoSQL ( Not Only SQL : 使用非關聯式資料庫的資料庫,資料儲存不需要固定的欄位 ) […]

Read more

MariaDB 函數 – MAX , MIN 與 GREATEST , LEAST 函數

2021-07-092022-12-21 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 計算欄(column) 與 列(row) 的最大與最小值可以使用哪些函數來完成呢! 先建立測試要用的資料庫. 欄(column) 最大與最小值 可以使用 MAX(column name) 與 MIN(column name) 函數來檢視. 列(row) 最 […]

Read more

MariaDB 資料庫 – JSON 常用函數

2021-07-012021-07-22 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 使用關聯式資料庫( RDBMS : Relational Database Management System )的 MariaDB 也可以儲存與查詢 NoSQL ( Not Only SQL : 使用非關聯式資料庫的資料庫,資料儲存不需要固定的欄位 ) […]

Read more

Podman – Compose (YAML)

2021-06-022021-06-02 adminDocker / Podman, Linux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 虛擬機. 使用一般使用者 ben (非 sudo user)登入並操作. 下面使用 Nginx (http server) 為範例. CMD 下面範例會用本地端 ~/docker-nginx/html 資料夾去取代 Container 內的 /usr/sh […]

Read more

Podman – Rootfull networking

2021-06-022021-06-02 adminDocker / Podman, Linux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 虛擬機. 參考文章 – https://www.redhat.com/sysadmin/container-networking-podman Podman 為無背景程序(Daemonless)的容器引擎, Container 可以使用 roo […]

Read more

podman – pod networking

2021-06-022021-06-02 adminDocker / Podman, Linux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 虛擬機. 參考文章 – https://www.redhat.com/sysadmin/container-networking-podman Podman 為無背景程序(Daemonless)的容器引擎, Container 可以使用 roo […]

Read more

Docker – NetData

2021-05-292021-05-29 adminDocker / Podman, Linux, RedHat / CentOS

Loading

測試環境為 CentOS 7 x86_64 虛擬機 (CentOS 8 的 Container 管理變成 podman ,試過以下方式是無法透過 podman 使用 netdata 的). Netdata 是一種用來監控並收集系統資訊(如 CPU , Memory , 磁碟 , 網路 … […]

Read more

Podman – Rootless networking

2021-05-282021-06-02 adminDocker / Podman, Linux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 虛擬機. 參考文章 – https://www.redhat.com/sysadmin/container-networking-podman Podman 為無背景程序(Daemonless)的容器引擎, Container 可以使用 roo […]

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.