当前位置:网站首页>Data visualization application installation and deployment | common problems tutorial using datart installation package and source code deployment
Data visualization application installation and deployment | common problems tutorial using datart installation package and source code deployment
2022-07-21 23:24:00 【running_ elephant】
Hello everyone , I am a smart and positive little elephant .
lately , Some users have received datart Comments or feedback from the team , That is, they encounter some problems in the process of installation and deployment , I don't know how to solve .
Trot elephant by analyzing these problems , Sort out a set of tutorials on common deployment problems , I hope to help more users quickly deploy and install , Little detours .
Let's introduce , Data visualization applications datart, Its own team is made up of DBus、Wormhole、Moonbox、Davinci And other four major open source projects , Research and development on the basic platform 、 Data center construction and data application , Toto big brother .
datart It's open source. , That is, a free data visualization application , Search the running elephant if necessary ( official account ), Focus on finding Xiaobian , You can use it for free , With technical support , Open source data visualization application that Xiaobai can use .
Okay , Get down to business
datart often ⻅ There are two types of deployment problems : Using the installation package to deploy and using the source code to deploy .
send ⽤ Installation package deployment routine ⻅ problem
1. Why are you configuring ⽂ In the process ⾏ 了 mail Part of the configuration , Still hint “ The mail sending service cannot ⽤, Check config/application- config.yml, Make sure the mail configuration is correct ”?
Check application-config.yml in email Indentation of the property configuration section ,mail I want to go with you ⾯ Of datasource Yes ⻬, And mail Next ⾯ Of ⼦ Attributes should be strictly indented .
2. Mail is configured correctly , There is no prompt when sending “ Check config/application-config.yml” Etc ,⽽ Failed to send the email , Console printing error ⽇ Records .
This is the configuration ⽂ The file format is correct , But the configuration content is wrong . There may be the following ⼏ Class often ⻅ reason :
- SSL problem
ssl Need mail service ⽀ It can only be set to... If it is held true, Otherwise set to false. On or off ssl when , Corresponding end ⼝ Different numbers ( reference http://running-elephant.gitee.io/datart-docs/docs/#3-3-%E9%82%AE%E4%BB%B6%E6%9C%8D%E5%8A%A1%E9%85%8D%E7%BD%AE-
%E5%8F%AF%E9%80%89) - password problem
password Is the mailbox service password , It should be noted that often ⻅ Free mailbox ( Such as 163 mailbox 、QQ mailbox 、gmail etc. ) this ⾥ It should be filled in ⽴ password , You can go to the corresponding email account settings ⻚⾯ Turn on SMTP service , And apply for client authorization code ( Or alone ⽴ password , The name of each email provider is different ).
3. Should be ⽤ Inner middle ⽂ It's a mess
stay application-config.yml in , Add... To the connection string of the database characterEncoding=utf-8
4. server.address And datart.server.adddress difference
server.address yes ⽤ At the specified time ⽤ The binding of IP Address , This IP The address must be ⽤ Deploy one of the servers ⼀ individual ⽹ Card IP Address ; If you want to bind to all ⽹ card , Then fill in 0.0.0.0 datart.server.address yes ⽤ For configuring external access datart Request address at , Such as http://192.168.0.10:8080; send out
⽤ User activation / When inviting mail , The link in the email is http://192.168.0.10:8080/xxxxx
5. How to make ⽤ docker Deploy
Sure ⽤ Install the Dockerfile Build... Locally docker Mirror image
⾸ First install the package root ⽬ Recording and holding ⾏ The following command
After the image is built , stay config ⽬ Record the modified configuration ⽂ Pieces of , Then transport ⾏ The following command
6. Mail can not be configured ?
Sure , stay config/application-config.yml in , Set up datart.user.active.send-mail by false, stay ⽤ When registering , Will skip the mail authentication step . At this time, the organization invites ⽤ Household time , You need to uncheck the email confirmation ; And the mail sending function in the scheduled task is not available ⽤.
7. Default ⽤ What is the account name and password
datart There is no default ⽤ Household , After installation ⾃⾏ register
8. How to upgrade the installation package
Upgrade time ,⼀ Be sure to unzip the installation package to ⼀ A new path , Cannot directly cover the original ⽂ Pieces of . Then put the old item ⽬ Of config ⽂ Clip and files ⽂ Copy the clip to the new installation path .
send ⽤ Common source code deployment ⻅ problem
1. What are the deployment steps
- Prepare the environment :JDK1.8 above ,Maven The latest version ,Mysql5.6 above ,NodeJS Environmental Science 12.20.0 above ,Datart The latest version of the source code
- hold bin/datart.sql guide ⼊ database , And configuration config/application-config.yml ⽂ Pieces of
- In ⽬ root ⽬ Record the record ⾏ mvn compile, Meeting ⾃ Automatically download the front and back-end dependencies and compile the front and back-end code ,⽣ Project completion ⽬ what is needed ⽂ Pieces of
- shipment ⾏ datart.DatartServerApplication, Start should ⽤, You can access it in the browser http://127.0.0.1:8080
2. datart.data.provider.calcite.parser.impl.SqlParserImpl Can't find
This ⽂ The file is compiled ⽣ Yes , In ⽬ root ⽬ Record the record ⾏ mvn compile Meeting ⾃ dynamic ⽣ become . Don't lead ⽤org.apache.calcite.sql.parser.impl.SqlParserImpl
3. parser.js Can't find
This ⽂ The file is compiled from the front end ⽣ Yes , In ⽬ root ⽬ Record the record ⾏ mvn compile Meeting ⾃ dynamic ⽣ become
The above is the installation and deployment tutorial sorted out by the trot elephant , If you guys think it's useful , Remember to like 、 Focus on 、 Forward triplicate ~
You can also join our open source community directly
边栏推荐
- [untitled] hcip first day notes
- OSPF routing feedback and strategy
- mysql delete大量数据表锁死,kill的线程后线程处于killed状态问题解决
- NAT的动作原理
- Hcip day 4
- HCIP day1
- The use of print and the exchange of two numbers
- Comprehensive experiment of RIP
- Mongodb complex query instance (nested multiple arrays and regular expressions)
- MapReduce thought understanding
猜你喜欢
HCIP第七天
AGV调试随手记(一)——型号:MIR250
实验1-黑盒测试-软件质量保障与测试
HCIP 第十一天
四台交换机2台pc实现全网可达
About AssetBundle resource management and hot update on hololens2 (personal hololens2 advanced development summary III)
Basic introduction of network security
Comprehensive experiment of RIP
当UDP协议客户端给TCP协议服务器发数据会发生什么
Visualstudio2019 configuring point cloud library pcl1.11.1+ Stanford rabbit test
随机推荐
Hcip:ospf section 1
HCIP第九天
Watermelon book chapter 2 - Comparative Test
The principle, main technology, deployment, advantages and disadvantages of firewall
OSPF -- Open Shortest Path First Protocol
HCIP第二天综合实验
HCIA_ OSPF experiment
HCIP第四天
Mongodb replaces some contents of a field
第三天 网络类型
HCIP day1
MGRE experiment
Database beginner's notes
Experiment 1 - black box testing - software quality assurance and testing
【 信息搜集的内容,信息搜集的方法,信息搜集的工具,信息搜集结果的利用等】
Hcip day 10
Hcip day 11
Hcip day 8
MGRE experiment based on OSPF
基于OSPF的MGRE实验