<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CentOS on WwIT</title>
    <link>https://ww-it.github.io/tags/centos/</link>
    <description>Recent content in CentOS on WwIT</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 22 Dec 2022 10:35:39 +0800</lastBuildDate><atom:link href="https://ww-it.github.io/tags/centos/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>EcoX 安装配置</title>
      <link>https://ww-it.github.io/post/setup-ecox/</link>
      <pubDate>Thu, 22 Dec 2022 10:35:39 +0800</pubDate>
      
      <guid>https://ww-it.github.io/post/setup-ecox/</guid>
      <description>本文介绍如何在 CentOS 平台上使用 EcoX 搭建 PostgreSQL 高可用集群。这里我们需要使用到 3 个组件：PostgreSQL、ZooKeeper 和 EcoX。
基本环境 下表给出了本次实验的基本环境，包含 3 个 ZooKeeper 仲裁集群节点和 3 个数据库集群节点。
   IP 地址 主机名 用途     10.9.10.207 zookeeper01 zookeeper 节点   10.9.10.189 zookeeper02 zookeeper 节点   10.9.10.222 zookeeper03 zookeeper 节点   10.9.10.125 ecox01 数据库节点   10.9.10.202 ecox02 数据库节点   10.9.10.232 ecox03 数据库节点    ZooKeeper 搭建 首先，我们需要搭建 ZooKeeper 集群。ZooKeeper 依赖于 Java，因此，我们需要先安装 Java。</description>
    </item>
    
    <item>
      <title>CentOS 平台编译 PostgreSQL 数据库</title>
      <link>https://ww-it.github.io/post/how-to-compile-postgres-on-centos/</link>
      <pubDate>Fri, 29 Apr 2022 11:23:20 +0800</pubDate>
      
      <guid>https://ww-it.github.io/post/how-to-compile-postgres-on-centos/</guid>
      <description>本文简要介绍如何在 CentOS 上搭建 PostgreSQL 开发环境，以及如何编译 PostgreSQL 数据库。
安装依赖 由于可能使用不同的 GCC 进行编译，因此我们需要管理 GCC 的版本，好在 CentOS 提供了这样的工具，我们可以使用下面的命令来安装不同的 GCC。
$ sudo yum install -y centos-release-scl $ sudo yum install -y devtoolset-10 安装完成之后，查看 GCC 版本，如下所示：
$ gcc --version gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</description>
    </item>
    
  </channel>
</rss>
