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

Powershell – Compare-Object

2019-10-152022-11-29 adminPowerShell, Windows

Loading

測試環境為 Windows10 Pro (Version :1809 , Build :17763) Powershell 指令 Compare-Object – 用來比較兩個 objects ,直接來看範例. 參考文章 – https://docs.microsoft.co […]

Read more

Linux – Redash

2019-10-052020-04-23 adminLinux, MariaDB, Mysql, Ubuntu

Loading

測試環境為 Ubuntu 18.04 x86_64 (虛擬機 , IP: 192.168.111.143) 我要怎麼把資料庫的報表資料直接呈現在網頁上(表格或是圖表),可以透過 Redash (類似 Microsoft 的 Power BI ) 資料視覺化工具來做. 安裝 Mariadb (MySQ […]

Read more

Windows – WSL2 (Windows Subsystem for Linux)

2019-09-272022-11-29 adminLinux, PowerShell, Ubuntu, Windows

Loading

測試環境為 Windows10 Pro (Version :1903 , Build :18990.1 ,要使用 WSL2 其 Windows 版本須大於 Build : 18917) , 虛擬機 (VMware Fusion 11.5) . WSL2 使用 Hyper-V 的虛擬化技術來運行,透過 […]

Read more

Windows – WSL1 (Windows Subsystem for Linux)

2019-09-232022-11-29 adminLinux, PowerShell, Ubuntu, Windows

Loading

測試環境為 Windows10 Pro (Version :1809 , Build :17763) WSL1 架構圖如下 (圖來至 https://www.youtube.com/watch?v=lwhMThePdIo ) WSL2 的架構就不一樣了,想試用 WSL2 請參考官方網站 &#8211 […]

Read more

Google Cloud – Static IP

2019-09-232019-09-25 adminGoogle

Loading

最近把 Google Cloud 舊的 VM 執行個體(使用 Static IP) 移除,並新增一個 VM 執行個體(使用 Static IP) ,但下個月帳單卻收到一筆 Static IP 的使用費. 上網查使用 Static IP 規則 – https://cloud.google. […]

Read more

Switch – Block DHCP Server

2019-09-192020-06-09 adminNetwork

Loading

公司測試環境常常有人不小心把 DHCP Server 連接到主要的 Switch 上,造成其他同事測試上的問題. 可以把非 DHCP Server 的埠,可以透過 Switch ACL (Access Control List) 功能來把 DHCP Server 使用的協定阻擋 ( Deny , B […]

Read more

MySQL- Convert Column to Row (Pivot Table 樞紐分析表)

2019-09-112022-11-23 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 7 x86_64 (虛擬機) 將資料庫的列 (Column) 轉換為行 (row) 來呈現 (Pivot Table : 樞紐分析表) 其統計結果,如下圖所示. 先建立要測試用的資料庫. 利用 GROUP BY 以及 ORDER BY 來統計資料. 使用如下函數: SUM […]

Read more

MariaDB – 常用處理數字函數 ( Numeric Functions )

2019-09-092021-06-30 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 虛擬機. 字串函數 ( String Functions ) 與 型別轉換 – https://benjr.tw/102953 數字函數 (Numeric Functions) – 這邊介紹. 日期與時間函數 (Date &#038 […]

Read more

PHPMyAdmin – 資料無法匯入

2019-09-092019-11-05 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境 CentOS 7 64bits + Apache 我們可以透過 MyPHPAdmin 的匯入 ( Import )功能,把資料匯入資料庫,但當資料大於 2M 時會出現以下的資訊. 主要是被 PHP 上傳檔案 2M 的上限所限制住,我們可以透過 PHP 函數 phpinfo() 來看一下目前 […]

Read more

SQL 語法 – Multiple Tables JOIN

2019-09-042021-05-26 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 7 x86_64 虛擬機. 前面有討論到 SQL 語法 JOIN 與 UNION – https://benjr.tw/101855 ,可以把兩個 Table 的資料結合處理,多個 Table 也可以嗎? 是的,直接來看下面的範例. 下面範例有三個 Table. […]

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.