This repository has been archived by the owner on Jun 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
CentOS7
Wes edited this page Mar 3, 2017
·
22 revisions
$ tar -zxvf cif-3.X.X.tar.gz
$ cd cif-3.X.X
$ cd deployment
$ sudo bash easybutton.sh
$ sudo service csirtg-smrt stop
$ sudo su - cif
$ csirtg-smrt --client cif --fireball -r /etc/cif/rules/default/csirtg.yml -d
$ cif --itype ipv4
$ exit
$ sudo service csirtg-smrt start
$ tar -zxvf cif-3.X.X.tar.gz
$ cd cif-3.X.X
$ export VAGRANT_VAGRANTFILE=Vagrantfile.centos7
$ vagrant up && vagrant ssh
$ workon cif && cd /vagrant
$ mkdir -p log && cp hacking/develop.conf hacking/local.conf
$ cif-store -d --token-create-admin cif.yml
$ cif-store -d --token-create-hunter cif-router.yml
$ cif-store -d --token-create-smrt csirtg-smrt.yml
$ supervisord -c hacking/local.conf
# new window
$ export VAGRANT_VAGRANTFILE=Vagrantfile.centos7
$ vagrant ssh
$ workon cif && cd /vagrant
$ cif -d -p
$ csirtg-smrt --client cif --fireball --config csirtg-smrt.yml -r rules/default/csirtg.yml -d
$ cif --itype ipv4