Tag:To configure

  • 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; […]

  • The method of configuring swap area in CentOS

    Time:2021-1-13

    CentOS is the most stable server version in the world of Linux. Rhas5 has always had a wide range of applications. Before, it has always focused on FreeBSD. Because of the needs of applications, especially in conjunction with MySQL and Oracle, red hat has too many advantages. CentOS is used to replace the use of […]

  • Net core webapi multi version control and swagger (nswag) configuration tutorial

    Time:2020-12-23

    preface First of all, we hope that webapi can support multiple versions, and swagger can interact with different versions. Multi version control based on Microsoft.AspNetCore.Mvc . Versioning.ApiExplorer Package, swagger can choose Swashbuckle.AspNetCore and nswag.AspNetCore Because our system uses nswag, we continue to use it, of course Swashbuckle.AspNetCore It’s not bad. I’ll summarize it when I […]

  • Spring cloud application configuration automatic refresh process

    Time:2020-12-22

    This article mainly introduces the spring cloud application configuration automatic refresh process detailed explanation, the article through the example code introduction is very detailed, has the certain reference study value to everybody’s study or the work, needs the friend may refer to Through the message bus of spring cloud, the change of configuring GitHub and […]

  • Installation and configuration of Nagios under Linux

    Time:2020-12-19

    1、 Introduction to Nagios Nagios is an open source computer system and network monitoring tool, which can effectively monitor the host status of windows, Linux and UNIX, network settings such as switches, routers, printers, etc. When the system or service status is abnormal, send e-mail or SMS alarm to the website operation and maintenance personnel […]

  • Installation, configuration and uninstall of MySQL 8.0 in Windows Environment

    Time:2020-11-30

    Software version Windows:Windows10 MySQL:mysql-8.0.17-winx64.zip Installation procedure 1. Configure environment variables name:Path value:C:\Program Files\MySQL\mysql-8.0.17-winx64\bin 2. New my.ini file File location: C: program files / MySQL / mysql-8.0.17-winx64\ my.ini(this is my installation directory. You can modify it according to your actual installation path.) [mysqld] #Port number (default: 3306) port=3306 #Set MySQL installation directory basedir=C:\Program Files\MySQL\mysql-8.0.17-winx64 #Set the […]

  • Installation and simple configuration of MySQL 8.0.17 under MacOS

    Time:2020-11-29

    If I write this article you can’t understand, there may be no online tutorial you can understand Although this article is for version 8.0. X, there are still general methods for MySQL configuration Environmental information and scope of application# environmental information Environment / software edition macOS macOS Mojave MySQL MySQL 8.0.17 Scope of application Environment […]