Je viens de faire l'installation et j'ai eu quelques soucis et des résolutions.
checking for LIBGCRYPT - version >= 1.1.94... no
configure: error:
***
*** libgcrypt was not found. You may want to get it from
*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
***
J'ai fais l'installation de libgcrypt (trouvé la réponse sur cette discussion
apt-get install libgcrypt20-dev
Pour mysql, j'ai installé mariaDB
apt install php7.0 php7.0-fpm php7.0-gd php7.0-mcrypt php7.0-mysql php7.0-json
apt-get install software-properties-common
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
add-apt-repository 'deb [arch=amd64,i386] http://fr.mirror.babylon.network/mariadb/repo/10.1/debian jessie main'
apt-get update
apt-get install mariadb-server
Cela à fonctionner facilement
Je voudrais savoir si on peut vérifier que correlator a bien fonctionné?
---------------------------------------------------------------------------
This script requires setuptools version 0.6c11 to run (even to display
help). I will attempt to download it for you (from
http://pypi.python.org/packages/2.7/s/setuptools/), but
you may need to enable firewall access for this script first.
I will start the download in 15 seconds.
(Note: if this machine does not have network access, please obtain the file
http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
and place it in this directory before rerunning this script.)
---------------------------------------------------------------------------
Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'
warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
warnings.warn(msg)
running install
creating //etc/prelude-correlator
copying prelude-correlator.conf -> //etc/prelude-correlator
creating //var/lib/prelude-correlator
copying PreludeCorrelator/plugins/dshield.dat -> //var/lib/prelude-correlator
copying PreludeCorrelator/plugins/spamhaus_drop.dat -> //var/lib/prelude-correlator
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/PreludeCorrelator
copying PreludeCorrelator/siteconfig.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator
copying PreludeCorrelator/idmef.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator
copying PreludeCorrelator/utils.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator
copying PreludeCorrelator/context.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator
copying PreludeCorrelator/main.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator
copying PreludeCorrelator/__init__.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator
copying PreludeCorrelator/pluginmanager.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator
copying PreludeCorrelator/require.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator
copying PreludeCorrelator/config.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator
copying PreludeCorrelator/log.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator
creating build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins
copying PreludeCorrelator/plugins/spamhausdrop.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins
copying PreludeCorrelator/plugins/businesshour.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins
copying PreludeCorrelator/plugins/worm.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins
copying PreludeCorrelator/plugins/__init__.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins
copying PreludeCorrelator/plugins/dshield.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins
copying PreludeCorrelator/plugins/firewall.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins
copying PreludeCorrelator/plugins/bruteforce.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins
copying PreludeCorrelator/plugins/opensshauth.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins
copying PreludeCorrelator/plugins/scan.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins
running install_lib
creating /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/siteconfig.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/idmef.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/utils.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/context.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/main.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/__init__.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/pluginmanager.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/require.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
creating /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins/spamhausdrop.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins/businesshour.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins/worm.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins/__init__.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins/dshield.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins/firewall.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins/bruteforce.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins/opensshauth.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/plugins/scan.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/config.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/log.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/siteconfig.py to siteconfig.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/idmef.py to idmef.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/utils.py to utils.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/context.py to context.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/main.py to main.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/__init__.py to __init__.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/pluginmanager.py to pluginmanager.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/require.py to require.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins/spamhausdrop.py to spamhausdrop.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins/businesshour.py to businesshour.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins/worm.py to worm.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins/__init__.py to __init__.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins/dshield.py to dshield.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins/firewall.py to firewall.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins/bruteforce.py to bruteforce.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins/opensshauth.py to opensshauth.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/plugins/scan.py to scan.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/config.py to config.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/log.py to log.pyc
running install_egg_info
Writing /usr/local/lib/python2.7/dist-packages/prelude_correlator-1.2.5.egg-info
running install_scripts
running build_scripts
error: cannot copy tree 'build/scripts-2.7': not a directory
J'ai refait la même commande et je n'ai pas eu d'erreur
python2.7 setup.py install --record correlator_files.txt
running install
copying prelude-correlator.conf -> //etc/prelude-correlator/prelude-correlator.conf-dist
running build
running build_py
copying PreludeCorrelator/siteconfig.py -> build/lib.linux-x86_64-2.7/PreludeCorrelator
running install_lib
copying build/lib.linux-x86_64-2.7/PreludeCorrelator/siteconfig.py -> /usr/local/lib/python2.7/dist-packages/PreludeCorrelator
byte-compiling /usr/local/lib/python2.7/dist-packages/PreludeCorrelator/siteconfig.py to siteconfig.pyc
running install_egg_info
running egg_info
writing prelude_correlator.egg-info/PKG-INFO
writing top-level names to prelude_correlator.egg-info/top_level.txt
writing dependency_links to prelude_correlator.egg-info/dependency_links.txt
writing entry points to prelude_correlator.egg-info/entry_points.txt
reading manifest file 'prelude_correlator.egg-info/SOURCES.txt'
writing manifest file 'prelude_correlator.egg-info/SOURCES.txt'
Copying prelude_correlator.egg-info to /usr/local/lib/python2.7/dist-packages/prelude_correlator-1.2.5-py2.7.egg-info
running install_scripts
Installing prelude-correlator script to /usr/local/bin
writing list of installed files to 'correlator_files.txt'
Et pour finir avec :
service prewikka start
Failed to start prewikka.service: Unit prewikka.service failed to load: No such file or directory.
edit:
systemctl enable prewikka.service
Et après j'ai pu faire un
service prewikka start
Avec putty, je dois faire screen puis ctrl+a Maj+s pour scinder l'écran en deux.
Puis ctrl+a tab
Puis ctrl+a c pour ouvrir une autre session.
Mais cela ne fonctionne pas pour la suite du tutoriel.
Ensuite entrez le mot de passe unique généré par l'utilitaire d'installation
J'ai essayer le mot de passe entre guillemet mais cela ne marche pas.
edit: c'est bon, j'ai réussi en modifier localhost par l'ip du serveur.
Nicolas.