首先添加ppa
neo4j,joern系列工具安装
然后更新系统包缓存
neo4j,joern系列工具安装
安装jdk-11
neo4j,joern系列工具安装
注意:如果安装了多个版本,可以用这条命令进行设置
sudo update-alternatives --config java
安装完成后可以查看版本号
neo4j,joern系列工具安装

安装neo4j
首先将neo4j下载来的压缩包复制到/usr/local/ne04j目录下
neo4j,joern系列工具安装
然后解压,进入到下图路径启动
neo4j,joern系列工具安装
会提示需要java版本为8,使用上面介绍过的方式来安装jdk-8
安装完成后需要使用下面的命令来切换
neo4j,joern系列工具安装
上图中再次使用Java -version可以看到已经成功切换
然后回到neo4j那里,再次尝试启动
neo4j,joern系列工具安装

从回显中可以看到打印出了一个地址
neo4j,joern系列工具安装
打开浏览器访问
neo4j,joern系列工具安装
说明安装成功

安装joern
下载joern
neo4j,joern系列工具安装
解压
neo4j,joern系列工具安装
得到了Joern-0.3.1文件夹

这里官方的文档是要求下载lib.tag.gz。由于速度比较慢,直接在网上下了一个,移动到这个目录,再解压
然后输入ant来build工程
neo4j,joern系列工具安装
接下来安装python-joern
下载
neo4j,joern系列工具安装
解压
neo4j,joern系列工具安装
然后进入解压后的目录开始安装
neo4j,joern系列工具安装
在安装过程中如果碰到一些问题,比如下面在下载cryptography时无法下载,可以手动切换到国内源
neo4j,joern系列工具安装
切换国内源如图
neo4j,joern系列工具安装
下载好后继续安装,安装完毕后如下所示
neo4j,joern系列工具安装
然后继续安装joern-tools
先git clone
neo4j,joern系列工具安装
然后继续安装
neo4j,joern系列工具安装
安装的时候根据情况需要可能手动安装,我在安装时碰到graphviz没有安装,手动安装如下
先git clone
neo4j,joern系列工具安装
然后启动setup.py安装
neo4j,joern系列工具安装
安装后继续回去安装joern-tools
安装完成后可以在joern-tools目录下运行joern-lookup查看
neo4j,joern系列工具安装
此时一般会报错如下
neo4j,joern系列工具安装
只需如下安装即可
neo4j,joern系列工具安装
安装完毕后再次查看
neo4j,joern系列工具安装
说明已经正常安装好joern了

相关文章:

  • 2021-04-24
  • 2021-05-02
  • 2021-07-10
  • 2021-04-22
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-03
  • 2021-05-04
  • 2021-08-18
  • 2022-12-23
  • 2021-08-24
  • 2021-09-16
  • 2021-12-12
相关资源
相似解决方案