Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1435831
  • 博文数量: 18
  • 博客积分: 9950
  • 博客等级: 中将
  • 技术积分: 4242
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-08 10:08
文章分类

全部博文(18)

文章存档

2009年(3)

2008年(15)

我的朋友

分类:

2008-08-27 18:51:00

下载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
$     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/                        停止服务
阅读(1958) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~