Introduction to Django add, delete, modify and query in CMDB system

Introduction to Django CMDB system Preface Author: he Quan, github address: https://github.com/hequan2017 QQ communication group: 620176501 Through this tutorial, you can start from scratch and write a simple CMDB system independently. At present, there are two main development methods: mvc and mvvc. This tutorial is in mvc mode, that is, ...

Posted on Sat, 02 Nov 2019 23:32:39 -0400 by vampke

The life cycle of spring beans

Learn the main framework of spring source code, and develop and learn the life cycle of spring beans from the perspective of source code. spring create bean method org.springframework.beans.factory.support.AbstractBeanFactory#getBean(java.lang.String, java.lang.Class) public <T> T getBean(String name, Class<T> requiredType) throws B ...

Posted on Sat, 02 Nov 2019 22:26:20 -0400 by Seitan

An article familiar with docker command line

Docker introduction Docker container technology was launched as an open source docker engine in 2013. It is an open source application container engine based on Go language and Apache 2.0 protocol. A light virtualization technology based on the built-in system isolation mechanism such as Namespace and CGroup in Linux. Why Docker l faster deli ...

Posted on Sat, 02 Nov 2019 20:41:23 -0400 by ghqwerty

[CentOS 7LNMP architecture 19], LNMP introduction and mysql installation in LNMP#

shallow A kind of ove LNMP architecture introduction Unlike LAMP, Nginx provides web Services And php exists as an independent service, which is called php FPM. Nginx processes static requests directly, and dynamic requests are forwarded to PHP FPM Install mysql Delete mysql [root@localhost ~]# ps aux | grep mysql root 3059 0.0 0.0 ...

Posted on Sat, 02 Nov 2019 15:31:52 -0400 by expertis

Building key pair in Linux server and client for remote connection

The basic process of building key pair to verify SSH system includes four steps: SSH client: 192.168.1.1SSH server: 192.168.1.2 1. Create a key pair on the client: [root@localhost /]# ssh-keygen -t ecdsa # "- t" is used to specify the encryption algorithm. ecdsa is used here, and another is dsa. Generating public/private e ...

Posted on Sat, 02 Nov 2019 13:35:06 -0400 by amedhussaini

Theory + practice: LVM and disk quota

[TOC] Preface: LVM is the abbreviation of logical volume management. It is a mechanism of partition management in Linux environment. It realizes the file system to span different disks and partitions. Its working principle is to connect several disk partitions into a whole volume group, create the logical volume group on the volume group at wi ...

Posted on Sat, 02 Nov 2019 12:39:25 -0400 by millwardt

Data cleaning of zabbix database

backgroundBecause the historical data of zabbix is too large, it takes up too much disk space, so it needs to clean up the data and free up space. 1. Check the space occupied by the table SELECT table_name AS "Tables", round(((data_length + index_length) / 1024 / 1024), 2) "Size in MB" FROM information_schema.TABLES WHERE table_schema = 'zabbi ...

Posted on Sat, 02 Nov 2019 12:35:39 -0400 by vince81

zabbix4.0 monitoring redis status

Get ready First, prepare two servers. ZABBIX sever and ZABBIX agent have been deployed The server ip system zabbix-server 192.168.1.70 centos7.2 zabbix-agent 192.168.1.70 centos7.2 ZABBIX agent installation deployment redis The deployment process of redis will not be introduced. Baidu has a lot of After ...

Posted on Sat, 02 Nov 2019 11:18:26 -0400 by penkomitev

Introduction and simple use of Docker

Preface: Docker is an open source application container engine, which allows developers to package their applications and dependencies into a portable image, and then publish them to any popular Linux or Windows machine. In recent years, docker has developed in full swing in China, especially in Internet companies. Docker is widely used, which ...

Posted on Sat, 02 Nov 2019 07:49:09 -0400 by jkkenzie

Automatic backup of mysql under freebsd

Communication is very important, the channel of communication is very important. When the team needs to cooperate, it is necessary to find ways to inform other members of the team in the most effective way of what it is doing to avoid unnecessary harm. For example, the following has just happened:There is a test system. The historical task is t ...

Posted on Sat, 02 Nov 2019 07:22:17 -0400 by amyhughes