Tag:configuration file

  • Openstack – cloud platform deployment

    Time:2022-1-5

    1、 Configure network get ready:Install two minimized centos7 2, add two network cards, host only mode and NAT mode, and set the computing node to 4G running memory and 50g hard disk 1. Control node – configure network The first network card of the control node is configured as 192.168.100.10The second network card of the […]

  • How to build a node server image?

    Time:2022-1-5

    First, docker the node server and directly add dockerfile to the project.The configuration file of nginx is as follows server { listen 80; server_name example.org; server_tokens off; location /.well-known/acme-challenge/ { root /var/www/certbot; } location / { return 301 } }server { listen 443 ssl; server_name example.org; server_tokens off; ssl_certificate /etc/letsencrypt/live/example.org/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/example.org/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam […]

  • Using tailwindcss in Vue

    Time:2022-1-5

    tailwindcss A good CSS plug-in. Please follow this ruleedition! Otherwise, an error will be prompted Step 1: create Vue vue create tailwind Step 2: enter the root directory cd tailwind Step 3: install tailwind cnpm i [email protected] -S Step 4: install the configuration file Will generate atailwind.config.jsnpx tailwind init –full Step 5: create postcss config. […]

  • Linux sends syslog logs and kiwi syslog manager receives logs

    Time:2022-1-4

    ##Send syslog logThe Linux system needs to be configured first. The steps of Linux setting are as follows:1. Log in to Linux as root.2. Edit the start UDP module and remove the comment # VI / etc / rsyslog. In the following two lines conf$ModLoad imudp$UDPServerRun 5143. In rsyslog Add a new line *. At […]

  • Part 47: basic use of webpack (1)

    Time:2022-1-4

    good heavens, 1. Basic use of webpack Write an example: implement a color changing list of parity rows The steps are as follows: ① Create a new project blank directory and run the NPM init-y command to initialize the package management configuration file package json② New SRC source directory③ New SRC – > index HTML […]

  • Viper parsing & loading configuration

    Time:2022-1-4

    Viper parsing & loading configuration 1. What is Viper Viper is a library that facilitates go language applications to process configuration information. It can handle configurations in a variety of formats. Features it supports: Set defaults Read configuration data from JSON, toml, yaml, HCl, and Java properties files You can monitor the changes of the […]

  • Turn the program into a system service

    Time:2022-1-4

    When writing programs, you will inevitably encounter the need to make system services. Windows write down system services need to implement some specific interfaces, which is difficult to do, so many programs adopt a similar alternative – to make desktop applications with system taskbar icons. However, the reason why a service is a service is […]

  • Mybatis springboot integration source code analysis – springboot actual e-commerce project mall4j

    Time:2022-1-3

    Springboot e-commerce project mall4j( https://gitee.com/gz-yami/mall4j ) Java open source mall system Code version <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.2.0</version> </dependency> Since it is a spring boot, there are three places to start if you want to know how to run it xxxAutoConfiguration Configuration file corresponding to YML(xxxProperties) Notes for configuration Let’s look at three classes first 1. […]

  • Kubernetes cluster management tool K9s

    Time:2022-1-3

    Generally, after deploying k8s clusters, we either use kubectl command for cluster management or use bashroad’s UI management interface to manage clusters. Recently, we found a terminal based and easy-to-use project that allows us to quickly view, navigate, observe and solve some problems in our daily use of kubernetes. This is the K9s project (some […]

  • Based on thinkphp5 0 + a chat demo written by gatewayworker

    Time:2022-1-2

    Series articles: Based on thinkphp5 0 + a chat demo written by gatewayworker PHP generates Kawaii random Avatar Laravel + querylist crawler major wallpaper websites to create their own wallpaper websites A demo written when learning workerman a long time ago, some basic social functions (private chat, group chat, message prompt, badge, etc.). Today, I […]

  • [springboot mybatis series] mappermapper interface and SQL bind several postures

    Time:2022-1-2

    [DB series] the mapper interface of the spring boot series mybatis binds several postures to SQL Usually when we use Mybatis to develop, we will choose XML file to write corresponding SQL, then establish the binding relation between Mapper interface and XML file of SQL, then we can execute SQL by calling mapper interface in […]

  • 110_ SSM framework

    Time:2022-1-2

    catalogue Demand analysis – > function design – > database design Environmental requirements environment requirement Database environment Basic environment construction Create Maven project pom. XML add dependency, add resource export Idea connection database Submit project to Git Create base package create profile db.properties mybatis-config.xml applicationContext.xml Create entity class Create mapper interface and mapper xml Register […]