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

Programming Language

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

Bash shell script – function

2019-01-242019-01-24 adminBash shell script, Linux, RedHat / CentOS

Loading

測試環境為 CentOS7 x86_64 (虛擬機) 參考文章 – https://ryanstutorials.net/bash-scripting-tutorial/bash-functions.php Linux Bash shell script 使用函數 function 參考 […]

Read more

Windows – WinPE (Windows ADK)

2018-09-202022-11-29 adminPowerShell, Windows

Loading

WinPE 或是 Windows PE 都是指 Windows Preinstallation Environment , 他就像是 Windows 版本的 LiveCD (可以透過 USB 或是 PXE 等方式) 來啟動一個精簡的 Windows 系統,目前版本為 10.0.17134.1 ( A […]

Read more

Linux – Perl 使用 Proxy

2018-06-062018-06-06 adminLinux, Perl, RedHat / CentOS

Loading

當 Perl 安裝模組透過 cpan 或是 cpanm 時須透過 公司 Proxy 時,這時候可以在 perl 的 shell 來進行設定. 設定 Proxy 進入 perl 的 shell 來進行設定,透過 o conf http_proxy 先觀察有無設定過 . 透過 o conf init / […]

Read more

Linux – Perl & Modules

2018-05-302018-06-06 adminLinux, Perl, RedHat / CentOS

Loading

安裝 Perl – Practical Extraction and Report Language , 測試環境為 CentOS 7 x64 (虛擬機) 前置作業 – 所需套件 Perl 在 CentOS 7 使用版本為 perl 5, version 16, subversion 3 […]

Read more

Linux – PHP + Mysql

2018-01-022020-03-16 adminLinux, PHP, Ubuntu

Loading

要如何透過 PHP 來讀取 Mysql (MariaDB) 的資料. 測試環境為 Ubuntu 16.04 x86_64 + Apache2 虛擬機 (IP: 172.16.15.130) 請參考 https://benjr.tw/95861 , web server 為 Nginx + Maria […]

Read more

設定 Windows Server 2016 的無線網路

2017-11-222022-11-29 adminNetwork, PowerShell, Windows

Loading

很奇怪的 Windows Server 2016 的無線網路,找到裝置切卻找不到工具可以設定.需要透過 Windows PowerShell SE 來開啟. 檢查目前無線網路服務的狀態 Install State 應該是 Available 安裝無線網路服務 檢查已安裝無線網路服務的狀態 Insta […]

Read more

Bash shell script 輸出 IP Address

2017-07-122017-07-13 adminBash shell script, Linux

Loading

透過 sed 與 awk 都可以把文件做過濾和轉換成新的輸出內容.不過 sed 適合用於一整行的資料處理,而 awk 則比較適合將一整行做多個 欄位 的資料處理.先來看看 sed 的範例. 只想把 ifconfig 網卡裝置 ens33 過濾剩下 IP Address 的輸出,這時候需要配合 gre […]

Read more

Linux command – tr

2017-07-122017-07-12 adminBash shell script, Linux

Loading

tr – (translate or delete characters ) 這個指令可以用來做字元的取代或是刪除.tr 只能針對字元來處理,如果要對字串做處理的話,必須使用 sed 來處理, 請參考 https://benjr.tw/97129 下面是他常用的參數. -d, &#821 […]

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.