Viante installation guide minimal
# Viante installation guide
Check if port is open: netstat -tulnp | grep 8000
If multiple ports:
ports="8080 80 554 15672 2379 40000 5180 9100 4001 3000 3307 8565 8095 10000 8081"for port in $ports; do if nc -z localhost $port >/dev/null 2>&1; then echo "Port $port is in use" else echo "Port $port is free" fidone
If VM check for avx2:
```plaintext
grep "flags" /proc/cpuinfo | grep "avx2"
```
Add "min-api-version": "1.24", in file /etc/docker/daemon.json
```plaintext
sudo systemctl restart docker
```
```plaintext
sudo sysctl fs.aio-max-nr
```
```plaintext
sudo nano /etc/sysctl.d/99-aio.conf
```
```plaintext
fs.aio-max-nr = 1048576
```
```plaintext
sudo sysctl --system
```
Go to the folder where the archive is unpacked (for example, /opt/Platform-4-lic)
```plaintext
chmod a+x \
./install.py \
./uninstall.py \
./restart.sh \
./start.sh \
./stop.sh \
./collect_logs.sh
```
=========platform 4 CPU ============================
```plaintext
./install.py \
--ecm-rabbitmq-management-port=15673 \
--ecm-port=8081 \
--im-fr-algorithm alg2 \
--im-enroll-hardware-type cpu \
--fd-hardware-type cpu \
--ecm-data-storage-period-in-days 30 \
--ecm-data-index-period-in-days 30 \
--ecm-webhook-url http://vms-server-ip:port/api/event/addTevianEvent \
--ecm-admin-password admin \
--ecm-rabbitmq-password admin
```
=========platform 4 GPU ============================
```plaintext
./install.py \
--ecm-rabbitmq-management-port=15673 \
--ecm-port=8081 \
--im-fr-algorithm alg2 \
--im-enroll-hardware-type gpu \
--im-enroll-gpu-device-id 0 \
--fd-hardware-type gpu \
--fd-gpu-device-id 0 \
--ecm-data-storage-period-in-days 30 \
--ecm-data-index-period-in-days 30 \
--ecm-webhook-url http://vms-server-ip:port/api/event/addTevianEvent \
--ecm-admin-password admin \
--ecm-rabbitmq-password admin
```
\--ecm-no-webhook \\
\--with-silhouette \\
\--silhouette-with-classifiers \\
\--silhouette-gpu-device-id 0 \\
\--im-api-port 40001 \\
\--im-scylla-skip-schema-load \\
\--skip-docker-images-load \\