当前位置:网站首页>G024-db-gs-ins-01 openeuler deployment opengauss (single instance)
G024-db-gs-ins-01 openeuler deployment opengauss (single instance)
2022-07-25 01:25:00 【51CTO】
1 You need to understand
- VMware Workstation edition :
16.2.0 - OS edition :
openEuler-20.03-LTS-SP2, visit openEuler Official website Download the operating system - DB edition :
OpenGauss 2.1.0 Enterprise Edition, visit openGauss Official website Download the database , file nameopenGauss-2.1.0-openEuler-64bit-all.tar.gz - OpenEuler Virtual machines can be connected to the Internet , Easy to use online YUM Source ( Local can be configured without networking YUM Source )
- OpenEuler
mustUse English operating system ( Default ), At presentopenGaussThe installation package can only be installed on the English operating system - OpenEuler It is recommended to use
20.03 LTSSeries version (python Version is 3.7.x),openGauss stay openEuler Currently, onlypython 3.7.xedition , Other series of operating systems are not satisfied with python Version requirements , It can be configured manually , But it is not friendly to beginners - Please refer to the following G015 Blog finished OpenEuler Operating system installation , Version series are different , But the steps are the same
- For a better browsing experience , You can click on the top left of the article
CatalogButton to display the overall directory structure of the article
- Related articles
- G015-OS-LIN-EULER-01 openEuler 21.03 Euler Linux install
2 System environment configuration
2.1 IP And the host name
2.2 Turn off firewall
2.3 Set the character set and other environment variables
2.4 Cancel the memory limit parameter
2.5 Replace python edition
The installation process will configure openGauss Users trust each other ,openEuler Need to use
python 3.7.xVersion command , But the default version is2.7.x, So it needs to be replaced .
2.6 Install related packages
3 install openGauss database
3.1 Upload and unzip the software
3.2 establish XML file
Before installation, you need to create XML file , Contains the cluster name 、 Server name 、 The installation path 、IP And port number, etc , Used to inform openGauss How to install , The following is the single node configuration scheme . If the public cloud elastic ECS deployment is adopted , We need to pay attention to
azNamename , And the actual location of elastic ECSAZbring into correspondence with ; Local virtualization deployment , Negligible .
3.3 establish omm Users and dbgrp Group
ommUsers are operating system users , It's also the future openGauss Database administrator account ,dbgrpIs to run openGauss The group name of the operating system user .
3.4 Create database
set up script gs_install Must be
ommperform , Otherwise, an error will be reported when executing the script .
3.5 Connect to database
- View database instance information
- adopt
gsqlConnect to database
- END
边栏推荐
- Leetcode - number of palindromes
- Commonjs export import
- Open source demo | release of open source example of arcall applet
- Related knowledge of paging
- 7.15 - daily question - 408
- 基于ABP实现DDD--领域逻辑和应用逻辑
- Screenshot of Baidu map
- Interview questions
- WhatsApp web for usability testing of software testing technology
- The first meta universe auction of Chen Danqing's printmaking works will open tomorrow!
猜你喜欢

The IPO of Tuba rabbit was terminated: the annual profit fell by 33%, and Jingwei Sequoia was the shareholder

Introduction to thread pool

What is the root password of MySQL initial installation

Latest information of 2022 cloud computing skills competition

Custom type

Luo min cannot become Dong Yuhui

Cloud native observability tracking technology in the eyes of Baidu engineers

What is iftmcs indicating contract status message?

Why is the exclude or include attribute setting of the < keep alive > component invalid

2022/7/18-7/19
随机推荐
Solution to the shortest Hamilton path problem
Three possible scenarios for SAP Spartacus server-side rendering
Take C language from 0 to 1 - program structure and use examples
How to obtain workers' coats and helmets in stray? How to obtain workers' helmets
Harbor installation
Tiktok iqiyi announced cooperation, long and short video handshake and reconciliation?
Batchinsert avoid inserting duplicate data ignor
The introduction of 23 Filipino doctors for 18million was a hot topic, and the school teacher responded: expedient
Ad active directory and domain network
Screenshot of Baidu map
DotNetCore. Cap notes
Example analysis of enum data type in MySQL
Brush questions of binary tree (5)
Musk responded whether he would upload his brain to the cloud: already did it!
[FAQ of waiting insurance] can the waiting insurance evaluation organization help with the waiting insurance rectification?
MySQL series | log module
Three modes of executing programs, memory and cache
Cloud native observability tracking technology in the eyes of Baidu engineers
Breederdao's first proposal was released: the constitution of the Dao organization
JS convert pseudo array to array