<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Database Servers (PostgreSQL and MariaDB) on AlmaLinux 9 on Siberoloji</title><link>https://www.siberoloji.com/docs/howtos/almalinux9/10-postgresql-mariadb/</link><description>Recent content in Database Servers (PostgreSQL and MariaDB) on AlmaLinux 9 on Siberoloji</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 05 Mar 2025 14:41:49 +0300</lastBuildDate><atom:link href="https://www.siberoloji.com/docs/howtos/almalinux9/10-postgresql-mariadb/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Install PostgreSQL on AlmaLinux</title><link>https://www.siberoloji.com/install-postgresql-almalinux/</link><pubDate>Wed, 18 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.siberoloji.com/install-postgresql-almalinux/</guid><description>&lt;p>PostgreSQL, often referred to as Postgres, is a powerful, open-source, object-relational database management system (RDBMS) widely used for modern web applications. Its robust feature set, scalability, and adherence to SQL standards make it a top choice for developers and businesses.&lt;/p>
&lt;p>In this guide, we’ll walk you through the process of installing and setting up PostgreSQL on &lt;strong>AlmaLinux&lt;/strong>, a popular, stable Linux distribution that’s a downstream fork of CentOS. By the end, you&amp;rsquo;ll have a fully operational PostgreSQL installation ready to handle database operations.&lt;/p></description></item><item><title>How to Make Settings for Remote Connection on PostgreSQL on AlmaLinux</title><link>https://www.siberoloji.com/settings-remote-connection-postgresql-almalinux/</link><pubDate>Thu, 19 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.siberoloji.com/settings-remote-connection-postgresql-almalinux/</guid><description>&lt;p>PostgreSQL, often referred to as Postgres, is a powerful, open-source relational database system that offers extensibility and SQL compliance. Setting up a remote connection to PostgreSQL is a common task for developers and system administrators, enabling them to interact with the database from remote machines. This guide will focus on configuring remote connections for PostgreSQL on &lt;strong>AlmaLinux&lt;/strong>, a popular CentOS replacement that’s gaining traction in enterprise environments.&lt;/p>
&lt;h4 id="table-of-contents">Table of Contents&lt;a class="td-heading-self-link" href="#table-of-contents" aria-label="Heading self-link">&lt;/a>&lt;/h4>
&lt;ol>
&lt;li>Introduction to PostgreSQL and AlmaLinux&lt;/li>
&lt;li>Prerequisites&lt;/li>
&lt;li>Installing PostgreSQL on AlmaLinux&lt;/li>
&lt;li>Configuring PostgreSQL for Remote Access
&lt;ul>
&lt;li>Editing the &lt;code>postgresql.conf&lt;/code> File&lt;/li>
&lt;li>Modifying the &lt;code>pg_hba.conf&lt;/code> File&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Allowing PostgreSQL Through the Firewall&lt;/li>
&lt;li>Testing the Remote Connection&lt;/li>
&lt;li>Common Troubleshooting Tips&lt;/li>
&lt;li>Conclusion&lt;/li>
&lt;/ol>
&lt;hr>
&lt;h3 id="1-introduction-to-postgresql-and-almalinux">1. Introduction to PostgreSQL and AlmaLinux&lt;a class="td-heading-self-link" href="#1-introduction-to-postgresql-and-almalinux" aria-label="Heading self-link">&lt;/a>&lt;/h3>
&lt;p>AlmaLinux, a community-driven Linux distribution, is widely regarded as a reliable replacement for CentOS. Its compatibility with Red Hat Enterprise Linux (RHEL) makes it a strong candidate for database servers running PostgreSQL. Remote access to PostgreSQL is especially useful in distributed systems or development environments where multiple clients need database access.&lt;/p></description></item><item><title>How to Configure PostgreSQL Over SSL/TLS on AlmaLinux</title><link>https://www.siberoloji.com/configure-postgresql-ssl-tls-almalinux/</link><pubDate>Thu, 19 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.siberoloji.com/configure-postgresql-ssl-tls-almalinux/</guid><description>&lt;p>PostgreSQL is a robust and open-source relational database system renowned for its reliability and advanced features. One critical aspect of database security is ensuring secure communication between the server and clients. Configuring PostgreSQL to use &lt;strong>SSL/TLS&lt;/strong> (Secure Sockets Layer / Transport Layer Security) on &lt;strong>AlmaLinux&lt;/strong> is a vital step in safeguarding data in transit against eavesdropping and tampering.&lt;/p>
&lt;p>This guide provides a detailed walkthrough to configure PostgreSQL over SSL/TLS on AlmaLinux. By the end of this article, you&amp;rsquo;ll have a secure PostgreSQL setup capable of encrypted communication with its clients.&lt;/p></description></item><item><title>How to Backup and Restore PostgreSQL Database on AlmaLinux</title><link>https://www.siberoloji.com/backup-restore-postgresql-database-almalinux/</link><pubDate>Thu, 19 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.siberoloji.com/backup-restore-postgresql-database-almalinux/</guid><description>&lt;p>PostgreSQL, a powerful open-source relational database system, is widely used in modern applications for its robustness, scalability, and advanced features. However, one of the most critical aspects of database management is ensuring data integrity through regular backups and the ability to restore databases efficiently. On &lt;strong>AlmaLinux&lt;/strong>, a popular CentOS replacement, managing PostgreSQL backups is straightforward when following the right procedures.&lt;/p>
&lt;p>This article provides a comprehensive guide on how to back up and restore PostgreSQL databases on AlmaLinux, covering essential commands, tools, and best practices.&lt;/p></description></item><item><title>How to Set Up Streaming Replication on PostgreSQL on AlmaLinux</title><link>https://www.siberoloji.com/set-streaming-replication-postgresql-almalinux/</link><pubDate>Thu, 19 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.siberoloji.com/set-streaming-replication-postgresql-almalinux/</guid><description>&lt;p>&lt;strong>PostgreSQL&lt;/strong>, an advanced open-source relational database system, supports robust replication features that allow high availability, scalability, and fault tolerance. &lt;strong>Streaming replication&lt;/strong>, in particular, is widely used for maintaining a near-real-time replica of the primary database. In this article, we’ll guide you through setting up streaming replication on &lt;strong>PostgreSQL&lt;/strong> running on &lt;strong>AlmaLinux&lt;/strong>, a reliable RHEL-based distribution.&lt;/p>
&lt;hr>
&lt;h3 id="table-of-contents">Table of Contents&lt;a class="td-heading-self-link" href="#table-of-contents" aria-label="Heading self-link">&lt;/a>&lt;/h3>
&lt;ol>
&lt;li>Introduction to Streaming Replication&lt;/li>
&lt;li>Prerequisites for Setting Up Streaming Replication&lt;/li>
&lt;li>Understanding the Primary and Standby Roles&lt;/li>
&lt;li>Installing PostgreSQL on AlmaLinux&lt;/li>
&lt;li>Configuring the Primary Server for Streaming Replication&lt;/li>
&lt;li>Setting Up the Standby Server&lt;/li>
&lt;li>Testing the Streaming Replication Setup&lt;/li>
&lt;li>Monitoring Streaming Replication&lt;/li>
&lt;li>Common Issues and Troubleshooting&lt;/li>
&lt;li>Conclusion&lt;/li>
&lt;/ol>
&lt;hr>
&lt;h3 id="1-introduction-to-streaming-replication">1. Introduction to Streaming Replication&lt;a class="td-heading-self-link" href="#1-introduction-to-streaming-replication" aria-label="Heading self-link">&lt;/a>&lt;/h3>
&lt;p>Streaming replication in PostgreSQL provides a mechanism where changes made to the primary database are streamed in real-time to one or more standby servers. These standby servers can act as hot backups or read-only servers for query load balancing. This feature is critical for:&lt;/p></description></item><item><title>How to Install MariaDB on AlmaLinux</title><link>https://www.siberoloji.com/install-mariadb-almalinux/</link><pubDate>Sun, 22 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.siberoloji.com/install-mariadb-almalinux/</guid><description>&lt;p>MariaDB, an open-source relational database management system, is a widely popular alternative to MySQL. Known for its performance, scalability, and reliability, MariaDB is a favored choice for web applications, data warehousing, and analytics. AlmaLinux, a CentOS replacement, offers a stable and secure platform for hosting MariaDB databases.&lt;/p>
&lt;p>In this comprehensive guide, we’ll walk you through the steps to install MariaDB on AlmaLinux, configure it for production use, and verify its operation. Whether you&amp;rsquo;re a beginner or an experienced system administrator, this tutorial has everything you need to get started.&lt;/p></description></item><item><title>How to Set Up MariaDB Over SSL/TLS on AlmaLinux</title><link>https://www.siberoloji.com/set-mariadb-ssl-tls-almalinux/</link><pubDate>Sun, 22 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.siberoloji.com/set-mariadb-ssl-tls-almalinux/</guid><description>&lt;p>Securing database connections is a critical aspect of modern database administration. Using &lt;strong>SSL/TLS&lt;/strong> (Secure Sockets Layer / Transport Layer Security) to encrypt connections between MariaDB servers and their clients is essential to protect sensitive data in transit. AlmaLinux, a stable and secure RHEL-based distribution, is an excellent platform for hosting MariaDB with SSL/TLS enabled.&lt;/p>
&lt;p>This guide provides a comprehensive walkthrough to set up MariaDB over SSL/TLS on AlmaLinux. By the end, you’ll have a secure MariaDB setup capable of encrypted client-server communication.&lt;/p></description></item><item><title>How to Create MariaDB Backup on AlmaLinux</title><link>https://www.siberoloji.com/create-mariadb-backup-almalinux/</link><pubDate>Sun, 22 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.siberoloji.com/create-mariadb-backup-almalinux/</guid><description>&lt;p>Backing up your database is a critical task for any database administrator. Whether for disaster recovery, migration, or simply safeguarding data, a robust backup strategy ensures the security and availability of your database. &lt;strong>MariaDB&lt;/strong>, a popular open-source database, provides multiple tools and methods to back up your data effectively. &lt;strong>AlmaLinux&lt;/strong>, a reliable and secure Linux distribution, serves as an excellent platform for hosting MariaDB and managing backups.&lt;/p>
&lt;p>This guide walks you through different methods to create MariaDB backups on AlmaLinux, covering both logical and physical backups, and provides insights into best practices to ensure data integrity and security.&lt;/p></description></item><item><title>How to Create MariaDB Replication on AlmaLinux</title><link>https://www.siberoloji.com/create-mariadb-replication-almalinux/</link><pubDate>Sun, 22 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.siberoloji.com/create-mariadb-replication-almalinux/</guid><description>&lt;p>&lt;strong>MariaDB&lt;/strong>, an open-source relational database management system, provides powerful replication features that allow you to maintain copies of your databases on separate servers. Replication is crucial for ensuring &lt;strong>high availability&lt;/strong>, &lt;strong>load balancing&lt;/strong>, and &lt;strong>disaster recovery&lt;/strong> in production environments. By using AlmaLinux, a robust and secure RHEL-based Linux distribution, you can set up MariaDB replication for an efficient and resilient database infrastructure.&lt;/p>
&lt;p>This guide provides a step-by-step walkthrough to configure MariaDB replication on AlmaLinux, helping you create a &lt;strong>Main-Replica&lt;/strong> setup where changes on the Main database are mirrored on one or more Replica servers.&lt;/p></description></item><item><title>How to Create a MariaDB Galera Cluster on AlmaLinux</title><link>https://www.siberoloji.com/create-mariadb-galera-cluster-almalinux/</link><pubDate>Sun, 22 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.siberoloji.com/create-mariadb-galera-cluster-almalinux/</guid><description>&lt;p>&lt;strong>MariaDB Galera Cluster&lt;/strong> is a powerful solution for achieving high availability, scalability, and fault tolerance in your database environment. By creating a Galera Cluster, you enable a multi-master replication setup where all nodes in the cluster can process both read and write requests. This eliminates the single point of failure and provides real-time synchronization across nodes.&lt;/p>
&lt;p>&lt;strong>AlmaLinux&lt;/strong>, a community-driven RHEL-based Linux distribution, is an excellent platform for hosting MariaDB Galera Cluster due to its reliability, security, and performance.&lt;/p></description></item><item><title>How to Install phpMyAdmin on MariaDB on AlmaLinux</title><link>https://www.siberoloji.com/install-phpmyadmin-mariadb-almalinux/</link><pubDate>Sun, 22 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.siberoloji.com/install-phpmyadmin-mariadb-almalinux/</guid><description>&lt;p>&lt;strong>phpMyAdmin&lt;/strong> is a popular web-based tool that simplifies the management of MySQL and MariaDB databases. It provides an intuitive graphical user interface (GUI) for performing tasks such as creating, modifying, and deleting databases, tables, and users without the need to execute SQL commands manually. If you are running &lt;strong>MariaDB&lt;/strong> on &lt;strong>AlmaLinux&lt;/strong>, phpMyAdmin can significantly enhance your database administration workflow.&lt;/p>
&lt;p>This comprehensive guide walks you through the process of installing and configuring phpMyAdmin on AlmaLinux with a MariaDB database server.&lt;/p></description></item></channel></rss>