# Installing Arkime

* Download the Arkime installation scripts from [here](https://aviznetworks.egnyte.com/fl/KUkcvsz2xU)
* Copy the tar to the Arkime server and extract using the below command

<pre class="language-bash"><code class="lang-bash"><strong>aviz@npbsrv01:~/OPB_Arkime$ tar -zxvf OPB_Analyzer.tar.gz 
</strong>OPB_Analyzer/
OPB_Analyzer/stop.sh
OPB_Analyzer/elasticsearch.tar
OPB_Analyzer/start.sh
OPB_Analyzer/arkime.tar
aviz@npbsrv01:~/OPB_Arkime$ 
</code></pre>

* Move to the extracted folder

<pre class="language-bash"><code class="lang-bash">aviz@npbsrv01:~/OPB_Arkime$ cd OPB_Analyzer/
aviz@npbsrv01:~/OPB_Arkime/OPB_Analyzer$ ls -l
total 1208660
-rw------- 1 ravi ravi 620387328 Dec 23 04:15 arkime.tar
-rw------- 1 ravi ravi 617262080 Dec 23 04:16 elasticsearch.tar
-rwxrwxr-x 1 ravi ravi      1403 Dec 23 05:21 start.sh
-rwxrwxr-x 1 ravi ravi       160 Dec 23 04:43 stop.sh
<strong>aviz@npbsrv01:~/OPB_Arkime/OPB_Analyzer$ 
</strong></code></pre>

* Add permission to execute ‘start.sh’ and ‘stop.sh’ scripts

```bash
aviz@npbsrv01:~/OPB_Arkime/OPB_Analyzer$ sudo chmod +x start.sh
[sudo] password for aviz:
aviz@npbsrv01:~/OPB_Arkime/OPB_Analyzer$ sudo chmod +x stop.sh
aviz@npbsrv01:~/OPB_Arkime/OPB_Analyzer$
```

* Execute the ‘start.sh’ script, the script will perform the following actions
  1. Start Local ES storage node on port 9200
  2. Setup directories for PCAP and Log capture
  3. Ask the user for Interfaces to capture data on
  4. Start the Arkime container

<pre class="language-bash"><code class="lang-bash">aviz@npbsrv01:~/OPB_Arkime/OPB_Analyzer$ sudo ./start.sh 
Loading docker images...
Loaded image: avizdock/docker-arkime:latest
Loaded image: docker.elastic.co/elasticsearch/elasticsearch:7.17.3
<strong>Enter Semicolon ";" separated list of interfaces to listen for live traffic: enp130s0f1
</strong>vm.max_map_count = 262144
f07938f9e08183c763791733cda1bd19664675b44269fa7bc7e8d800001156b8
18f93340d929695b81915bebf8ed4a275439a25c4542a33944f093115facc17c
Access Arkime Viewer at:
http://&#x3C;host>:8005
username: admin
password: admin

aviz@npbsrv01:~/OPB_Arkime/OPB_Analyzer$
</code></pre>

{% hint style="info" %}
Arkime uses Elasticsearch(ES) for indexing and searching, So ES must be installed before starting Arkime.
{% endhint %}

* Open URL <mark style="color:purple;">http\://\<arkime-server-ip>:8005/</mark> from your favourite browser and enter the below credentials

  * User: <mark style="color:purple;">admin</mark>
  * Password: <mark style="color:purple;">admin</mark>

  <figure><img src="https://1769759209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZTfZg3dJFojK1U8kVNcv%2Fuploads%2FTQVAdwKKc390yMKjSfId%2FScreenshot%202022-12-23%20at%209.32.16%20PM.png?alt=media&#x26;token=d274ca44-d237-492e-94f5-c3dd7bbf2262" alt=""><figcaption></figcaption></figure>

<br>
