MacOS安装Metasploit报错tips
历史文章,保留原始发布日期与正文。文中软件、链接及操作方法可能已变化,实践前请核对当前环境。
ruby的pg库报错:
ARCHFLAGS="-arch x86_64" bundle install
rb版本
rbenv解决,msf建议的rb版本去github看
Nokogiri 报错
http://stackoverflow.com/questions/24091869/installing-nokogiri-on-osx-10-10-yosemite
先安装
brew tap homebrew/dupes
brew install libxml2 libxslt
brew install libiconv
然后
gem install nokogiri -v '1.6.8.1' -- --with-iconv-dir=/usr/local/Cellar/libiconv/1.14/ --use-system-libraries=true --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libxml2/
postgresql启动不了、连不上
原因是9.5升9.6数据库文件不兼容
brew uninstall postgresql
删除/usr/local/var/postgres/
重新安装