# setenforce Permissive

# ./ppasmeta-9.3.1.3-linux-x64.run --mode text

Installation Directory [/opt/PostgresPlus/9.3AS]:

----------------------------------------------------------------------------
Select the components you want to install.

Database Server [Y/n] :Y

Connectors [Y/n] :Y

Infinite Cache [Y/n] :Y

Migration Toolkit [Y/n] :Y

Postgres Enterprise Manager Client [Y/n] :Y

pgpool-II [Y/n] :Y

EDB*Plus [Y/n] :Y

Slony Replication [Y/n] :Y

PgBouncer [Y/n] :Y
Additional Directories

Please select a directory under which to store your data.

Data Directory [/opt/PostgresPlus/9.3AS/data]:

Please select a directory under which to store your Write-Ahead Logs.

Write-Ahead Log (WAL) Directory [/opt/PostgresPlus/9.3AS/data/pg_xlog]:

Configuration Mode

[1] Oracle Compatible
[2] PostgreSQL Compatible
Please choose an option [1] : 1

----------------------------------------------------------------------------
Please provide a password for the database superuser (enterprisedb). A locked
Unix user account (enterprisedb) will be created if not present.
Password:enterprisedb
Additional Configuration

Please select the port number the server should listen on.

Port [5444]:

Select the locale to be used by the new database cluster.

Locale

[1] [Default locale]
tune Dynamic Tuning:
Server Utilization

Please select the type of server to determine the amount of system resources
that may be utilized:

[1] Development (e.g. a developer's laptop)
[2] General Purpose (e.g. a web or application server)
[3] Dedicated (a server running only Postgres Plus)
Please choose an option [2] :

----------------------------------------------------------------------------
Dynatune Dynamic Tuning:
Workload Profile

Please select the type of workload this server will be used for:

[1] Transaction Processing (OLTP systems)
[2] General Purpose (OLTP and reporting workloads)
[3] Reporting (Complex queries or OLAP workloads)
PgBouncer Listening Port [6432]:
Service Configuration

Autostart PgBouncer Service [Y/n]:
Service Configuration

Autostart PgBouncer Service [Y/n]: Y

Autostart pgAgent Service [Y/n]: Y

Update Notification Service [Y/n]:

Pre Installation Summary

Following settings will be used for installation:

Installation Directory: /opt/PostgresPlus/9.3AS
Data Directory: /opt/PostgresPlus/9.3AS/data
WAL Directory: /opt/PostgresPlus/9.3AS/data/pg_xlog
Database Port: 5444
Database Superuser: enterprisedb
Operating System Account: enterprisedb
Database Service: ppas-9.3
PgBouncer Listening Port: 6432
Please wait while Setup installs Postgres Plus Advanced Server on your computer.

Installing Postgres Plus Advanced Server
0% ______________ 50% ______________ 100%
#########################################

Installing Database Server ...

Installing pgAgent ...
Installing Connectors ...
Installing Migration Toolkit ...
Installing EDB*Plus ...
Installing Infinite Cache ...
Installing Postgres Enterprise Manager Client ...
Installing Slony Replication ...
Installing pgpool-II ...
Installing PgBouncer ...
Installing StackBuilder Plus ...
----------------------------------------------------------------------------
Setup has finished installing Postgres Plus Advanced Server on your computer.
[root@test05 ppasmeta-9.3.1.3-linux-x64]# ps -ef|grep postgres
500 15072 1 0 22:40 ? 00:00:00 /opt/PostgresPlus/9.3AS/bin/edb-postgres -D /opt/PostgresPlus/9.3AS/data
500 15073 15072 0 22:40 ? 00:00:00 postgres: logger process
500 15075 15072 0 22:40 ? 00:00:00 postgres: checkpointer process
500 15076 15072 0 22:40 ? 00:00:00 postgres: writer process
500 15077 15072 0 22:40 ? 00:00:00 postgres: wal writer process
500 15078 15072 0 22:40 ? 00:00:00 postgres: autovacuum launcher process
500 15079 15072 0 22:40 ? 00:00:00 postgres: stats collector process
500 15313 15072 0 22:40 ? 00:00:00 postgres: enterprisedb edb ::1[40882] idle
root 17618 12769 0 22:43 pts/1 00:00:00 grep postgres

service scripts

default user:enterprisedb ,default database edb

[root@test05 bin]# service ppas-9.3 stop
Stopping Postgres Plus Advanced Server 9.3:
waiting for server to shut down.... done
server stopped

[root@test05 bin]# service ppas-9.3 start
Starting Postgres Plus Advanced Server 9.3:
waiting for server to start.... done
server started
Postgres Plus Advanced Server 9.3 started successfully

# EnterpriseDB shell environment loader
#
# Instructions:
# This file contains additions to the user environment
# that make accessing Postgres Plus Advanced Server
# executables easier.
#
# To load the environment for a single user:
# cp pgplus_env.sh /home/<username>
# chown <username> /home/<username>/pgplus_env.sh
# vi /home/<username>/.bash_profile
# At the bottom, add the line:
# . /home/<username>/pgplus_env.sh
# ( Note the '.' followed by a space )

# To load the environment for all users:
# cp pgplus_env.sh /etc
# vi /etc/profile
# At the bottom, add the line:
# . /etc/pgplus_env.sh
# ( Note the '.' followed by a space )

更改enterprisedb home目录下的所有则为enterprisedb

在enterprisedb home目录下创建.bash_profile

在.ba_profile的底部添加如下一行

. /opt/PostgresPlus/9.3AS/pgplus_env.sh  #To load the environment for  enterprisedb user:

Postgres Plus Advanced Server installation的更多相关文章

  1. [原创]PostgreSQL Plus Advanced Server监控工具PEM(四)

    四.PEM管理工具 1.编辑配置 选择进行管理的目标服务器,点击菜单Tools->Server Configuration->postgresql.conf管理服务器配置,可以看到我们经常 ...

  2. [原创]PostgreSQL Plus Advanced Server监控工具PEM(二)

    2.安装PEM Client 简单两条命令,开始PEM Client的安装. 我们在SUSE 11sp2上安装PEM Client 安装结束,运行PEM Client后可以看到如下的界面: 目前我们并 ...

  3. [原创]使用benchmarksql和pgbench对PostgreSQL Plus Advanced Server进行性能测试

    一.测试环境 benchmarksql version:4.0.8 rhel 6.3 vmware esxi 二.理解benchmarksql性能测试原理TPC-C 1.理解TPC-C TPC-C模拟 ...

  4. [原创] PostgreSQL Plus Advanced Server在Windows中配置双机热备流复制

    一.系统环境 操作系统:Windows Server 2003/2008 两个节点分别为master与slave. 主节点master:172.27.19.28 备机点slave:172.27.19. ...

  5. [原创]PostgreSQL Plus Advanced Server配合crontab实现定时维护工作

    本文要实现的目标1.PostgreSQL定时全备2.定时删除归档WAL文件3.定时删除全备文件4.删除n天之前的数据库日志文件 实验环境操作系统:RHEL 6.3数据库:PostgreSQL Plus ...

  6. Domino Server installation on Linux (Centos or Redhat) – something somewhere

    something somewhere welcome in there…:) Just another techki site howto / Linux / Lotus Domino 0 Domi ...

  7. [RK3399] Jack server installation not found

    CPU:RK3399 系统:Android 7.1 服务器上第一次编译 Android 7.1 的代码,提示 Jack server 没有安装. Jack server installation no ...

  8. [原创]PostgreSQL Plus Advanced Server监控工具PEM(三)

    三.使用PEM Client 在PEM Client中连接PEM Server 点击上图所示的按钮或点击菜单-> 第一次连接PEM Server,会有一次导入证书的操作,点击Yes按钮. 接下来 ...

  9. Spacewalk server Installation on RHEL6

    [root@yum01 ~]# rpm -Uvh http://yum.spacewalkproject.org/2.1/RHEL/6/x86_64/spacewalk-repo-2.1-2.el6. ...

随机推荐

  1. [代码] 类似 YYText 将表情文本转换成表情字符

    一,经历 1> 由于工作需要,得把 UITextView 中的属性文本转换成普通文字,并将处理后的普通文字转换成属性文本. 2> 将属性文本转换成普通文字简单,可以调用属性文本的enume ...

  2. PHP面向对象学习六 多态

    OOP的模式并不仅仅是把很多函数和功能集合起来,目的而是使用类,继承,多态的方式描述我们生活中的一种情况.从而使得我们的代码更具有“物”的意义.帮助我们减少一些重复性的代码和条件语句的判断.   运算 ...

  3. PHP curl 模拟POST 上传文件(含php 5.5后CURLFile)

    <?php /** * Email net.webjoy@gmail.com * author jackluo * 2014.11.21 * */ //* function curl_post( ...

  4. 制作、解析带logo的二维码

    用DecoderQRCode来解析带logo的二维码,发现报错,解析不了,于是便又查资料,找到了更强大的制作二维码 工具:GooleZXing 首先下GooleZXing的jar包. -------- ...

  5. 熟悉Eclipse开发工具

    一.熟悉Eclipse 1.Eclipse是由IBM公司投资4000万美元开发的集成开发工具.它基于Java语言编写,并且是开放源代码的.可扩展的,也是目前最流行的Java集成开发工具之一.另外,IB ...

  6. 简单的自定义Adapter

    import android.content.Context; import android.view.LayoutInflater; import android.view.View; import ...

  7. Oracle中建表和指定表空间

    --建一个表create table HH2( tid number primary key ,--主键设定 tname varchar2(20) ); --删除表drop table HH; --表 ...

  8. ajax实现文件上传

    <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"% ...

  9. 安装完MySQL数据库,在服务列表里找不到MySQL的解决办法

    安装MySQL数据库完成后,在控制面板的服务列表里找不到MySQL服务启动项解决方案:(参考以下命令)1.打开cmd,切换到mysql的bin目录下 (dos命令切换目录||1.cd\ 返回到根目录, ...

  10. DataTable to byte[]、DataTable to XML(string)

    DataTabe 对象在很多地方都会用到,特别是在Web Service.Socket等需网络传输的地方. 但是在有些地方,如果直接传递的话,程序可能会报告DataTable无法序列化错误. 解决问题 ...