Install OwlH - all-in-one — OwlH Net 0.17.x documentation (2024)

Choose your platform:

Linux DistributionRepository
CentOS 7repo.owlh.net/current-centos
Debian/Ubunturepo.owlh.net/current-debian
Raspbidianrepo.owlh.net/current-arm

Download OwlHInstaller:

Note

Please be sure you choose the right repo

CENTOS

DEBIAN/UBUNTU

# cd /tmp# wget repo.owlh.net/current-centos/owlhinstaller.tar.gz# mkdir owlhinstaller# tar -C /tmp/owlhinstaller/ -xf /tmp/owlhinstaller.tar.gz
# cd /tmp# wget repo.owlh.net/current-debian/owlhinstaller.tar.gz# mkdir owlhinstaller# tar -C /tmp/owlhinstaller/ -xf /tmp/owlhinstaller.tar.gz

Verify OwlH Installer configuration:

Verify your owlhinstaller configuration file for repository, action and targets.

configuration file: /tmp/owlhinstaller/config.json

CENTOS

DEBIAN/UBUNTU

"action": "install", <<< this should be install"repourl":"http://repo.owlh.net/current-centos/", <<< be sure to us the right repository"target": [ "owlhmaster", / "owlhnode", < As we want to install an AIO "owlhui" \],
"action": "install", <<< this should be install"repourl":"http://repo.owlh.net/current-debian/", <<< be sure to us the right repository"target": [ "owlhmaster", / "owlhnode", < As we want to install an AIO "owlhui" \],

Run OwlH Installer:

run owlh installer

# cd /tmp/owlhinstaller# ./owlhinstaller

After executed you should and output like this:

 2020/11/24 08:21:31.095 [I] OwlH Installer - v0.17.2.20201031 2020/11/24 08:21:31.112 [I] Downloading http://repo.owlh.net/current-centos/current.version to /tmp/current.version 2020/11/24 08:21:31.112 [I] == MASTER == 2020/11/24 08:21:31.112 [I] PRESCRIPTS - MASTER -> owlhmasterprescripts/ 2020/11/24 08:21:31.112 [I] Master INSTALL 2020/11/24 08:21:31.112 [I] Downloading New Software 2020/11/24 08:21:31.701 [I] ManageMaster Stopping the service 2020/11/24 08:21:31.701 [I] owlhmaster systemd stopping... 2020/11/24 08:21:31.711 [I] ManageMaster Copying files from download 2020/11/24 08:21:31.711 [I] SRC: /tmp/owlhmaster/owlhmaster -- DST: /usr/local/owlh/src/owlhmaster/owlhmaster 2020/11/24 08:21:32.020 [I] ManageMaster Installing service... 2020/11/24 08:21:32.193 [I] ManageMaster Copying current.version... 2020/11/24 08:21:32.193 [I] SRC: /tmp/current.version -- DST: /usr/local/owlh/src/owlhmaster/conf/current.version 2020/11/24 08:21:32.195 [I] ManageMaster Launching service... 2020/11/24 08:21:32.195 [I] owlhmaster systemd starting... 2020/11/24 08:21:32.220 [I] ManageMaster Done! 2020/11/24 08:21:32.220 [I] POSTSCRIPTS - MASTER -> owlhmasterpostscripts/ 2020/11/24 08:21:32.235 [I] Files removed for owlhmaster successfully! 2020/11/24 08:21:32.235 [I] == NODE == 2020/11/24 08:21:32.235 [I] PRESCRIPTS - NODE -> owlhnodeprescripts/ 2020/11/24 08:21:32.235 [I] Node INSTALL 2020/11/24 08:21:32.235 [I] Downloading New Software 2020/11/24 08:21:33.822 [I] ManageNode Stopping the service 2020/11/24 08:21:33.822 [I] owlhnode systemd stopping... 2020/11/24 08:21:33.952 [I] ManageNode Copying files from download 2020/11/24 08:21:33.952 [I] SRC: /tmp/owlhnode/owlhnode -- DST: /usr/local/owlh/src/owlhnode/owlhnode 2020/11/24 08:21:34.242 [I] SRC: /tmp/current.version -- DST: /usr/local/owlh/src/owlhnode/conf/current.version 2020/11/24 08:21:34.244 [I] ManageNode Installing service... 2020/11/24 08:21:34.383 [I] ManageNode Launching service... 2020/11/24 08:21:34.384 [I] owlhnode systemd starting... 2020/11/24 08:21:34.414 [I] ManageNode Done! 2020/11/24 08:21:34.414 [I] POSTSCRIPTS - NODE -> owlhnodepostscripts/ 2020/11/24 08:21:34.436 [I] Files removed for owlhnode successfully! 2020/11/24 08:21:34.436 [I] == UI == 2020/11/24 08:21:34.436 [I] PRESCRIPTS - UI -> owlhuiprescripts/ 2020/11/24 08:21:34.436 [I] New Install for UI 2020/11/24 08:21:34.436 [I] Downloading New Software 2020/11/24 08:21:34.686 [I] ManageUI Copying files from download 2020/11/24 08:21:35.521 [I] ManageUI Launching service... 2020/11/24 08:21:35.521 [I] SRC: /tmp/current.version -- DST: /var/www/owlh/conf/current.version 2020/11/24 08:21:35.524 [I] owlhui OwlH UI - systemd starting... 2020/11/24 08:21:36.614 [I] ManageUI Done! 2020/11/24 08:21:36.614 [I] POSTSCRIPTS - UI -> owlhuipostscripts/ 2020/11/24 08:21:36.630 [I] Files removed for owlhui successfully!

Output may vary

Install and configure httpd/apache server side

you must install httpd/apache and the owlh site configuration file.

CENTOS

DEBIAN/UBUNTU

# cd /tmp/# wget repo.owlh.net/current-centos/services/owlhui-httpd.sh# bash owlhui-httpd.sh 1.1.1.1
# cd /tmp/# wget repo.owlh.net/current-debian/services/owlhui-httpd.sh# bash owlhui-httpd.sh 1.1.1.1

where:

1.1.1.1:is your master ip.

you can edit your master ip on file /var/www/owlh/conf/ui.conf

Install suricata

If you want to use Suricata. You will configure Suricata from UI mostly

CENTOS

DEBIAN/UBUNTU

# cd /tmp/# wget repo.owlh.net/current-centos/services/owlhsuricata.sh# bash owlhsuricata.sh
# cd /tmp/# wget repo.owlh.net/current-debian/services/owlhsuricata.sh# bash owlhsuricata.sh

Is SURICATA ready to work? If you want to be sure Suricata is correctly installed try this.

# Suricata -V

Install Zeek

This step can take a long while, consider running it under a screen session.

CENTOS

DEBIAN/UBUNTU

# cd /tmp/# wget repo.owlh.net/current-centos/services/owlhzeek.sh# bash owlhzeek.sh
# cd /tmp/# wget repo.owlh.net/current-debian/services/owlhzeek.sh# bash owlhzeek.sh

Is ZEEK ready to work? If you want to be sure Zeek is correctly installed try this.

# /usr/local/zeek/bin/zeek -v

Install OwlH Interface

If you plan to use Software TAP configuration, you should prepare your owlh local interface

CENTOS

DEBIAN/UBUNTU

# cd /tmp/# wget repo.owlh.net/current-centos/services/owlhinterface.sh# bash owlhinterface.sh
# cd /tmp/# wget repo.owlh.net/current-debian/services/owlhinterface.sh# bash owlhinterface.sh

Also, if using suricata and Software TAP you will need to add this interface details to af-packet: key

Edit /etc/suricata/suricata.yaml and add:

af-packet: - interface: owlh #threads: auto cluster-id: 98 cluster-type: cluster_flow defrag: yes #rollover: yes #use-mmap: yes #mmap-locked: yes tpacket-v3: yes ring-size: 2048 block-size: 409600 #block-timeout: 10 #use-emergency-flush: yes #checksum-checks: kernel #bpf-filter: port 80 or udp #copy-mode: ips #copy-iface: eth1

Verify everything is properly set

# netstat -nputa

should provide an output like this:

[root@ip-172-31-41-217 ec2-user]# netstat -nputaActive Internet connections (servers and established)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name...tcp6 0 0 :::443 :::* LISTEN 2570/httpd...tcp6 0 0 :::50001 :::* LISTEN 2451/owlhmaster...tcp6 0 0 :::50002 :::* LISTEN 9936/owlhnode

Now you should be able to access your master with your browser.

Read the Docs v: 0.17.0

Versions
0.17.0
0.14.0
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.

Install OwlH - all-in-one — OwlH Net 0.17.x documentation (2024)
Top Articles
Latest Posts
Article information

Author: Patricia Veum II

Last Updated:

Views: 6167

Rating: 4.3 / 5 (64 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Patricia Veum II

Birthday: 1994-12-16

Address: 2064 Little Summit, Goldieton, MS 97651-0862

Phone: +6873952696715

Job: Principal Officer

Hobby: Rafting, Cabaret, Candle making, Jigsaw puzzles, Inline skating, Magic, Graffiti

Introduction: My name is Patricia Veum II, I am a vast, combative, smiling, famous, inexpensive, zealous, sparkling person who loves writing and wants to share my knowledge and understanding with you.