TCP BBR 的目的是要盡量跑滿頻寬, 並且盡量不要有排隊等待的情況,效果並不比速銳來的差。 首先,確保你的主機 Kernel > 4.9 以上,若要更新Kernel到最新版本,可以參考這個 教學範例 假設主機的Kernel > 4.9 以上,我們要開啟該功能,若有跟新Kernel,請記得Reboot主機先 ssh 輸入該指令 echo “net.core.default_qdisc=fq” >> /etc/sysctl.conf…
Linux
How to update Ubuntu kernel to latest version
Update Ubuntu kernel to Latest version (Updated 2018.04.08) OS: Ubuntu 14+, XEN, KVM 64bit Goto: http://kernel.ubuntu.com/~kernel-ppa/mainline/
Manually install Python3 on CentOS
First, install minimum necessary tools: $ sudo yum install yum-utils Then using yum-builddep, set up a necessary build environment for…
Password protect for Nginx directory
Create a htpasswd file inside your website directory you wish to protect (xxx.com/htpasswd) Password must be encoded by the crypt(3) function…
How To Change your DNS on Linux
If you want to hard-code DNS Servers to use on CentOS or Debian, it has 2 methods. Configure static DNS…
免費GeoTrust SSL DV 證書(簡體中文)
前言 現在市場上很多免費的SSL,如 RapidSSL, StartSSL, 最近火紅Let’s Encrypted 。。。由於一個企業用的SSL都要100美元左右,每年更新,根本吃不消~~ 現在介紹一個GeoTrusted 這家的DV SSL給大家使用 中文版的說明 DV SSL 证书是 Domain Validation SSL Certificate 英文全称的简写,翻译成中文是域名型 SSL证书…
Linux常用的檢測軟體
介紹我個人常用的Linux 平台偵測功能軟體 –> IPTraf — 使用 yum -y install iptraf 就可以使用啦 –> hTop — 使用 yum -y install htop 就可以啦~~…
Centos6+Ubuntu14 定時把資料壓縮備份到Google Drive (Updated: 2017-12-27)
我在Github 找到一個Gdrive的程式可以幫助你加密tar.gz然後備份到Google Drive去 系統: Centos 6, Ubuntu 14+ Github源碼:https://github.com/ookangzheng/gdrive-upload 1. 第一步,把以下代碼複製到ssh 里 wget -O drive https://drive.google.com/uc?id=0B3X9GlR6EmbnMHBMVWtKaEZXdDg mv gdrive /usr/sbin/gdrive chmod…
Let Encrypted的實作教學Centos6
是一個免費開放式的SSL提供者,關於它的簡介如果需要詳細的請自行google咯,我這裡的案例是以我自己的Centos 6 及 Apache 來做示範。 1 在Centos 6 安裝以下Python2 元件 Install Epel Repository yum install epel-release Install IUS Repository rpm…
Linux常用的指令
Linux 平台下常用的指令~~ ls 显示文件或目录 -l 列出文件详细信息l(list) -a 列出当前目录下所有文件及目录,包括隐藏的a(all) mkdir…