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

Node.js – npm 管理

2021-05-212021-05-21 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 Node.JS 所需套件須透過 npm 來下載,所以必須安裝 npm (Node Package Manager) 套件. 檢視一下 Node.JS 與 npm 版本. 先來建立我們要使用的程式目錄. 程式可能會使用到不同的 npm 模組,可以透過 npm […]

Read more

Node.js – 使用 express 模組建立 Web Server

2021-05-212021-05-21 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

前一篇 https://benjr.tw/103424 使用 http(內建模組) 建立 Web Server,這一次使用 Express 模組建立 Web Server . 測試環境為 CentOS 8 x86_64 Node.JS Node.JS 所需套件須透過 npm 來下載,所以必須安裝 n […]

Read more

Node.js – 模組 (Module)

2021-04-122021-05-20 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 把常用的功能寫在一起成為一個模組 (Module) ,模組的回傳值可以是 屬性 (變數 properties) ,函式(函數 Function)或是物件 Object(同時有多個屬性或是函式),以下來看看. Node.JS 所需套件須透過 npm 來下載, […]

Read more

Node.js – Object 物件

2021-04-082021-04-12 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 Node.js – Object 物件通常包含了數個變數(在物件中被稱為屬性 properties)及數個函式(函數 Function). Node.JS 所需套件須透過 npm 來下載,所以必須安裝 npm (Node Package Manager) […]

Read more

Node.js – 使用 http(內建模組) 建立 Web Server

2021-03-312021-04-13 adminjavascript, Linux, Node.JS, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 Node.JS 所需套件須透過 npm 來下載,所以必須安裝 npm (Node Package Manager) 套件. 檢視一下 Node.JS 與 npm 版本. 測試一下 Node.js 是否可以常運作.使用 Node.js 官方網站程式範例 ht […]

Read more

Windows / Linux – 透過 SSH 來遠端執行 PowerShell 指令

2020-07-142022-11-29 adminLinux, PowerShell, RedHat / CentOS, Windows

Loading

如果需要誇平台 Windows Linux 來遠端執行 PowerShell 指令,可以透過 SSH (SSH 使用非對稱式 與 對稱式加密來確保遠端連線的安全性,有興趣參考這一篇 – https://benjr.tw/301) 來遠端執行 PowerShell 指令. 在 PowerS […]

Read more

Windows – OpenSSH Server

2020-06-242022-11-29 adminPowerShell, Windows

Loading

測試環境為 VMWare 虛擬機 Windows 10 – 1809 Linux CentOS 7 macOS Catalina SSH 使用非對稱式 與 對稱式加密來確保遠端連線的安全性,有興趣參考這一篇 – https://benjr.tw/301 從 Windows S […]

Read more

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

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

文章導覽

較舊的文章
較新的文章

近期文章

  • 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.