0% found this document useful (0 votes)
45 views14 pages

DSNAP Intelligent Lock System Deployment Manual

Uploaded by

naveen204
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views14 pages

DSNAP Intelligent Lock System Deployment Manual

Uploaded by

naveen204
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

DSNAP Intelligent lock system

Deployment Manual

Version 2.1

Suzhou DSNAP Technology Co.


Document Change Log
serial releases Contents of the Date of producer production auditor Audit ratifiers Approval
number modification change time time time
1 1.0 Shawn 2021-7-6

2 2.0 Deployment Shawn 2021-7-14

method

3 2.1 Document Shawn 2021-10-11

Correction
DSNAP Intelligent Lock System

Catalogs
1 Production Environment Introduction ...................................................................................... 2
1.1 Recommended Configuration ....................................................................................... 2
1.2 Logical Deployment Diagram ........................................................................................ 2
1.3 Installation Plans ........................................................................................................... 4
2 Production Environment Installation Instruction ................................................................ 5
2.1 Environment Installation Instruction............................................................................. 5
2.2 Environment Installation Instruction............................................................................. 8
2.2.1 Nginx ................................................................................................................ 8
2.2.2 Nacos ............................................................................................................... 8
2.2.3 JDK ................................................................................................................... 9
2.2.4 MySQL ............................................................................................................. 9
2.2.5 Redis .............................................................................................................. 10

1
DSNAP Intelligent Lock System

1 Production Environment Introduction

1.1 Recommended Configuration

server system:Windows server 2019


Software and Versions:Nginx 1.20.0
Redis 3.0.504
Nacos 1.4.2
Mysql 5.7.24
Jdk 8u211

1.2 Logical Deployment Diagram

[Purpose of this section: Logical deployment diagram show how the system
application is deployed into production environment. Refer to the simple below]

System Topology

2
DSNAP Intelligent Lock System

System Architecture Diagram

3
DSNAP Intelligent Lock System

1.3 Installation Plans

Programs plan1 plan2


module local server local service cloud server
(in software)
lock Connect to lock Connect to lock not connect to lock
Redis √ √
Nginx √ √
Nacos √ √
MySQL √ √
Jar 1、java -jar dsn-api-gateway-2.0- java -jar dsn-socket- 1、java -jar dsn-api-
SNAPSHOT.jar provider-2.0- gateway-2.0-

2、java -jar dsn-app-provider-2.0- SNAPSHOT.jar SNAPSHOT.jar


SNAPSHOT 2、java -jar dsn-app-
3、java -jar dsn-back-provider-2.0- provider-2.0-SNAPSHOT
SNAPSHOT.jar 3、java -jar dsn-back-
4、java -jar dsn-attend-provider-2.0- provider-2.0-
SNAPSHOT.jar SNAPSHOT.jar

5、java -jar dsn-socket-provider-2.0- 4、java -jar dsn-attend-


SNAPSHOT.jar provider-2.0-
SNAPSHOT.jar

Please choose the deployment method according to the security and existing server
situation.
If all of them are deployed in the company's internal network, it is recommended to
choose Option 1; if the company has cloud servers and does not need to be strictly
deployed in the internal network, it is recommended to choose Option 2.
Note that when deployed in the internal network, the app cannot use 4G/5G signal
to control the device!

4
DSNAP Intelligent Lock System

2 Production Environment Installation Instruction

[Provide the detailed instruction for installing and configuring database and software
on servers of production environment. The whole production environment should be
built according to this instruction, and using screenshots to instruct installing and
configuring process is a better way.]
Attention please, turn off the firewall or allow the application to pass through the
firewall before installation.

2.1 Environment Installation Instruction

Run "Env-Install.exe" as administrator, click "install" to complete the installation.。

5
DSNAP Intelligent Lock System

6
DSNAP Intelligent Lock System

7
DSNAP Intelligent Lock System

2.2 Environment Installation Instruction

2.2.1 Nginx

Browser login URL "localhost" can see the following page, that is, the installation is
successful.

If the startup fails, find the installation directory "C:\Env-Install\nginx-1.18.0" folder


and click "start-nginx.bat".

2.2.2 Nacos

Browser login URL "http://localhost:8848/nacos/" can see the following page, that is,
the installation is successful.

If it fails to start, locate the folder "C:\Env-Install\nacos\bin" in the installation


directory and click "start-nacos.bat".

8
DSNAP Intelligent Lock System

2.2.3 JDK

Shortcut key "Win+R", then type "cmd", Enter to open the cmd command line
interface. In the command line interface, type "java -version", the following version
information is displayed, that is, the installation is successful.

2.2.4 MySQL

Shortcut key "Win+R", then type "cmd", Enter to open the cmd command line
interface. In the command line interface, enter the "C:\Env-Install\mysql-5.7.34-
winx64\bin" folder in the installation directory, enter mysql --version, and the
following version information will be displayed, i.e., the installation was successful.

9
DSNAP Intelligent Lock System

2.2.5 Redis

Under the installation directory, find the "C:\Env-Install\redis-x64-3.0.504" folder, as


an administrator, click on the "redis-cli.exe", you can enter it normally, that is, the
installation is successful.

If the startup fails, find the installation directory "C:\Env-Install\redis-x64-3.0.504"


folder and click "start-redis.bat".

3 Application Deployment Instruction


[Purpose of this chapter: This chapter guides how to configure the production
environment before the application deployment, and using screenshots to instruct
configuring process is a better way]
.
Run "DSN.exe" as administrator, click "install" to complete the installation.

10
DSNAP Intelligent Lock System

11
DSNAP Intelligent Lock System

Enter the URL "http://localhost/login.html" in your browser to log into the system.
Default password: 18888888888/123456.
If the system has not yet been activated, please contact your salesperson for the
activation code.

If you are updating your domain name, please contact your technical service staff to
configure it.

12

You might also like