Install PostgreSQL in Linux

Source: Internet
Author: User

I am a beginner in Linux and have trouble installing PostgreSQL today.

I need to install PostgreSQL8.2 now, but enter the command in the console: emerge PostgreSQL-pv to search for only PostgreSQL8.0. However, I need to install version 8.2, what should I do?

There are two solutions: first, download the 8.2 version package directly from the PostgreSQL official website, and then follow the installation steps on the local machine (the file is iinstall under PostgreSQL) install it manually.

Another method is to still use the emerge command, followed by the version you need to install: ACCEPT_KEYWORDS = "~ X86 "emerge = PostgreSQL-8.2.7, then the installation is successful automatically.

Then, if you want to set it to the default startup, the method is: rc-update add PostgreSQL default.

Of course, I have tried both methods and shared them with you.

Related Article

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.