简体   繁体   English

如何为OpenDaylight安装Defense4All?

[英]How to install Defense4All for OpenDaylight?

(This is a duplicate question from ServerFault, but seems that is not a right place to ask and it got downvoted for no reason, so I re-post here) (这是来自ServerFault的重复问题,但似乎不是一个合适的地方,它无缘无故被否决,所以我在这里重新发布)

Basically I am setting up an OpenDaylight controller for my SDN. 基本上,我为SDN设置了OpenDaylight控制器。 And I am trying to install an application - Defense4All, which from the documentation, will communicate with the controller host. 我正在尝试安装一个应用程序-Defense4All,该文档中的内容将与控制器主机进行通信。

I am reading the installation guide of it in https://wiki.opendaylight.org/view/Defense4All:Installation_Guide , but it seems that the link of getting binary of Defense4All is dead, and I can't find a way to get the binary of Defense4All. 我正在https://wiki.opendaylight.org/view/Defense4All:Installation_Guide中阅读它的安装指南,但是似乎获取Defence4All二进制文件的链接已经死了,我找不到找到该文件的方法。 Defense4All的二进制文件。 I managed to compile from source but I have no idea how to proceed after successful build. 我设法从源代码进行编译,但是我不知道成功构建后如何进行。 Anyone idea? 有人知道吗?

I finally fixed the issue. 我终于解决了这个问题。 Hope someone feels useful. 希望有人觉得有用。

I managed to compile the source with mvn install , which it successfully did all the compilation but it did not give me a binary. 我设法用mvn install编译了源代码,它成功完成了所有编译,但没有给我二进制文件。 But I am able to do so using mvn package . 但是我可以使用mvn package来做到这一点。

To be specific, under directory dfapp after unzipping the source zip file: 具体来说,在解压缩源zip文件后,在dfapp目录下:

vm:~/defense4all-release-helium-sr3/dfapp$ mvn package

After a long build, you will find the binary file in dfapp.aggregate/target 经过长时间的构建,您将在dfapp.aggregate/target找到二进制文件。

Make sure you allocate enough memory (say, 2048) to the VM or it will suffer from insufficient memory error. 确保为虚拟机分配了足够的内存(例如2048),否则它将遭受内存不足错误的困扰。

There are also some dependencies such as git and rpm , it varies with your machines, so take notice of the error log. 还有一些依赖项,例如gitrpm ,它随计算机的不同而变化,因此请注意错误日志。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM