In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you a sample analysis of the deployment tool deloy-tool, which is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Introduction to deployment tools
For product deployment, especially for project-based products privatized deployment in the customer environment, if you deploy manually, you need to package your own products, configuration procedures, and installation environment. Relatively speaking, the deployment process is complex, the configuration file is tedious, and the configuration is prone to errors. The main purpose of the deployment tool is to solidify the original manual deployment process, and to provide simplified and unified configuration items, which can be deployed automatically by product, environment and module. This deployment tool is mainly used to help product implementers deploy application products in a faster, better and more organized manner.
User-oriented
The main purpose of using deployment tools is to solidify the original manual deployment process, and to provide simplified and unified configuration items, which can be deployed automatically by product, environment and module. The main objects for which are:
Product publishers: manage product versions, manage product distribution, and modify deployment tool environment, process, and configuration items according to circumstances.
Product deployment personnel: internal product deployment, testing.
Project implementation personnel: project implementation deployment.
Functional characteristics
The deployment tool mainly has the following functions:
Solidification deployment process: each product deployment process is different, what environment to deploy, what modules the product contains, and what the installation order of each module is, are set and solidified in the deployment tool for deployment implementation personnel to use.
Provide simplified and unified configuration items: in a set of products, the items that need to be configured can be concentrated in a unified and simplified configuration file, and the configuration of each module in the product that needs to be modified can be read and replaced in this file.
Operate by product, environment and module: the environment and product module that need to be installed can be customized and displayed and run in the command line interface of the deployment.
Supports running and deployment under windows and linux.
Provide shell/bat execution function: you can customize the deployment script and run it in the deployment tool.
Provide database script execution function: including data CURD operation.
Provide ssl certificate generation function: you can self-sign the certificates needed by https.
Provide profile replacement function: you can replace by template / partial search by xml / properties file key matching replacement.
Provide the function of generating QR code: the QR code can be generated according to the parameters.
Provide dynamic configuration item function: some configurations need to be calculated or transformed according to the existing configuration.
View the contents of the unified profile.
Online documentation
Online help documentation
Linux uses the sample extraction code: l8qu. The help document readme.txt is included in the compression package. Just follow the instructions inside.
Windows uses the sample extraction code: kohq. The help document readme.txt is included in the compression package. Just follow the instructions inside.
Quick use
Download the code to local
Use idea or eclipse to bring in the project, and use mvn cleanpackage to package
The packaged deploy-tool.jar is the deployment tool.
The above is a sample analysis of the deployment tool deloy-tool. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.