DEV Community

leo
leo

Posted on

openGauss RPM installation

RPM installation
This chapter mainly introduces the one-click installation of the openGauss database through the yum command on the openEuler 22.03 LTS operating system.

Supported Architectures and OS Versions
x86-64 openEuler 22.03 LTS
ARM64 openEuler 22.03 LTS
Only supported on openEuler 22.03 LTS

usage restrictions
Currently, yum installation is only supported on the openEuler 22.03 LTS operating system, and both arm64 and x86_64 architectures are supported.
The database integrated into the openEuler system is built based on the capabilities of the openGauss lightweight version.
Only the stand-alone database instance is installed in the RPM mode. During the upgrade, only the binary version can be replaced, and grayscale upgrade is not supported.
The default installation instance listens to the 127.0.0.1:7654 address and port. If you need to connect remotely, you need to manually modify the listen_address in the postgresql.conf file.
The installation database creates the user openGauss by default, and the user is not deleted after the database is uninstalled.
installation method
After the operating system is installed, use yum install to install it.

yum install opengauss -y

During the installation of the operating system, the software selects openGauss, and the openGauss database is installed by default when the operating system is installed.

Instructions for use
Switch to the opengauss user su - opengauss

Check the process ps ux, you can see that the binary installation directory /usr/local/opengaussis under the directory, and the default startup data directory is /var/lib/opengauss/dataunder the directory.

Database connection gsql -d postgres -p 7654 -r, the default port of the database is 7654. After connecting to the database, the database can be used normally.

Top comments (0)