Install Postgres for Mac OS X: Difference between revisions
From MoodleDocs
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
# install [https://docs.moodle.org/en/Complete_Install_Packages_for_Mac_OS_X MAMP package] in order to have apache all configured. | |||
# download the Mac OSX package [http://www.postgresql.org/download/macosx one click installer] | # download the Mac OSX package [http://www.postgresql.org/download/macosx one click installer] | ||
# run the installer, the installer tells you it changed a system file. | # run the installer, the installer tells you it changed a system file. |
Revision as of 03:10, 1 September 2010
- install MAMP package in order to have apache all configured.
- download the Mac OSX package one click installer
- run the installer, the installer tells you it changed a system file.
- restart your Mac
- run the installer a second time, Postgres get installed. Remember the password you indicates. If you don't change anything else, the default user should be called 'postgres'.
- run pgAdminIII
- click right on PostgreSQL X.X (there is a little red cross) and select Connect
- enter the same password as you enter during the installation.
- click right on 'Databases (0)' then create a new database called Moodle
- checkout Moodle from CVS, run the installation
- on the database setup, you will enter:
- host: localhost
- user: postgres
- password: your_password
- database: Moodle