[root@LYGVLTOPO03 ~]# /opt/arkime/bin/Configure Found interfaces: ens192;lo Semicolon ';' seperated list of interfaces to monitor [eth1] ens192 Install Elasticsearch server locally for demo, must have at least 3G of memory, NOT recommended for production use (yes or no) [no] no OpenSearch/Elasticsearch server URL [https://localhost:9200] OpenSearch/Elasticsearch user [empty is no user] Password to encrypt S2S and other things, don't use spaces [must create one] Password to encrypt S2S and other things, don't use spaces [must create one] arkime Arkime - Creating configuration files Not overwriting /opt/arkime/etc/config.ini, delete and run again if update required (usually not), or edit by hand Download GEO files? You'll need a MaxMind account https://arkime.com/faq#maxmind (yes or no) [yes] no Arkime - NOT downloading GEO files Arkime - Configured - Now continue with step 4 in /opt/arkime/README.txt 4) The Configure script can install OpenSearch/Elasticsearch for you or you can install yourself 5) Initialize/Upgrade OpenSearch/Elasticsearch Arkime configuration a) If this is the first install, or want to delete all data /opt/arkime/db/db.pl http://ESHOST:9200 init b) If this is an update to an Arkime package /opt/arkime/db/db.pl http://ESHOST:9200 upgrade 6) Add an admin user if a new install or after an init /opt/arkime/bin/arkime_add_user.sh admin "Admin User" THEPASSWORD --admin 7) Start everything systemctl start arkimecapture.service systemctl start arkimeviewer.service 8) Look at log files for errors /opt/arkime/logs/viewer.log /opt/arkime/logs/capture.log 9) Visit http://arkimeHOST:8005 with your favorite browser. user: admin password: THEPASSWORD from step #6 If you want IP -> Geo/ASN to work, you need to setup a maxmind account and the geoipupdate program. See https://arkime.com/faq#maxmind Any configuration changes can be made to /opt/arkime/etc/config.ini See https://arkime.com/faq#arkime-is-not-working for issues Additional information can be found at: * https://arkime.com/install * https://arkime.com/faq * https://arkime.com/settings
# 增加用户名和密码,用来登录Arkime界面 [root@LYGVLTOPO03 ~]# /opt/arkime/bin/arkime_add_user.sh admin "Admin User" arkime --admin # 这一步可能报错,根据报错信息排查 Common issues: * Is OpenSearch/Elasticsearch running and NOT RED? * Have you run 'db/db.pl <host:port> init'? * Is the 'elasticsearch' setting (https://localhost:9200) correct in config file (/opt/arkime/etc/config.ini) with a username and password if needed? (https://arkime.com/settings#elasticsearch) * Do you need the --insecure option? (See https://arkime.com/faq#insecure)