Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Install Postgres for Mac OS X.

Install Postgres for Mac OS X: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
# download the Mac OSX package [http://www.postgresql.org/download/macosx one click installer]
# install [https://docs.moodle.org/en/Complete_Install_Packages_for_Mac_OS_X MAMP package] in order to have a ready to use Apache web server.
# download the Mac OSX Postgres 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.
# restart your Mac
# 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 the installer a second time, Postgres gets installed. Remember the password you entered. If you don't change anything else, the default user should be called 'postgres'.
# run pgAdminIII
# run pgAdminIII
# click right on PostgreSQL X.X (there is a little red cross) and select Connect
# 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.
# enter the same password as you enter during the installation.
# click right on 'Databases (0)' then create a new database called Moodle
# click right on 'Databases (0)' then create a new database called Moodle
 
# checkout [https://docs.moodle.org/en/CVS_for_Developers Moodle from CVS], run the installation
# checkout Moodle from CVS, run the installation
# on the database setup, you will enter:
# on the database setup, you will enter:
#* host: localhost
#* host: localhost

Latest revision as of 03:13, 1 September 2010

  1. install MAMP package in order to have a ready to use Apache web server.
  2. download the Mac OSX Postgres package one click installer
  3. run the installer, the installer tells you it changed a system file.
  4. restart your Mac
  5. run the installer a second time, Postgres gets installed. Remember the password you entered. If you don't change anything else, the default user should be called 'postgres'.
  6. run pgAdminIII
  7. click right on PostgreSQL X.X (there is a little red cross) and select Connect
  8. enter the same password as you enter during the installation.
  9. click right on 'Databases (0)' then create a new database called Moodle
  10. checkout Moodle from CVS, run the installation
  11. on the database setup, you will enter:
    • host: localhost
    • user: postgres
    • password: your_password
    • database: Moodle