<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>EcoX on WwIT</title>
    <link>https://ww-it.github.io/tags/ecox/</link>
    <description>Recent content in EcoX 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/ecox/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>SmartOS 平台编译 EcoX</title>
      <link>https://ww-it.github.io/post/how-to-compile-ecox-on-smartos/</link>
      <pubDate>Mon, 28 Nov 2022 15:32:20 +0800</pubDate>
      
      <guid>https://ww-it.github.io/post/how-to-compile-ecox-on-smartos/</guid>
      <description>本文简要介绍如何在 SmartOS 上搭建 EcoX 开发环境，以及如何编译 EcoX。
准备工作 EcoX 的编译需要使用到 autoconf 和 automake 工具，如果从代码库拉取代码，则还需要用到 git 工具。
# pkgin -y in autoconf # pkgin -y in automake # pkgin -y in git 安装依赖 EcoX 依赖 PostgreSQL 的 libpq 库、Zookeeper 的 C 库以及 Log4c 日志库。
Zookeeper 依赖 SmartOS 的软件源中提供了 Zookeeper 库，我们可以通过下面的命令直接安装。
# pkgin -y in libzookeeper-3.4.12 版本号可能不对，可以通过 pkgin se zookeeper 先进行搜索，确定软件包的名称。
Log4c 依赖 SmartOS 的软件源中并不包含 Log4c 库，因此，我们需要从源码编译安装，我们可以使用下面的命令进行编译安装。
$ wget http://prdownloads.sourceforge.net/log4c/log4c-1.2.4.tar.gz $ tar zxf log4c-1.</description>
    </item>
    
  </channel>
</rss>
