Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

PostgreSQL database installation method, device and equipment

An installation method and database technology, which are applied in the fields of electrical digital data processing, software deployment, instruments, etc., can solve problems such as error-prone, high technical requirements for database installation, and waste of time.

Pending Publication Date: 2020-10-30
INSPUR BUSINESS MACHINE CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, the user needs to open the website and manually enter the operating system to obtain the download command, and manually complete the installation of the PostgreSQL database. The technical requirements for the user's database installation are relatively high, which is time-consuming and error-prone.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • PostgreSQL database installation method, device and equipment
  • PostgreSQL database installation method, device and equipment
  • PostgreSQL database installation method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] see figure 1 , figure 1 It is a kind of implementation flowchart of PostgreSQL database installation method in the embodiment of the present invention, and this method can comprise the following steps:

[0047] S101: Analyzing the received PostgreSQL database installation request to obtain target linux system to be installed and target database version information.

[0048] When the target linux system needs to install the PostgreSQL database, send the PostgreSQL database installation request to the database installation center. The database installation center receives the PostgreSQL database installation request, and analyzes the received PostgreSQL database installation request to obtain the target linux system to be installed and the target database version information.

[0049] The target linux system can be any linux system to be installed with the PostgreSQL database, such as Debian operating system, Ubuntu (ubuntu) operating system, Red Hat operating system, etc...

Embodiment 2

[0061] see figure 2 , figure 2 Another implementation flowchart for the PostgreSQL database installation method in the embodiment of the present invention, the method may include the following steps:

[0062] S201: Analyzing the received PostgreSQL database installation request to obtain a target linux system to be installed with the database.

[0063] S202: Obtain the type information of the target system to which the target linux system belongs through a shell script.

[0064] Pre-deploy the shell script to obtain the system type information of the linux system. After analyzing the target linux system to be installed in the database, obtain the target system type information of the target linux system through the shell script. In this way, the automatic identification of the target system type information of the target linux system is realized, and the foundation for the automatic installation of the entire PostgreSQL database is laid.

[0065] S203: When the target sys...

Embodiment 3

[0074] see image 3 , image 3 Another implementation flowchart for the PostgreSQL database installation method in the embodiment of the present invention, the method may include the following steps:

[0075] S301: Analyzing the received PostgreSQL database installation request to obtain a target linux system to be installed with the database.

[0076] S302: Obtain the type information of the target system to which the target linux system belongs through a shell script.

[0077] S303: When the target system type information is the Red Hat operating system, analyze the PostgreSQL database installation request to obtain preset database version information, and determine the preset database version information as the target database version information.

[0078] Since the Red Hat operating system determines the target database version information based on the database version information preset by the user, the preset database version information is not necessarily the latest d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a PostgreSQL database installation method which comprises the following steps: analyzing a received PostgreSQL database installation request to obtain a target linux system andtarget database version information; generating a target test case corresponding to the target database version information; sending the target test case to a selenium test tool, so as to enable theselenium test tool to call a phantomJS non-interface browser to inquire each target command line corresponding to the target test case; and returning each target command line to the target linux system, so as to enable the target linux systemto perform PostgreSQL database installation operation based on each target command line. The database installation efficiency is improved, and the installation error probability is reduced. The invention further discloses a PostgreSQL database installation device and equipment and a storage medium. The PostgreSQL database installation device and equipmenthave the corresponding technical effects.

Description

technical field [0001] The present invention relates to the field of computer application technology, in particular to a PostgreSQL database installation method, device, equipment and computer-readable storage medium. Background technique [0002] Regarding the Linux operating system, each manufacturer has its own release version, and the open source database PostgreSQL has different installation versions and installation commands for these different Linux versions, and these installation commands are more or less different. For example, if you install a PostgresSQL 12 version on a Red Hat (Red Hat 7) system whose architecture is X86_64, the download command is yum install https: / / download.postgresql.org / pub / repos / yum / reporpms / EL-7-x86_64 / pgdg-redha t-repo-latest.noarch.rpm, and the download command for Debian Buster (10.x) system is deb http: / / apt.postgresql.org / pub / repos / apt / buster-pgdg main. In addition, the user needs to open the website and manually enter the operatin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/61G06F11/36
CPCG06F8/61G06F11/3684G06F11/3688Y02D10/00
Inventor 宋美霞
Owner INSPUR BUSINESS MACHINE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products