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

Linux – Enable packet forwarding

2021-12-082021-12-08 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 不知道什麼時候 IPv4 預設 IP Forwarding 變成啟動 的 Enable (1). 或是檢視別網路裝置的 IP Fordwarding . 或是透過 sysctl 指令來查看 手動變更 透過 sysctl 指令可以手動變更. Note : I […]

Read more

Linux – Apache ProxyPass & ProxyPassReverse

2021-12-032021-12-03 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 因為我的工作環境有兩個網段,其中 172.16.0.x 有一台 Web Server (172.16.0.2) ,從 10 網段的人無法與其相連,這時候可以透過 2 種方式. Apache ProxyPass & ProxyPassReverse […]

Read more

Linux – NAT Port Forwarding

2021-12-032024-08-28 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 因為我的工作環境有兩個網段,其中 192.168.31.0/255.255.255.0 的 IP 透過 NAT( 192.168.31.133 ) 轉出去,但目前有一台 web server 放在 192.168.31.131 環境,從 192.168.8 […]

Read more

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

Linux – Zabbix Proxy

2021-06-222021-06-24 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 虛擬機. 安裝 Zabbix 來監控你的系統狀態,架構與服務如下. Zabbix Server (需 Database 與 Front-end) – https://benjr.tw/103709 Zabbix Proxy (Database) […]

Read more

Linux – Zabbix API

2021-06-182021-06-24 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 虛擬機,資料庫為 MariaDB. 透過 Zabbix 的網頁就可以看到目前監控的 Agent 有哪些系統資訊可以查詢,除了透過 Zabbix 的網頁外,有辦法取得這些資料 (RAW Data) 嗎? 可以直接存取資料庫 – https://b […]

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.