Skip to main content

Recently Updated Pages

Learning

Linux Administration 檔案及目錄加密-Encrypt

GPG Using GPG to Encrypt and Decrypt Files on Linux [Hands-on for Beginners]

Updated 9 months ago by Admin

Q & A

Linux Administration

ARP Cache 不會更新 (Send out Gratuitous ARP) 問題說明:兩部相同規格的 Linux 主機,平時互作備援,網路設定各有一個固定 IP 與共用一個 VIP,VI...

Updated 9 months ago by Admin

Sample Scripts

SHELL

Auto-rar.sh 解壓縮多個分割檔案 (*.part0XX.rar) #!/bin/bash echo "-> Started: "`date +%m/%d/%y\ %H:...

Updated 10 months ago by Admin

Git Installation

Git

Git Client # CentOS/RedHat 5 # Install from source # Get the required version of GIT from http...

Updated 10 months ago by Admin

Install Fail2Ban on Debian

Fail2Ban

Installation Download: https://www.fail2ban.org/wiki/index.php/Downloads # Debian 7.x tar xzf ...

Updated 10 months ago by Admin

test

SHELL

字串或文字的比對 Str1 = str2 | 當str1與str2相同時, 傳回True Str1 != str2| 當str1與str2不同時, 傳回True Str1 < Str...

Updated 10 months ago by Admin

Regex 正規表示式

SHELL

教學網站 https://likegeeks.com/regex-tutorial-linux/ http://overapi.com/regex https://regexper.c...

Updated 11 months ago by Admin

SSL Web Server

SSL 與 CA

Generate Certificates Method 1: 不需要 CA 的憑證 mkdir /etc/apache2/certs cd /etc/apache2/certs ope...

Updated 11 months ago by Admin

VNC

Remote Desktop 遠端桌面

Ubuntu 9/11 sudo apt-get install ubuntu-desktop --no-install-recommends sudo apt-get install v...

Updated 11 months ago by Admin

Install Node.js via binary archive

Node.js

Download: https://nodejs.org/en/download/ With Linux Unzip the binary archive to any directory ...

Updated 11 months ago by Admin

Array 陣列

SHELL

Learning Bash Scripting – Indexed Array Explained With Examples Bash Scripting – Associative ...

Updated 11 months ago by Admin

Telegraf

Grafana

Custom Shell Samples #1 #/bin/bash devname=(`lsblk| grep 'disk'|awk '{print $1}'`) dirname=...

Updated 1 year ago by Admin

ps

Linux Administration

以 PID 查詢 ps -fp <PID> ps -fp <PID#1>,<PID#2>,<PID#3> 分析 CPU/Memory 使用...

Updated 1 year ago by Admin

String Manipulation 字串處理

SHELL

字串長度 my_string="abhishek" echo "length is ${#my_string}" Using expr str="my string" length=$...

Updated 1 year ago by Admin

Learn Python

Python

Online Tutorials The Python Tutorial The Hitchhiker’s Guide to Python How to make an awesome...

Updated 1 year ago by Admin

Vim FAQ

vim

Err: A line cannot be longer than 2048 characters. 這是因為 VI 的每一行字數不可超過 2048 字元,遇到時可以將超過字數的行刪除,另存一...

Updated 1 year ago by Admin

DB2 Monitoring

Grafana

Prerequisites InfluxDB (the host is the same as Grafana) Separated Linux host Install and ...

Updated 1 year ago by Admin

iptables

Linux Administration

基本指令 列出現有規則 iptables -L -n -v iptables -L -n -v --line-numbers iptables -L INPUT -n -v --line...

Updated 1 year ago by Admin

Learning

Linux Administration SAN & iSCSI

iSCSI How to configure iSCSI target & initiator on RHEL/CentOS 7.6

Updated 1 year ago by Admin

Picroft

Raspberry Pi

Introduction Picroft is a ready-made way to run Mycroft on a Raspberry Pi 3, 3B+ or 4 and is pro...

Updated 1 year ago by Admin