> For the complete documentation index, see [llms.txt](https://docs.nanocorp.ai/n.scope-v2.0-english/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nanocorp.ai/n.scope-v2.0-english/deployment/installing-nanocorp-n.scope/deploy-n.scope.md).

# Deploy n.Scope

## 1 Retrieve the installation archive

You may find the installation archive of our latest stable version [in our version Warehouse](https://warehouse.nanocorp.fr/). **Current stable in v2.0.**

{% hint style="info" %}
You will need client credentials to retrieve the installation package. If you lost your credentials, email us at <support@nanocorp.fr>, and we will send new ones over. \
\
If you are not yet a customer and want to test us out, contact <sales@nanocorp.fr> to receive a trial download credential and software license.&#x20;
{% endhint %}

## 2 n.Scope Server Requirement

### 2.1 Sizing n.Scope for performance

n.Scope platform requires CPU, RAM, and high-performance hard drive space adapted to the total aggregated bandwidth observed by the probes attached to it.&#x20;

For reference, the table below indicates the required server size based against the aggregated bandwidth:&#x20;

| Bandwidth | CPU Cores | RAM    | System Disk | Data Disk |
| --------- | --------- | ------ | ----------- | --------- |
| 10 Gbps   | 20        | 128 GB | 50 GB       | 512 GB    |
| 25 Gbps   | 32        | 256 GB | 50 GB       | 1 024 GB  |
| 50 Gbps   | 48        | 386 GB | 50 GB       | 2 048 GB  |
| 100 Gbps  | 64        | 512 GB | 50 GB       | 4 096 GB  |

{% hint style="info" %}
n.Scope scales beyond 100Gbps ; specific requirements are necessary, please reach out to <support@nanocorp.fr> to discuss your need.
{% endhint %}

{% hint style="danger" %}
n.Scope Specification are given for high intensity network workload, and for the full suite of software (Observability, Smart Alerting, Forensic.
{% endhint %}

{% hint style="warning" %}
Data Partition is sized for a data retention period of 90 days against the aggregated bandwidth observed by the probes.
{% endhint %}

### 2.2 Supported Operating System

Nano Corp officially supports n.Scope installation on Oracle Linux version 8.8. [You can retrieve your preferred installation medium here](https://yum.oracle.com/oracle-linux-isos.html)

{% hint style="info" %}
We are considering supporting more operating systems. Drop us an email at <feedback@nanocorp.fr> to let us know which one you would prefer.
{% endhint %}

### 2.3 Update the server to the last version

```bash
#Upgrade to last version
dnf update -y
```

### 2.4 Install the required packages

```bash
dnf install -y coreutils gawk curl grep tar openssl dnf-utils zip unzip bash-completion nano
```

### 2.5 Clean-up pre-existing container managers and Install Docker

To avoid any problem during the installation, it is safer to clean-up any potential other container system installed by default.

```bash
#Remove pre-existing container manager.
dnf remove -y runc

#Add Docker Community Edition to DNF repos
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

#Install Docker
dnf install -y docker-ce --nobest
```

### 2.6 Reboot the server

```bash
#reboot to switch on last kernel / versions
reboot
```

## 3. Deploying n.Scope server

{% hint style="success" %}
Installation must be performed as root. Log in the console as root using \`sudo su\` command.
{% endhint %}

### 3.1 Download the Install archive to the server

```bash
cp NanocorpInstall.tar.gz ~/
cd
tar -xvzf NanocorpInstall.tar.gz
```

### 3.2 Start the installation script

Go to the installation directory and run the install script. It will create all the required files and directory for n.scope and its database to run.

```bash
cd NanocorpInstall
./n.Scope/install_n.Scope.sh --database-host {N.SCOPE SERVER HOSTNAME or IP}
```

{% hint style="info" %}
\`database-host\` option must be filed with n.Scope’s FQDN or IP address. It will point to probes where they should report the traffic they observe.
{% endhint %}

### 3.3 Installation check

* Check that there are two directories at the installation location.

```bash
ls
```

{% hint style="success" %}
You should see two directories: \
1\. n.Scope \
2\. n.Probe
{% endhint %}

n.Probe repository will be used later on to install probes, rewinds and fusions.

* Check that docker containers are running.

```bash
docker ps
```

{% hint style="success" %}
You should see four docker containers running.
{% endhint %}

### 4 Deploy n.Probes, n.Rewind, n.Fusion

Go to the next step of the installation procedure:

{% content-ref url="/pages/WXQbaCGqVF4eUF2nEEtd" %}
[Deploy n.Probes, n.Rewind, n.Fusion](/n.scope-v2.0-english/deployment/installing-nanocorp-n.scope/deploy-n.probes-n.rewind-n.fusion.md)
{% endcontent-ref %}
