這幾天折騰kali的心得,記錄一下
一、在三星note 8.0上安裝kali
先安裝linuxonandroid,然后下載kali鏡像文件,放在外置存儲(chǔ)卡上,目錄隨意,然后運(yùn)行即可。主要問(wèn)題是啟動(dòng)postgresql前,要將postgres用戶添加到相關(guān)組里,命令如下:
usermod -a -G android_inet
然后就可以service postgresql start了,不過(guò)貌似鏡像文件要用ext2格式的,ext4的不行。
三星note8.0的自帶內(nèi)核不支持內(nèi)置網(wǎng)卡的mon模式,想玩aircrack之類的小伙伴們,只能等有高人改內(nèi)核啦!
二、增加空間的問(wèn)題
官方下載的img文件只有5G多,使用一段時(shí)間,特別是upgrade和dist-upgrade后,空間就不夠用了。其實(shí)官方提供了解決方法,很簡(jiǎn)單,就是浪費(fèi)時(shí)間:
http://sourceforge.net/p/linuxonandroid/wiki/Advanced%20FAQ/#how-do-i-give-linux-more-space
三、vmware中安裝kali后共享文件夾的設(shè)置問(wèn)題
安裝vmware-tools不好使,后來(lái)在官方網(wǎng)站發(fā)現(xiàn)解決方法,原來(lái)要打個(gè)補(bǔ)丁:
VMware Tools always lags behind new kernels, which always causes us headaches and this time is no exception. At the time of this release, VMware Tools does not cleanly compile against kernel 3.12 and requires a set of patches. We have posted these Kali Linux VMware Tools patches on GitHub along with instructions on how to use them. We suspect that these build issues will go away in future releases of VMware Tools.