PostgreSQL7.5安装
2004-07-18 11:33
513 查看
PostgreSQL将从7.5版开始支持windows.
http://www.hagander.net/pgsql/win32snap/
我看这里面的安装指南:
Setting Up the Server
1. Unzip download into a folder of your choice (example: c:\postgres)
2. Add the newly created bin and lib folder to your path (inside the NT environment settings).
3. Add PGDATA environment variable to point to the folder which will contain your database (c:\postgres\data).
4. Open a new command window and type: initdb -L "c:/postgres/share" (note the unix style slashes for compatibility reasons). If you get a bad command error, your path is not set up properly. If you see no error messages, the template database is constructed and the server is ready to be started.
5. From the command window, type: postmaster. This will start the server. Leave this window open as long as you want the server to run. To shut down the server, close the window or press Control-C while the window has the focus.
6. Open another command window and type psql template1. Success indicates the server is running and you have logged into the server. You will probably want to create a database right away. For further information on setting up and administrating PostgreSQL please check out the standard documentation.
在 os 中 设置:
set path=%path%;c:\postgres\data;c:\postgres\BIN;c:\postgres\LIB
http://www.hagander.net/pgsql/win32snap/
我看这里面的安装指南:
Setting Up the Server
1. Unzip download into a folder of your choice (example: c:\postgres)
2. Add the newly created bin and lib folder to your path (inside the NT environment settings).
3. Add PGDATA environment variable to point to the folder which will contain your database (c:\postgres\data).
4. Open a new command window and type: initdb -L "c:/postgres/share" (note the unix style slashes for compatibility reasons). If you get a bad command error, your path is not set up properly. If you see no error messages, the template database is constructed and the server is ready to be started.
5. From the command window, type: postmaster. This will start the server. Leave this window open as long as you want the server to run. To shut down the server, close the window or press Control-C while the window has the focus.
6. Open another command window and type psql template1. Success indicates the server is running and you have logged into the server. You will probably want to create a database right away. For further information on setting up and administrating PostgreSQL please check out the standard documentation.
在 os 中 设置:
set path=%path%;c:\postgres\data;c:\postgres\BIN;c:\postgres\LIB
相关文章推荐
- CentOS 7.5安装PostgreSQL10.5
- PostgresQL7.5(开发版)安装与配置(win2003测试通过)
- 迫不及待的想在Ubuntu 16.04 安装 NVIDIA CUDA Toolkit 7.5并安装gromacs5.1.2看这里
- Centos上PostgreSQL9.3的安装
- PostgreSQL 10.0 源码安装 in Centos
- windows7安装配置IIS7.5过程图解
- 安装NetWeaver Java 7.5(Windows 2012 R2上)
- postgresql数据库安装
- liunx环境下源码安装PostgreSQL+PostGIS
- postgresql编译安装与调试(二)
- [转载]centos6.3安装启动使用PostgreSQL 9.2
- 安装postgreSQL出现configure: error: zlib library not found解决方法
- Redhat 7.2 编译安装PostgreSQL 10
- Windows下PostgreSQL安装installer问题
- Mac 下 PostgreSQL 的安装与使用
- windows下绿色PostgreSQL的安装
- ubuntu 上安装最新的postgresql 9.6版本
- 通过源码编译安装PostgreSQL步骤及问题总结
- ubuntu 14.0.4 下安装 cuda 7.5