?

Log in

No account? Create an account
OpenVAS 4.x/5.x from SVN source - 豬頭'blog [entries|archive|friends|userinfo]
豬頭

[ website | 豬頭基 ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| o0o blog myspace deviantart PromoDJ KTK project ]

OpenVAS 4.x/5.x from SVN source [Aug. 23rd, 2011|05:06 pm]
豬頭
[Tags|, ]

Didn't see any around. so here are my notes.
Build instructions for Debian and ubuntu. Assuming pcap, libc, gcc are already installed.

build libraries first:

cd openvas-libraries
apt-get install uuid-dev
apt-get install libgpgme11-dev libgpg-error-dev
apt-get install gnupg2
apt-get install libssh-dev libglib2.0-dev
apt-get install cmake
apt-get install gnutls-doc
apt-get install gnutls-bin

apt-get install libgnutls-dev
apt-get install libssh2-1-dev libssh-4
apt-get install libssh2-1-dev libssh-4
apt-get install libwxfgtk2.8-dev
rm CMakeCache.txt
cmake .
make
make doc && make doc-full && make install
ldconfig

build scanner:

cd openvas-scanner
cmake .
make
make doc && make doc-full && make install
openvas-mkcert

get plugins:

openvas-nvt-sync

build manager:

cd openvas-manager
apt-get install libsqlite3-dev
apt-get install xmltoman
apt-get install sqlfairy
apt-get install xsltproc
export PKG_CONFIG_PATH=/usr/share/pkgconfig
cmake .
make && make doc && make doc-full && sudo make install
openvas-mkcert-client -n om -i


build administrator:

cd openvas-administrator
cmake . && make && make doc && sudo make install

build GSA:

cd gsa
apt-get install libmicrohttpd-dev libxslt1-dev
make && make doc && sudo make install

build CLI: (optional)

cmake .
make && make doc && sudo make install

build GSD: (optional)

apt-get install qt4-dev-tools qt4-cmake
cmake .
make && make doc && sudo make install
LinkReply