Data visualization part 9: windows install davinci

1. First install mysql (windows install mysql, there are too many online, I won’t take the picture above)

image.png

image.png

image.png

image.png


New system variable, MYSQL_HOME variable value: mysql installation directory (for example, installed in D:\mysql)

image.png

Add %MYSQL_HOME%\bin to Path

image.png

image.png

image.png

Login to mysql

mysql -P 3306 -h localhost -u root -p123456

Execute command (create database davinci3)

create database davinci3;

2. Unzip davinci-assembly_3.0.1-0.3.1-SNAPSHOT-dist-beta.9.zip to Disk D and rename it to davinci

3. Under the cmd command line, run: mysql -P 3306 -h localhost -u root -p123456 davinci3 <D:\davinci\bin\davinci.sql

4. Configure the global environment

 DAVINCI3_HOME, corresponding to the decompression path D:\davinci of the Davinci project 

image.png

 Add %DAVINCI3_HOME%\bin to Path

image.png

5. Modify D:\davinci\config, remove the suffix example of application.yml.example, and edit

(5.1)

server:

protocol: http

address: 192.168.8.102

port: 8080

(5.2)

## davinci datasouce config

datasource:

url: jdbc:mysql://localhost:3306/davinci3?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQuerie

s=true

username: root

password: 000000

[Note: The library name is: davinci3]

(5.3)

mail:

host: smtp.163.com

port: 25

username: [email protected]

fromAddress:

password: TNRTLLDMVMMPTOJW

nickname: Davinci

6. Start the project

cmd run command

image.png

image.png

7. In the browser, enter http://192.168.8.102:8080/ to display the login page, which means the service started successfully

image.png


Guess you like

Origin blog.51cto.com/51power/2539787