HTTP request sent, awaiting response... 200 OK
Length: 50710827 (48M) [application/x-rpm]
Saving to: ‘moloch-1.1.1-1.x86_64.rpm’
100%[=====================================================================================================>] 50,710,827 6.38MB/s in 7.7s
2018-07-13 12:42:31 (6.31 MB/s) - ‘moloch-1.1.1-1.x86_64.rpm’ saved [50710827/50710827]
[root@localhost ~]# rpm --install moloch-1.1.1-1.x86_64.rpm
READ /data/moloch/README.txt and RUN /data/moloch/bin/Configure
[root@localhost ~]# vim /data/moloch/bin/Configure +151
[root@localhost ~]# /data/moloch/bin/Configure
Found interfaces: ens32;ens33;ens34;ens35;lo
Semicolon ';' seperated list of interfaces to monitor [eth1] ens33
Install Elasticsearch server locally for demo, must have at least 3G of memory, NOT recommended for production use (yes or no) [no] yes
/usr/bin/java
Password to encrypt S2S and other things [no-default] <<removed>>
Moloch - Creating configuration files
Installing systemd start files, use systemctl
Moloch - Downloading and installing demo Elasticsearch
Loaded plugins: fastestmirror
elasticsearch-5.6.7.rpm | 32 MB 00:00:08
Examining /var/tmp/yum-root-u2DDjm/elasticsearch-5.6.7.rpm: elasticsearch-5.6.7-1.noarch
Marking /var/tmp/yum-root-u2DDjm/elasticsearch-5.6.7.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:5.6.7-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================
Installing:
elasticsearch noarch 5.6.7-1 /elasticsearch-5.6.7 36 M
Transaction Summary
===============================================================================================================================================
Install 1 Package
Total size: 36 M
Installed size: 36 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Creating elasticsearch group... OK
Creating elasticsearch user... OK
Installing : elasticsearch-5.6.7-1.noarch 1/1
### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using systemd
sudo systemctl daemon-reload
sudo systemctl enable elasticsearch.service
### You can start elasticsearch service by executing
sudo systemctl start elasticsearch.service
Verifying : elasticsearch-5.6.7-1.noarch 1/1
Installed:
elasticsearch.noarch 0:5.6.7-1
Complete!
Moloch - Installing /etc/logrotate.d/moloch to rotate files after 7 days
Moloch - Installing /etc/security/limits.d/99-moloch.conf to make core and memlock unlimited
Moloch - Downloading GEO files
WARNING: timestamping does nothing in combination with -O. See the manual
for details.
WARNING: timestamping does nothing in combination with -O. See the manual
for details.
Moloch - Configured - Now continue with step 4 in /data/moloch/README.txt
4b) If using the demo Elasticsearch, these won't work with real Elasticsearch installs
/sbin/start elasticsearch # for upstart/Centos 6/Ubuntu 14.04
systemctl start elasticsearch.service # for systemd/Centos 7/Ubuntu 16.04
5) Initialize/Upgrade Elasticsearch Moloch configuration
a) If this is the first install, or want to delete all data
b) If this is an update to moloch package
6) Add an admin user if a new install or after an init
/data/moloch/bin/moloch_add_user.sh admin "Admin User" THEPASSWORD --admin
7) Start everything
a) If using upstart (Centos 6 or sometimes Ubuntu 14.04):
/sbin/start molochcapture
/sbin/start molochviewer
b) If using systemd (Centos 7 or Ubuntu 16.04 or sometimes Ubuntu 14.04)
systemctl start molochcapture.service
systemctl start molochviewer.service
8) Look at log files for errors
/data/moloch/logs/viewer.log
/data/moloch/logs/capture.log
user: admin
password: password from step #6
Additional information can be found at: