16.2. 準備
· 3 min read
16.2.1. 取得原始檔
取得最新的 Linux 核心原始檔: http://www.kernel.org/
取得最新的 iptables 套件:
- Source tarball (kernel 修正檔用): http://www.netfilter.org/
- Source RPM for rebuild of binary (for RedHat systems): ftp://ftp.redhat.com/redhat/linux/rawhide/SRPMS/SRPMS/ or perhaps also at http://www.netcore.fi/pekkas/linux/ipv6/
16.2.2. 將原始檔解壓縮
切換到原始檔所在目錄:
# cd /path/to/src
將原始檔解開並更名
# tar z|jxf kernel-version.tar.gz|bz2
# mv linux linux-version-iptables-version+IPv6