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

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

MySQL 5.7.5 – Password Policy

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

Loading

測試環境 CentOS 7 因為大多是實驗性質,我 MySQL 通常會使用很簡單的密碼,但現在會出現以下的錯誤訊息. 因為 Password Policy 我們沒辦法設定簡單密碼. validate_password_policy = LOW 第一種方式就是可以把 Policy 降低. 雖然已經設定 […]

Read more

Linux – MySQL 5.7.6 Multi-Source Replication

2023-08-082024-09-24 adminLinux, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS7 + MySQL 5.7.43-1 (虛擬機) , 安裝請參考 – https://benjr.tw/105806 先來看一下 Master Slave Replication 架構 為了避免硬碟損毀進而造成資料庫遺失,可以使用主從式資料庫 (Master Sl […]

Read more

Linux – MySQL 5.7.43

2023-08-012023-09-07 adminLinux, Mysql, RedHat / CentOS

Loading

測試環境為 CentOS7 (虛擬機) 從 CentOS 7 之後預設的資料庫系統為 MariaDB ,這邊來安裝 MySQL 5.7.43-1 我們無法直接從標準的 yum 去找到 mysql server 資料套件. 需先去下載 mysql80-community 的 Repository (預 […]

Read more

Bash Shell Script – eval

2023-07-272023-07-27 adminBash shell script, Linux, RedHat / CentOS

Loading

測試環境為 CentOS8 (虛擬機) 在 Linux shell 會將變數轉換成字串,缺點是當變數是指令時,也只會當作字串. 這時候透過 eval 指令就可以先將後面 的參數替換成字串,再把全部當作指令到 Shell 來執行. eval 格式:

Read more

Linux – ssh-agent & ssh-add

2023-07-262024-06-07 adminLinux, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 虛擬機. SSH Server IP: 192.168.31.139 SSH Client IP: 192.168.31.142 在使用 GitLab 的 SSH Runner 時,有看到設定 ssh-agent & ssh-add ,所以看一下 […]

Read more

GitLab – SSH Key

2023-07-202024-01-09 adminLinux, RedHat / CentOS

Loading

CentOS 8 ( 虛擬機 ) 第一次進到 GitLab 網頁管理介面會看到以下訊息 先來說一下 Gitlab 主要是透過 SSH 與 HTTP ( HTTPS ) 的方式上傳下載. HTTP ( HTTPS ) 預設我們只能透過 http 或是 https 來將 GitLab 檔案上傳與下載. […]

Read more

Gitlab Runner – Linux SSH

2023-07-182024-01-03 adminLinux, RedHat / CentOS, Ubuntu

Loading

上傳到 GitLab 的程式有辦法自行進行測試嗎? 可以透過 CI/CD 的功能. 測試環境 GitLab – Ubuntu 22.04 Desktop ( 虛擬機 IP:192.168.31.138 ) Linux SSH Server – CentOS 8 ( 虛擬機 I […]

Read more

Linux – 安裝 TestLink

2023-07-132023-12-12 adminLinux, RedHat / CentOS

Loading

TestLink 需安裝 資料庫系統 MariaDB (MySQL) , Web 伺服器 (Apache 或 Nginx) 與 PHP . 測試環境為 CentOS 8 x86_64 (IP:192.168.31.128) 資料庫 MaraiDB 從 CentOS 7 開始的 Database 都換 […]

Read more

MariaDB – Remove repeated words in string

2023-05-252023-05-25 adminLinux, MariaDB, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 虛擬機. 欄位資料為 ‘ABC12 , C2CC , ABC12 , C2CC , DD23’ 這樣有辦法移除重覆出現在單字嗎? 目前看到一個方式 – https://stackoverflow.com/question […]

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.