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

Windows – Network Sharing + Port forwarding to VM

2025-03-112025-03-11 adminWindows

Loading

測試環境 windows 2019 + Hyper-V 主要是公司環境受限一個網孔只能取得一組 IP,這時候 Hyper-V 裡面的 VM 就無法連線了. 可以透過 windows 本身的 Network Sharing 功能,把想要分享的 Network 開給 VM 的 vswitch. VM 就 […]

Read more

Ubuntu NTP Client 校時設定

2024-06-112024-06-11 adminLinux, Ubuntu

Loading

測試環境 Ubuntu 22.04 (虛擬機) 先前在 CentOS 8 架設了一台 NTP Server ( chronyd – https://benjr.tw/102661 ) , Ubuntu 要怎麼設定連線到這一台 NTP Server , 參考文章 https://mediu […]

Read more

Ubuntu 22.04 VM – 非 LVM 延展硬碟的方式

2024-06-062024-06-07 adminLinux, Ubuntu

Loading

測試環境 Ubuntu 22.04 (Hyper-V VM) 如果安裝 Ubuntu 的時候沒使用 LVM 的格式就無法直接擴充 root (/) 磁區,需使用 Ubuntu-Desktop.iso 開機 + gparted 來完成. 先擴充 VM root 磁區的硬碟空間 選擇從 Ubuntu-D […]

Read more

Linux – Terminal color

2024-05-162024-05-16 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS Stream 9(虛擬機) 參考文章 Turn off color in Linux terminal/bash session – https://www.cyberciti.biz/faq/turn-off-color-in-linux-terminal-b […]

Read more

RHEL – Web Console

2024-04-102024-04-10 adminLinux, RedHat / CentOS

Loading

測試環境 CentOS9 Stream (虛擬機) 看到 RHEL 有介紹新的系統監控介面 RHEL web console – https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/m […]

Read more

SSH 基於 Key 的驗證

2024-03-122024-03-12 adminLinux, RedHat / CentOS

Loading

測試環境 CentOS 9 Stream (虛擬機) 如果需要用於常連線的 SSH Server ,我們可以設定基於 Public / Prive Key 的驗證來實現免密碼的登入方式. SSH Client IP: 192.168.31.133 SSH Server IP: 192.168.31. […]

Read more

SQL 語法 UPDATE

2024-02-202024-02-20 adminDatabase, Linux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境 CentOS 8 (虛擬機) 這邊來使用一下 SQL UPDATE 的語法 先建立一個資料庫 (sbtest) , 與 tables (employee) 格式為 NName VARCHAR(20), Dept VARCHAR(20), jobTitle VARCHAR(20) 各 20 […]

Read more

MariaDB – tmp_disk_table_size

2023-11-152023-11-15 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 最近遇到一個硬碟爆滿的問題,路徑為 /var/tmp/systemd-private-[########]-mariadb.service-[CCCCCC] ,裡面一堆 .MAD 的檔案把系統硬碟都佔滿了. 上網查才知道當 SQL 語法所產生的資料大於記憶 […]

Read more

SQL – CREATE

2023-09-132023-09-13 adminLinux, MariaDB, Mysql, RedHat / CentOS

Loading

測試環境 CentOS 8 (虛擬機) CREATE 指令的使用方式. CREATE DATABASE 建立資料庫. CREATE TABLE 建立資料表 CREATE TABLE LIKE 只複製資料表格式. CREATE TABLE SELECT FROM 完整複製資料表格式與資料.

Read more

MySQL 5.7.5 – ONLY_FULL_GROUP_BY

2023-08-162023-08-16 adminLinux, Mysql, RedHat / CentOS

Loading

測試環境 CentOS 7 使用 MySQL 5.7.5 時遇到 ONLY_FULL_GROUP_BY 的錯誤. 建立測試用資料表. 這樣的 SELECT 會出現 sql_mode=only_full_group_by 的訊息. only_full_group_by 是什麼? 在官網 – […]

Read more

文章導覽

較舊的文章

近期文章

  • Windows – Network Sharing + Port forwarding to VM
  • Ubuntu NTP Client 校時設定
  • Ubuntu 22.04 VM – 非 LVM 延展硬碟的方式
  • Linux – Terminal color
  • RHEL – Web Console

近期留言

  • 「Jackson2734」於〈Ubuntu NTP Client 校時設定〉發佈留言
  • 「admin」於〈TCP/IP 常見封包〉發佈留言
  • 「stu」於〈TCP/IP 常見封包〉發佈留言
  • 「[ubuntu]—擴充硬碟空間 – Randy的隨手筆記」於〈Linux command – parted / (resize , resizepart) + resize2fs〉發佈留言
  • 「UQA」於〈Linux – EFI 的磁碟分區〉發佈留言

分類

其他操作

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