2022年12月21日 星期三

CISSP資安認證的8大領域

CISSP (Certified Information Systems Security Professional, 資訊安全系統專家認證)是International Information Systems Security Certification Consortium (ISC)2 舉辦的認證,此資訊安全認證包含了八大主題領域,可記憶為SAS-CI-SSS:

  1. 安全暨風險管理 Security and Risk Management 
  2. 資產安全 Asset Security 
  3. 安全架構與工程 Security Architecture and Engineering 
  4. 通訊及網路安全 Communication and Network Security 
  5. 識別暨存取控制 Identity and Access Management (IAM)
  6. 安全性評估與測試 Security Assessment and Testing 
  7. 安全性營運 Security Operations 
  8. 軟體開發安全性 Software Development Security 

以上的中文非官方翻譯,是個人覺得比較好理解的講法。

2022年11月12日 星期六

Ubuntu Server 22.04裝在RAID-1上

Ubuntu Server 22.04可用USB live stick將系統安裝在software RAID-1上了,但還是沒有Debian設計的那麼簡單。原本是希望硬碟用MBR分割,但最終還是被改成GPT,成功安裝的過程重點是在選擇"Custom storage layout"後,分割的過程要注意幾點:

  1. 找到reformat字樣的選單,把開機硬碟加入boot
  2. 硬碟最少分割成4個分割區(partition)
    • Partition 1 給EFI
    • Partition 2 預計做成software RAID-1給/boot
    • Partition 3 預計做成software RAID-1給swap
    • Partition 4 預計做成software RAID-1給根目錄/
  3. 用選單裡面的md,將分割區Partition 2, 3, 4做成software RAID-1

2022年10月21日 星期五

用SPEC CPU® 2017量化比較CPU效能

測量CPU的效能,在科學計算與產業界常用的會是SPEC CPU這個基準,從CPU89, CPU92, CPU95, CPU2000, CPU2006到CPU2017。最新版本是2017年發表的SPEC CPU® 2017,和SPEC CPU® 2006一樣是要從原始碼編譯,使用文字介面下指令去跑CPU benchmark。此軟體含43個基準(benchmarks),分成四套(Suite)評斷標準:

2022年9月20日 星期二

樹梅派3的有線網路設定固定IP位址

安裝Raspberry Pi OS (32-bit, Debian 11 Bulleye改) 的raspberry pi 3,要設定有線網路eth0成固定IP,需要修改/etc/dhcpcd.conf(注意檔名的dhcp後面加cd,不是只有d)這個檔案,大約在43行做友會有Example static IP configuration的字樣,設定如下:

interface eth0
static ip_address=192.168.x.x

#static routers=x.x.x.x
static domain_name_servers=192.168.x.x

這邊要注意到這張網卡是拿來對內使用,所以不設定router。

2022年9月19日 星期一

樹梅派3的無線網路用DHCP自動取得IP

安裝Raspberry Pi OS (32-bit, Debian 11 Bulleye改) 的raspberry pi 3,因為本身硬體就已經帶有無線網路Wifi硬體,故只要裝好以後使用圖形介面找到Wifi的SSID並登入,那麼系統本身就會把Wifi密碼給記住。要設定無線Wifi網路用的是DHCP來抓IP,只要設定 /etc/network/interfaces 這個檔案如下:

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp

這樣wlan0連到Wifi以後就會用DHCP去自動抓IP位址了,再用指令重新啟動網路介面: