Tag:To configure

  • Detailed explanation of flexible configuration in asp.net core

    Time:2021-7-14

    preface Asp.net core supports external files and command-line parameters to configure the configuration information needed by system operation. Let’s talk about the specific usage from the following two common scenarios. 1、 Monitor address and port configuration 1. Command line mode Asp.net core system is started by command line. The commands used are as follows: dotnet […]

  • How to install and configure PHP pthreads V3 on centos7 platform

    Time:2021-6-15

    This paper introduces the installation and configuration of PHP pthreads V3 on centos7 platform. The details are as follows: My CentOS version is 7.4.1708, and PHP version is 7.2.4 (pay attention to thread safe version), as shown in the figure below: First of all, we can download the source code of pthreads from the following […]

  • Function and basic configuration of JSP web.xml file

    Time:2021-6-13

    There can be no web.xml file in a web, that is to say, web.xml file is not necessary for Web engineering. When do we need it and when can we not?To answer the above question, you need to understand what the web. XML file is used for. The web.xml file is used to configure: Welcome […]

  • Python read ini configuration class encapsulation code instance

    Time:2021-6-8

    This article mainly introduces the python read ini configuration class encapsulation code example, the article through the example code is very detailed, for everyone’s study or work has a certain reference learning value, need friends can refer to This is the basic encapsulation, without considering too much exception handling class # coding:utf-8 import configparser import […]

  • Example analysis of the method of configuring Druid data source with springboot

    Time:2021-5-2

    This paper describes the method of configuring the Druid data source with springboot. The details are as follows: Druid is an open source database connection pool of Alibaba. Integration of Druid data source process during development. 1. Modify pom.xml <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.0.26</version> </dependency> Add the above configuration. 2. Edit and […]

  • How to install and configure Atlas

    Time:2021-4-27

    Atlas is the best way to write rich, interactive and personalized web browser applications. Atlas installation and configuration tutorial is coming! Many netizens are not very clear about the installation and configuration of atlas, so how to install and configure atlas? The following is an introduction to you! Atlas installation and configuration tutorial: Atlas is […]

  • HTTP in PHP spool_ Case analysis of server configuration and usage

    Time:2021-4-20

    In this paper, an example is given to show how to use HTTP in PHP spool_ The configuration and usage of server. The details are as follows: A spool is provided for us in spool_ http_ Server class, convenient for us to handle HTTP requests. However, its support for HTTP protocol is not complete, so […]

  • Case analysis of log configuration and usage in yii2 framework

    Time:2021-4-2

    This paper describes the configuration and usage of logs in yii2 framework. The details are as follows: Yii2 provides us with a very convenient log component, which can be used with a simple configuration. What are we doing/ web.php The configuration is as follows: return [ //Log must be loaded during bootstrap to schedule log […]

  • Configuration details of vscode plug-in after installation

    Time:2021-3-12

    After the vscode plug-in is installed, if you want to use some plug-ins completely, you have to settings.json In the line configuration, the next is some of my commonly used configuration { “workbench.iconTheme”: “vscode-icons”, “window.zoomLevel”: 0, “files.autoSave”: “off”, “eslint.runtime”: “”, “editor.codeActionsOnSave”: { “source.fixAll.eslint”: true }, “eslint.codeAction.disableRuleComment”: {}, “eslint.codeAction.showDocumentation”: {}, “editor.formatOnSave”: true, “vetur.completion.scaffoldSnippetSources”: {}, “vetur.format.defaultFormatter.html”: “prettier”, […]

  • Analysis of the process of configuration file placeholder based on springboot

    Time:2021-3-11

    This article mainly introduces the process of parsing the placeholder of the configuration file based on springboot. The sample code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. Friends who need it can refer to it 1、 Profile placeholder 1、application.properties server.port=8088 debug=false product.id=ID:${random.uuid} product.name=da mao mao […]

  • How to install and configure jetty in Linux

    Time:2021-3-2

    Jetty Jetty is an open source companyServlet container, which provides a running environment for Java based web content, such as JSP and servlet. Jetty is written in the Java language, and its API is a set ofJar package. Developers can instantiate jetty container as an object, which can quickly provide network and web connection for […]

  • Log4 net.config Summary of common methods for enabling configuration

    Time:2021-2-26

    In the above, a simple log4 configuration is built, and the log4net configuration is enabled in the actual operation. Here is a summary. Method 1: The code is as follows: class Program { private readonly static ILog log = InitILog(); //private readonly static ILog log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); public static void Main(string[] args) { var gp=log4net.LogManager.GetRepository().Configured; […]