阅读内容

Ubuntu下安装PostgreSQL8.3详细过程[多图]

[日期:2008-09-16] 来源:Linux时代  作者:bai


下面以图解的方式详细介绍Ubuntu下安装PostgreSQL8.3的过程。

首先下载postgresql-8.3.3-2-linux.bin
root@bai-desktop:/home/bai/liuy# ls
postgresql-8.3.3-2-linux.bin
root@bai-desktop:/home/bai/liuy# chmod u+x postgresql-8.3.3-2-linux.bin


root@bai-desktop:/home/bai/liuy# ./postgresql-8.3.3-2-linux.bin
root@bai-desktop:/home/bai# su - postgres

Ubuntu下安装PostgreSQL8.3详细过程[多图]

Ubuntu下安装PostgreSQL8.3/图1

Ubuntu下安装PostgreSQL8.3详细过程[多图]

Ubuntu下安装PostgreSQL8.3/图2

Ubuntu下安装PostgreSQL8.3详细过程[多图]

Ubuntu下安装PostgreSQL8.3/图3

$ bash 切换为bash

postgres@bai-desktop:~$ /opt/PostgreSQL/8.3/bin/pg_ctl start /opt/PostgreSQL/8.3/data/ 注意加-D的参数

pg_ctl: too many command-line arguments (first is "start")

Try "pg_ctl --help" for more information.

postgres@bai-desktop:~$ /opt/PostgreSQL/8.3/bin/pg_ctl start -D /opt/PostgreSQL/8.3/data/ 开始服务

server starting

postgres@bai-desktop:~$ ./pg_ctl stop -D /opt/PostgreSQL/8.3/data/ 停止服务

123下一页  GO



本文评论       全部评论
发表评论
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款


点评: 字数
姓名:

L
I
N
U
X


GOOGLE搜索
Google