Create a htpasswd file inside your website directory you wish to protect (xxx.com/htpasswd) Password must be encoded by the crypt(3) function…
Linux

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…
Centos6安裝 Softether VPN l2tp
今天要介紹的是另外一個開源日本的vpn ~~ 網址:https://www.softether.org 目前支持的平台Linux, Windows, Mac, Raspberry pi 我這裡就以Centos 6 64bit 來作為範例 下載地址:http://www.softether-download.com/cn.aspx?product=softether 開啟 root 模式,wget 指令下載原始tar.gz 並且解壓縮它 進入 vpnserver 資料夾,執行…
Centos7 支持树莓派 Pi 2
在上周12月19日 Centos Twitter 官方宣布了 Centos 7 build 1511 更新,除此之外,还宣布支持 Raspberry pi 2 , bananapi , cubie track 这三个板子,对微电脑的玩家来说可说是一件好事。 下载地址:https://t.co/sopuycrYcy
Let’s Encrypt Free SSL 开放申请
随着网路的日益更新,网站的安全越来越重要,今天介绍SSL一个好东西,不用钱钱,只要把域名注册,就可申请使用啦~~ 这个公司在2015年12月5日获得众多大公司赞助 以下环节直接进入关键的一环,如何生成Cert … 这家公司宣称不必像StartSSL需要各种的验证机制,只需以下几行指令就可完成。 在Linux Terminal 输入以下指令进行安装 user@webserver:~$ git clone https://github.com/letsencrypt/letsencrypt user@webserver:~$ cd letsencrypt user@webserver:~/letsencrypt$ ./letsencrypt-auto –help ./letsencrypt-auto certonly…