Recently Updated Pages

Systemd

簡介 Linux 的各項服務管理一直都是用 SysV Init Script,Systemd 是新的管理工具,在 CentOS 7 開始已經有支援。 設定上比 SysV Init 簡單許多,...

Reverse Proxy

Tutorials Setting up Nginx as reverse proxy to deploy multiple services on the same server usi...

Cheat Sheets

Bash bash_cheat_sheet.pdf Curl curl-cheat-sheet.pdf Git Git_cheat_sheet.jpeg Git_...

PNP4Nagios

官方首頁:https://www.pnp4nagios.org/ NOTE: 必須事先安裝及設定好 Nagios 開始安裝   # 相依性套件 yum install gcc perl...

設定 postfix 為轉信主機

情境說明 需求:需要一部 SMTP 寄信主機可供論壇網站寄信,免費的 Gmail 或 ISP 提供的 SMTP 主機都會有寄送數量的限制,而其他提供可大量寄信的雲端服務商,例如 Mailchi...

SSL 常用技巧

Check TLS/SSL certificate expiration date from a website) DOM="www.cloudcoin.global" PORT="44...

Vim FAQ

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

Phrases

Most importantly, you learn when and where to apply a particular technique. (最重要的是,你要學習...) le...

Learning Hadoop

TecMint Hadoop Tips How to Install Hadoop Single Node Cluster (Pseudonode) on CentOS 7 Best P...

Learning PHP

Tutorials 函數 preg_match() 範例與技巧

AIX 管理技巧

資安相關指令 # Login Failed who /etc/security/failedlogin | tail -50 # Check the number of previou...

CentOS Kernel Upgrade

RedHat KB: CHAPTER 5. MANUALLY UPGRADING THE KERNEL Kernel Packages CentOS/RedHat Linux 與 kerne...

Learning Nginx

Hardening Nginx How to password protect directory with Nginx .htpasswd authentication

FreePBX: fwconsole

Tutorials CLI Commands Help fwconsole help # lists all commands php /usr/sbin/fwconsol...

Grub2

RedHat/CentOS 7 設定檔: /etc/default/grub,通用設定 /etc/grub.d/40_custom,自訂內容 建立開機用的設定檔(請勿手動編輯) ...

Things to do after FreePBX installation

Set root's password for MySQL mysql_secure_installation Log File Rotation If this is not done ...

Bash Background Process

# Starting a process in the background and bringing it back to the foreground $ sleep 1000 &...

nmap 常用指令集

掃描單一主機 ### Scan a single ip address ### nmap 192.168.1.1 ## Scan a host name ### nmap serv...

patch & diff

單一檔案 # 建立更新檔 diff -uN old.code new.code > patch.file # 套用更新檔 patch < patch.file # ...

uniq

uniq 與 sort 一起使用時,可以控制那些重複的資訊。 基本操作 $ cat file2 ChhatrapatiShahuMaharaj Dr.B.R.Ambedkar Budh...