官方的 Source 在台北連線實在很慢,,淡江大學資訊中心的伺服器有 Mirror 一份,直接改 /etc/apt/sources.list 替換成下面這兩個位址就可以了。

mirror site
1
2
http://ftp.tku.edu.tw/kali/ main non-free contrib
http://ftp.tku.edu.tw/kali-security/ kali/updates main contrib non-free

iso
1
http://ftp.tku.edu.tw/index.php?dir=Linux%2FKali%2F

Comment and share

  1. 下載jdk
  2. 解壓縮到/usr/java/

    1
    tar -zxvf jdk1.7.0_45.tar.gz
  3. 修改/etc/profile與/etc/profile/etc/bashrc,加入以下

    1
    2
    3
    # JDK environment
    JAVA_HOME=/usr/java/jdk1.7.0_45
    PATH=$PATH:$JAVA_HOME/bin/
  4. 登出再登入,or source /etc/profile

  5. java -version

Comment and share

1
2
3
nsupdate -k Kfoo22.bar44.com.+157+12505.private
#or
nsupdate -y keyname:secret
command Add CNAME To Zone
1
2
3
4
5
6
nsupdate
server 192.168.31.50
zone example.com.
update add www.example.com. 86400 CNAME example.com.
show
send
command Delete CNAME From Zone
1
2
3
4
5
6
nsupdate
server 192.168.31.50
zone example.com.
update delete www.example.com. CNAME
show
send
command nslookup example
1
nslookup www.example.com 192.168.31.50

Comment and share

Cwza

Hello everyone.
I’m cwza.
Welcome to my blog.


Software Engineer


Taiwan/Taipei