Skip to main content

Recently Updated Pages

外寄郵件設定

Postfix

GoDaddy SMTP GoDaddy Setup: Office 365 Email: Enable SMTP Authentication Sign in Email & Office...

Updated 2 months ago by Admin

PHP

RabbitMQ Development with RabbitMQ

Tutorials how to call a model from rabbitmq php consumer's callback in codeigniter? (google.co...

Updated 2 months ago by Admin

Python

RabbitMQ Development with RabbitMQ

Tutorials python rabbitmq Code Example (codegrepper.com) Part 2.3: Getting started with Rabbi...

Updated 2 months ago by Admin

Coding

Being a Developer

Performance comparison: counting words in Python, Go, C++, C, AWK, Forth, and Rust 如何量化不同程式語言的...

Updated 2 months ago by Admin

Linux Bonding Network

Linux Administration 網路管理

RedHat 7/8 with nmtui nmtui > Edit a connection > Add > New Connection > Select Bond > Create ...

Updated 2 months ago by Admin

帳號管理技巧

Linux Administration 帳號進階管理

建立系統用帳號 CentOS/RedHat) groupadd -r asterisk useradd -r -g asterisk -d /var/lib/asterisk -M ast...

Updated 2 months ago by Admin

Linux Rescue

Linux Administration

RedHat/CentOS How to recover a root password in Red Hat-based Linux systems Single-User Mod...

Updated 2 months ago by Admin

登入失敗後鎖定帳號

Linux Administration 帳號進階管理

RedHat 8 NOTE: RH8 新增一個 faillock 設定檔在 /etc/security/faillock.conf。如果在 system-auth 內有指定參數,會忽略 ...

Updated 2 months ago by Admin

Installation

Docker

Docker Compose Updated: 新版 Docker Compose 已經整合進 Docker 核心程式 安裝方式 sudo apt-get install docker-c...

Updated 2 months ago by Admin

lsof

SHELL

Network Port What process is using the port 50000 lsof -i :50000lsof -i :httpslsof -i tcp:25lso...

Updated 2 months ago by Admin

加密檔案 - OpenSSL

Linux Administration 檔案及目錄加密-Encrypt

Create Example Reference File Let us create a 1GB large text file using the fallocate command: ...

Updated 2 months ago by Admin

find

SHELL

檔案名稱 # Find all *.bak files in the current directory and removes them with confirmationfind . -t...

Updated 2 months ago by Admin

SSL 常用技巧

SSL 與 CA

Check TLS/SSL certificate expiration date from a website) # NOTE: openssl requires at least 1.1...

Updated 2 months ago by Admin

USB 管理

Linux Administration

限制非 root 用戶可存取 USB 硬碟 修改 /etc/modprobe.conf # added by alang, this line would disable the USB d...

Updated 2 months ago by Admin

Learning Git

Git

中文 Git 筆記 - Git初始設定 & Github入門 英文 Getting started with GIT on Linux 10 things to love a...

Updated 2 months ago by Admin

Troubleshooting

Oracle Virtual Machine OVM

Log Files 檔案目錄: /u01/app/oracle/ovm-manager-3/domains/ovm_domain/servers/AdminServer/logs/ ac...

Updated 2 months ago by Admin

Backup & Restore

MySQL

Backup Script#1: #!/bin/bash # 以下配置資訊請自己修改 mysql_user="USER" #MySQL 備份使用者 mysql_password="...

Updated 3 months ago by Admin

n2n VPN

VPN

Introduction n2n is a layer-two peer-to-peer virtual private network (VPN) which allows users to...

Updated 3 months ago by Admin

Learning Fail2Ban

Fail2Ban

Fail2ban 是一套以 Python 語言所撰寫的 GPLv2 授權軟體,藉由分析系統紀錄檔,並透過設定過濾條件 (filter) 及動作 (action),當符合我們所設定的過濾條件時,將...

Updated 3 months ago by Admin

fail2ban command

Fail2Ban

常用指令表 Cmd Description service fail2ban restart systemctl restart fail2ban rest...

Updated 3 months ago by Admin