Mac port installation postgres92-server

Source: Internet
Author: User


Mac port installation postgres92-server 1. make sure that macports www.2cto.com is installed on mac. sudo port install postgresql92-server3. after the installation is complete, check the shell information after installation and initialize the S database according to the steps. 4. if you have not carefully read the shell information, unmount the sudo port uninstall postgresql92-server or see what I wrote below, haha 5. sudo mkdir-p/opt/local/var/db/postgresql92/defaultdb sudo chown postgres: s/opt/local/var/db/postgresql92/defaultdb sudo su postgres-c '/opt/local/lib/postgresql92/bin/initdb-D/opt/local/var/ db/postgresql92/defaultdb 'sudo/opt/local/lib/postgresql92/bin/pg_ctl-D/opt/local/var/db/postgresql92/defaultdb-l logfile start 6. portgres is started.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.