Build your own go program into a high-availability system based on the etcdserver package (Part 1) Background Each of our system developers hopes that their programs will never go down, and high availability is the goal of many systems. So how do we transform our system into a highly available system? With this question in […]
Tag: build
Create a Docker image through Dockerfile, then build a Harbor warehouse and upload the image.
1. Create Docker image 1.1. First edit the dockerfile file Note: It is best to create a separate empty directory during the image making process, and then enter this empty directory to complete the image making process. This can prevent other unnecessary files from being packaged into the image. I created a new data directory […]
Prometheus Grafana build
1. Introduction to prometheus Prometheus is an open source monitoring software developed by Google. It collects data from the remote machine through the HTTP protocol through the exporter installed on the remote machine and stores it in a local time series database. At the same time, the backend of Prometheus is developed in golang language, […]
Project practice – pytorch builds CNN to process MNIST data set
Project folder introduction project folder The CNN_MNIST_practice folder is the folder of the entire project, which contains six subfolders and four .py programs. Next, we will introduce the contents of these files separately. Among them, minist_all_CPU.py is the CPU version of the model training + testing program, and minist_all_GPU.py is the GPU version of the […]
Quickly build gateway, dynamic routing, and authentication processes
Foreword This article records how I use Gateway to build gateway services and implement dynamic routing, to help everyone learn how to quickly build a gateway service, understand routing-related configurations, authentication processes and business processing. If you are interested, you must read to the end. It is very suitable. This is an introductory tutorial for […]
Use Inno Setup to automatically build the installation package when VS compiles
This article was contributed by a netizen. .NET is free, open source, and cross-platform. Author: Pride and Prejudice Original title: Use Inno Setup to automatically build the installation package when VS is compiled Original link: https://www.cnblogs.com/chonglu/p/17566940.html Netizens are welcome to submit technical articles. There is no limit on the subject. There is no contribution fee… […]
DockerUbuntu20.04 X86 machine builds NVIDIA ARM64 TX2 Docker image
Article directory 1. Set ubuntu as Tsinghua source 1.1 Back up source files 1.2 Replace Tsinghua Source 1.3 Update Tsinghua Source 2. Ubuntu Docker installation 3. Install qemu 4. Install Nvidia TX2 Docker image 5. How to use TX2 container 6. References 1. Set ubuntu as Tsinghua source In order to download and install software […]
MySQL builds a master-slave replication cluster to achieve read-write separation
Table of Contents 1. Preparation 2. Configuration 2.1 Configure the main library Modify the configuration file /etc/my.cnf Restart service Create another account for the main library and authorize it View status 2.2 Configure the slave library Modify the configuration file /etc/my.cnf Restart mysql service Configure the hosts that need to be synchronized Start salve synchronization […]
Linux service uses Pagoda panel to build a website and publish public network access
Article directory Preface 1. Environment installation 2. Install cpolar intranet penetration 3. Intranet penetration 4. Fixed http address 5. Configure the second-level subdomain name 6. Create a test page Foreword As a simple and easy-to-use server operation and maintenance management panel, Pagoda Panel supports Linux/Windows systems. We can use it to configure LAMP/LNMP environments, websites, […]
Use the Pagoda panel to build a website on Linux and easily access the public network through intranet penetration
Article directory Preface 1. Environment installation 2. Install cpolar intranet penetration 3. Intranet penetration 4. Fixed http address 5. Configure the second-level subdomain name 6. Create a test page Foreword As a simple and easy-to-use server operation and maintenance management panel, Pagoda Panel supports Linux/Windows systems. We can use it to configure LAMP/LNMP environments, websites, […]