Current on .
Identification of the provisioned instance
| Parameter | Meaning |
|---|---|
| Release version | 2.0.3 |
| Full source commit | 399717d1ed4c0e83e00150912a2a029eaec5c736 |
| Supply channel | stable |
| SHA-256 public key | 0908f56ddcd6cd13fe95d81faae6543b9c5953937b164fb2c487eb00a5b8921d |
1. Purpose of the document
The document establishes how to deploy the CShark software. The instructions allow the user to independently:
- check the compliance of the computing environment with system requirements;
- receive an identified delivery kit;
- check its integrity;
- perform automated installation;
- obtain primary access credentials;
- confirm the performance of the instance using control characteristics.
The instructions refer to the provided copy in the option demo for Ubuntu Server 24.04 LTS AMD64. After installation, a fictitious object Demo Parking “Northern” is automatically created without a real address and details of a legal entity: one level, two zones and 50 parking spaces. Standard Device Gateway, mock APS and other necessary emulators are included in the kit.
2. Identification of the delivery set
| Parameter | Meaning |
|---|---|
| Software name | CShark |
| Instance ID | 2.0.3 / 399717d1ed4c0e83e00150912a2a029eaec5c736 |
| Data option | demo, seed 2026.07.2, 50 seats |
| Demonstration object | Demo parking “Severny”, without real address and legal entity |
| Target OS | Ubuntu Server 24.04 LTS |
| Architecture | AMD64 / x86_64 |
| Complete set name | cshark-2.0.3-demo-ubuntu-24.04-amd64-offline.tar |
| SHA-256 full set | ccb36a121bf8e1b756f1190f9369e490585082417829458b9bc62108620850c6 |
| Procedure for receiving the kit | provided by the copyright holder upon request |
| Supply channel | stable |
| Default installation directory | /opt/cshark-stand |
| Default Compose project | cshark-stand |
3. System requirements
3.1. Server
| Parameter | Minimum requirement | Recommended Configuration |
|---|---|---|
| Environment type | separate clean VM or physical server | separate VM without other application services |
| OS | Ubuntu Server 24.04 LTS | current Ubuntu Server 24.04 LTS |
| Architecture | AMD64 / x86_64 | AMD64 / x86_64 |
| CPU | at least 4 vCPU | 4-8 vCPU |
| RAM | at least 8 GB | 16 GB |
| Free disk space | at least 30 GB | from 50 GB on SSD |
| System time | correct date, time and time zone | NTP synchronization |
| Rights | user with sudo | separate administrator account |
3.2. Network access
To install from the provided kit on the server you need:
- standard commands
bash,tar,sha256sum,awk,find,hostname.
Docker Engine, Docker Compose v2, containerd, Python, OpenSSL and other runtime dependencies are installed from the local APT repository included in the provided kit. No access to PyPI, npm or external Docker Registry required.
3.3. Instance Ports
| Port | Purpose | Recommended access |
|---|---|---|
8088/tcp | Web interface and API | user workstation |
18333/tcp | media/S3 | user workstation |
13000/tcp | Grafana | administrator |
18010/tcp | receiving device events | network of devices or local check of emulators |
PostgreSQL, NATS and internal services are not published externally.
4. Preliminary check of the stand
Run:
uname -m
grep -E '^(NAME|VERSION_ID)=' /etc/os-release
free -h
df -h /opt
timedatectl status
Expected signs:
uname -m: x86_64
VERSION_ID="24.04"
RAM: at least 8 GB
free space: at least 30 GB
5. Receipt of the delivery kit and installation
The delivery set - a signed archive, a public signature verification key and an installation program - is provided by the copyright holder upon request: LLC "KOMPETENTSIA", phone +7 495 532-61-18, address: 115280, Moscow, st. Leninskaya Sloboda, 21, building 1. Installation is performed from the received archive in the order of section 9. Basic installation command (from the catalog of the unpacked kit):
sudo ./install.sh --variant demo
The installer does not prompt for the public address interactively. If the parameter --public-host is not specified, the installer automatically selects the first server IPv4 address from the result hostname -I, excluding addresses 127.x.x.x. If the address could not be determined, the installation stops and prompts you to repeat the command with the parameter --public-host.
If the server has several network interfaces, explicitly specify the IP or DNS name by which the Web interface will be available to users:
sudo ./install.sh --variant demo --public-host 10.20.30.40
Instead of IP, you can pass a DNS name, for example --public-host cshark.example.ru. The value must be accessible from user workstations; it does not have to be an address published on the Internet.
Channel stable Only accepts signed kit. Flag --allow-unsigned-testing not used in standard installation. Parameter --variant demo chosen explicitly because the demo contains a fictitious 50-space parking lot. To install without demo data, use the same command with --variant clean; the set of emulators is preserved.
At runtime the installer:
- checks the OS and AMD64 architecture;
- checks SHA-256 before unpacking;
- installs Docker Engine, Docker Compose v2 and system dependencies;
- rechecks internal checksums;
- downloads local Docker images without accessing an external registry;
- generates unique instance secrets;
- creates separate database roles;
- applies migrations;
- runs application services and observability tools;
- uses a versioned demo seed
2026.07.2; - runs mock APS;
- performs an automatic smoke test with mandatory location checks.
6. Criteria for successful installation
The installation is considered complete if the following conditions are simultaneously met:
- installer exited with code
0; - message displayed
INSTALLATION SUCCESSFUL; - automatic smoke-test issued
SMOKE TEST PASSED; - file created
/opt/cshark-stand/INITIAL-CREDENTIALS.txt; - main profile containers have state
runningorhealthy; - The API returns a sign of readiness;
- The web interface opens from the user's workplace;
- smoke-test detects 50 parking spaces;
- mock APS has state
runningorhealthy.
7. Gaining access
Show primary details:
sudo cat /opt/cshark-stand/INITIAL-CREDENTIALS.txt
Open in browser:
http://<HOST-IP-OR-DNS>:8088
Log in with your primary administrator account. File INITIAL-CREDENTIALS.txt contains the administrator password and Grafana details. Working file /opt/cshark-stand/.env contains generated service secrets and is created with limited access rights.
8. Performance monitoring
Check containers:
sudo docker compose \
--env-file /opt/cshark-stand/.env \
-f /opt/cshark-stand/compose.yml \
--profile obs ps
Check the API:
curl -fsS http://127.0.0.1:8088/api/health
Check access from the user's workstation:
Web interface: http://<HOST-IP-OR-DNS>:8088
Grafana: http://<HOST-IP-OR-DNS>:13000
In the Web interface, the login window, diagram, incidents, log, analytics, live status, equipment, scoreboard and administrative functions should be available in accordance with the rights of the logged in user.
8.1. Expected state demo
- there is one object Demo parking “Northern” without a real address;
- there is one level 1;
- there are zones Blue Sector and Green Sector;
- exactly 50 places with codes have been created
DEMO-01–DEMO-50; - there are places for MGN, EV, moto and service;
- a demonstration camera, three gate devices, a scoreboard and an incident have been created;
- Device Gateway and mock APS work;
- re-running the seed does not create duplicates;
- Real camera footage is not yet available and is added in a separate media package.
9. Installation from the provided kit
Transfer the files provided by the copyright holder to the target server: selected signed archive: cshark-2.0.3-demo-ubuntu-24.04-amd64-offline.tar or cshark-2.0.3-clean-ubuntu-24.04-amd64-offline.tar, as well as a trusted public key to verify the signature.
Before unpacking, check the SHA-256 of the selected archive:
echo 'ccb36a121bf8e1b756f1190f9369e490585082417829458b9bc62108620850c6 cshark-2.0.3-demo-ubuntu-24.04-amd64-offline.tar' | sha256sum -c -
echo 'c6e008d2e97bc8421b6b5e66abca6c861b182f4f19f7e12b3e1dd0db9f80f26b cshark-2.0.3-clean-ubuntu-24.04-amd64-offline.tar' | sha256sum -c -
After successful verification, unpack the selected option:
mkdir -p /srv/cshark-install
tar -xf cshark-2.0.3-demo-ubuntu-24.04-amd64-offline.tar -C /srv/cshark-install
cd /srv/cshark-install/cshark-2.0.3-demo-ubuntu-24.04-amd64-offline
sudo ./install.sh \
--public-host <HOST-IP-OR-DNS> \
--trusted-public-key /path/cshark-release.public.pem
10. Diagnostics
Installation log:
sudo cat /opt/cshark-stand/install.log
Latest container logs:
sudo docker compose \
--env-file /opt/cshark-stand/.env \
-f /opt/cshark-stand/compose.yml \
--profile obs logs --no-color --tail 200
| Message or sign | Action |
|---|---|
command is intended for Ubuntu AMD64 | use Ubuntu 24.04 x86_64; ARM64 is not supported |
insufficient disk space | provide at least 30 GB of free space |
TCP port is already in use | release the port or give the installer another port |
installation directory is not empty | use a clean directory; do not delete data without diagnostics |
unsigned bundle | use a signed stable kit; testing flag is not used |
demo seed failed | save install.log; do not manually create an object of the same name |
Core did not become healthy | save install.log and container logs |
If the installation is unsuccessful, the containers are stopped and the volumes are saved for diagnostic purposes. Re-installation over an existing directory is not performed until the cause is analyzed.
11. System stop
Stop an instance without deleting data:
sudo docker compose \
--env-file /opt/cshark-stand/.env \
-f /opt/cshark-stand/compose.yml \
--profile obs down
12. Installation checklist
- Ubuntu Server 24.04 LTS OS and x86_64 architecture are confirmed.
- The amount of RAM and free disk space meets the requirements.
- The SHA-256 of the provided kit matches the instructions.
- The installer exited with the code
0. - Smoke test passed.
- Primary details have been received.
- API
/api/healthanswers. - The web interface is accessible from the user's workstation.
- Demo parking “Northern” has been created, two zones and exactly 50 spaces.
- Mock APS is running and the change in location status is displayed in the system.
- Confirmed that there were no real frames before connecting the media package.
- Installation logs are saved if there are comments.