やりたいこと
- PostgreSQL9.4.5をWindows7にインストールする。
前提環境
- OS: Microsoft Windows 7 Professional 6.1.7601 Service Pack 1 (SP1) ビルド 7601 x64
インストールするソフトウェア
- PostgreSQL: 9.4.5
手順
インストーラをダウンロード
Enterprise DB で Installer version Version 9.4.5 と記載されている項目から Win x86-64 を選択し、インストーラをダウンロードします。
※バージョンは9.4.5に拘らずに最新を選択します。
インストール
postgresql-9.4.5-2-windows-x64.exe をダブルクリックしてインストールを実行します。
Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.21005
自動的にインストールされます。
PostgreSQL - Setup
- Installation Directory: C:\PostgreSQL\9.4.1
- Data Directory: C:\PostgreSQL\9.4.1\data
- Password: 任意
- Retype password: 任意
- Port: 5432
- Locale: Japanese, Japan
- Stack Builder may be used to download and install additional tools, drivers and applications to complement your PostgreSQL installation.: OFF
スタートメニューから『pgAdmin III』が起動できるようになります。
C:\PostgreSQL\9.4.5\bin\pgAdmin3.exe