• Ogg installation configuration of Oracle 12.2 RAC (2)


    Native to native configuration: Source: / Sibp? Gsdy? Hnsib? GsdyTarget < / Sibp < GS < hnsib < GSProcess name planning: obb05 Source extraction process and file prefix: BG01 dy dy Target recovery process: obr01 //Environment variable settings#for oggexport GG_HOME=/ogg/data export PATH=$JAVA_HOME/bin:$GG_HOME:$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GG_HOME:$ORACLE_HOME/lib:/lib:/usr/lib export NLS_LANG=”american_america.ZHS16GBK” alias ggsci=’cd $GG_HOME; $GG_HOME/ggsci’ alias gglog=’cd $GG_HOME;tail […]

  • Installation and deployment of nuxt project in Windows Environment


    1. Nodejs installation, addresshttps://nodejs.org/en/ 2. Run the NPM run build command in the local project to package the developed project into a. Nuxt folder, and then copy the four files: the. Nuxt folder, nuxt.config.js, static folder, and package.json (if there is a folder created by yourself), to the project folder of the server 3. Run […]

  • Learn JVM configuration parameters and tool usage


    After the previous analysis, we know a lot about the JVM, such as version information, class loading, heap, method area, garbage collection, etc., but we always feel insecure because we don’t see some actual things. So in this article, let’s have a good chat about how to display these contents directly in front of us, […]

  • command


    System environment and architecture #Host name system version MySQL version IP addressmysqlMaster <a href=”https://www.linuxprobe.com/” title=”centos” target=”_blank”>centos</a>7.4 mysql5.7 mysqlSlave centos7.4 mysql5.7 #vip: Install database on master and slave respectively yum install epel* -y && yum clean all && yum makecache rpm -Uvh http://repo.mysql.com/mysql57-community-release-el7.rpm yum clean all && yum makecache yum install gcc gcc-c++ openssl-devel […]

  • The fastest way to handle large files in Python


    There are about 500GB of images in the various catalogs we need to work with.Each image is about 4MB in size, and we have a python script that processes one image at a time (it reads the metadata and stores it in the database).Depending on the size, each directory may take 1-4 hours to process. […]

  • This time, really understand the process and thread


    Introduction As a software engineer, process and thread should be our necessary knowledge, which can be seen from the interview questions of major enterprises every year! The difference between process and thread This semester, I learned the course of operating system, and the biggest achievement is that I learned the “must test”. At the beginning, […]

  • MySQL forgets password resolution


    1. Set the administrator root password to 123 After opening MySQL service PS C:\WINDOWS\system32> mysqladmin -uroot -p password “123” Enter password: mysqladmin: [Warning] Using a password on the command line interface can be insecure. Warning: Since password will be sent to server in plain text, use ssl connection to ensure password safety. #Enter directly, ignore […]

  • What is the persistence mechanism of redis? Their advantages and disadvantages?


    Redis provides two persistence mechanisms: RDB and AOF 1. Rdbradis database) persistence mode: refers to the semi persistence mode of data set snapshot) which records all key value pairs of redis database and writes data to a temporary file at a certain time point. After the persistence, the temporary file is used to replace the […]

  • Four ways to kill all processes of a user under Linux


    In Linux system management, we sometimes need to kill all the processes of a user. Beginners usually find out all the user’s PIDs first, then kill them one by one, or write a script. In fact, there are four methods out of the box. We take kill user ttlsa as an example1. Pkill method # […]

  • Concept arrangement of Python process / thread


    Concurrent and parallel processes and threads Processes and threads First of all, we need to understand that our software runs on the operating system, and then the operating system controls the hardware, such as processors, memory, IO devices, etc. The operating system abstracts the concept of process in order to provide a simple and consistent […]

  • Java gets the current process ID and the process ID of all Java processes


    Java gets the current process ID and the process ID of all Java processes First, get the java process ID of the current Java operation, which is common on the Internet, that is, the Java program itself prints out the process ID: package com.test; import java.lang.management.ManagementFactory; import java.lang.management.RuntimeMXBean; public class Target { public static void […]

  • Py concurrent programming (threads, processes, collaborations)


    I. operating system Operating system is a system program used to coordinate, manage and control computer hardware and software resources, which is located between hardware and application programs. The program is a kind of software with some functions running on the system, such as browser, music player, etc. Definition of the kernel of the operating […]