Tag:environment variable

  • Golang implements SSH public key login


    I have a requirement to implement SSH and use public key to log in without secret. I checked a lot of information on the Internet, but I didn’t find the implementation in this regard, so I recorded it.Available onlineSSH_AUTH_SOCKThe method of environment variable is implemented, but thisSSH_AUTH_SOCKEnvironment variables need helpssh-agentCommand to generate. Second, the code […]

  • Linux kernel porting


    Migration target 1. Obtain the Linux kernel source code;2. Modify the kernel so that the root file system rootfs can be mounted correctly (i.e. select the file system format supported by the kernel);3. Modify the driver and cut the kernel;4 compile and generate uimage and download experience. Setting environment variables Before configuring or compiling the […]

  • Download and use pyteseract (history of blood and tears, pit!)


    Tesseract is an OCR recognition library of Python Before using pytesserac, we need to download tesseracDownload address:https://digi.bib.uni-mannheim.de/tesseract/The process can be quite slow. After downloading, add the testsdata folder in the Tesseract OCR folder to the system environment variable. a key Like aboveVariable name: tessdata_ PREFIXVariable value: tessdata folder path Then download pytesseract in pycharmpip install […]

  • CentOS 8.0 compiles and installs the latest stable version of nginx


    Nginx has three version modes. For details, please visit my previous blog,https://blog.csdn.net/qq_41684621/article/details/101900843 The following describes how I installed the latest stable version of nginx1.161, which is the latest stable version so far In fact, there are a lot of tutorials on installing nginx on the Internet before installation, but they are too cumbersome for Xiaobai […]

  • Portal


    The configuration method of aspnet core multi environment is based on the startup class. WebBuilder. Usestartup() / / explicitly register and target startup.cs webBuilder.UseStartup(Assembly.GetExecutingAssembly().FullName); // Multi environment writing method: select the class based on the agreed name according to the environment variables There are two other methods, which are not described in detail here. It […]

  • Django 1.8 official document translation: 6-1-1 Django settings


    Django settings Django’s settings file contains all the configurations of Django you installed. This page explains how the settings work and what they are. Basics The settings file is just a python module with module level variables. Here are some sample settings: ALLOWED_HOSTS = [‘www.example.com’] DEBUG = False DEFAULT_FROM_EMAIL = ‘[email protected]’ notes If you setDEBUGbyFalse, […]

  • Go quick start 01 | basic introduction: write the first go language program


    Hello, Golang If you have studied C, you should not be unfamiliar with this classic example. Through it, you can roughly understand some core concepts of go language, so that you can have an overall impression of go language code. As follows:main.go package main import “fmt” func main() { fmt.Println(“Hello, Golang”) } These five lines […]

  • cc1.exe: sorry, unimplemented: 64-bit mode not compiled in


    Problem Description:GCC version error causes go get to fail to compile successfully cc1.exe: sorry, unimplemented: 64-bit mode not compiled in resolvent:Download the correct version and set the path environment variable. You only want to download the bin directory of the file (if you use Golan to develop, you need to restart Golan. Golan is responsible […]

  • Package the electronic application as a Windows Installer


    This article will briefly describe how to package the electron application as a Windows Installer. Prepare in advance Node environment Install Wix (tool packaged as MSI installer):https://wixtoolset.org/, after installation, add the bin folder of Wix to the path environment variable. for exampleC:\Program Files (x86)\WiX Toolset v3.11\bin\。 Open CMD and entercandleCheck whether Wix is added to […]

  • MySQL | Part 2 – download, installation and configuration of MySQL


    Environmental description: WIndows 10 mysql 8.0 Download MySQL Mode 1 Official website address:Portal|Direct interface:Portal Tutorials using this interface:Portal Mode 2 Baidu cloud disk download address 1:download; Extraction code: oj8n | Baidu cloud disk download address 2:download; Extraction code: e39z course:Portal MySQL can be downloaded from this network diskMSI installation package Configure MySQL Global environment variable […]

  • Basic introduction and use of docker


    Series articles: LNMP environment installation Basic introduction and use of docker Related websites Docker official website Docker hub official website: Technical documentation All case warehouses in this paper Install docker Install according to the specific environment Mirror accelerator Docker introduction Why use docker More efficient use of system resources Faster startup time Consistent operating environment […]

  • Java from scratch (1) installing Java on Windows


    Installing Java on Windows In this section, we will introduce how to install Java on the windows platform. As Microsoft has officially terminated its support for win7 operating system, as programmers in the new era, we use win10 operating system for installation demonstration. If you want to install Java on another platform, please check the […]