gooderp18绿色标准版
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

38 行
4.3KB

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>1.1. Installation</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="prev" href="tutorial-start.html" title="Chapter 1. Getting Started" /><link rel="next" href="tutorial-arch.html" title="1.2. Architectural Fundamentals" /></head><body><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">1.1. Installation</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="tutorial-start.html" title="Chapter 1. Getting Started">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="tutorial-start.html" title="Chapter 1. Getting Started">Up</a></td><th width="60%" align="center">Chapter 1. Getting Started</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 12.4 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="tutorial-arch.html" title="1.2. Architectural Fundamentals">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="TUTORIAL-INSTALL"><div class="titlepage"><div><div><h2 class="title" style="clear: both">1.1. Installation</h2></div></div></div><p>
  3. Before you can use <span class="productname">PostgreSQL</span> you need
  4. to install it, of course. It is possible that
  5. <span class="productname">PostgreSQL</span> is already installed at your
  6. site, either because it was included in your operating system
  7. distribution or because the system administrator already installed
  8. it. If that is the case, you should obtain information from the
  9. operating system documentation or your system administrator about
  10. how to access <span class="productname">PostgreSQL</span>.
  11. </p><p>
  12. If you are not sure whether <span class="productname">PostgreSQL</span>
  13. is already available or whether you can use it for your
  14. experimentation then you can install it yourself. Doing so is not
  15. hard and it can be a good exercise.
  16. <span class="productname">PostgreSQL</span> can be installed by any
  17. unprivileged user; no superuser (<span class="systemitem">root</span>)
  18. access is required.
  19. </p><p>
  20. If you are installing <span class="productname">PostgreSQL</span>
  21. yourself, then refer to <a class="xref" href="installation.html" title="Chapter 16. Installation from Source Code">Chapter 16</a>
  22. for instructions on installation, and return to
  23. this guide when the installation is complete. Be sure to follow
  24. closely the section about setting up the appropriate environment
  25. variables.
  26. </p><p>
  27. If your site administrator has not set things up in the default
  28. way, you might have some more work to do. For example, if the
  29. database server machine is a remote machine, you will need to set
  30. the <code class="envar">PGHOST</code> environment variable to the name of the
  31. database server machine. The environment variable
  32. <code class="envar">PGPORT</code> might also have to be set. The bottom line is
  33. this: if you try to start an application program and it complains
  34. that it cannot connect to the database, you should consult your
  35. site administrator or, if that is you, the documentation to make
  36. sure that your environment is properly set up. If you did not
  37. understand the preceding paragraph then read the next section.
  38. </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="tutorial-start.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="tutorial-start.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="tutorial-arch.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 1. Getting Started </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 1.2. Architectural Fundamentals</td></tr></table></div></body></html>
上海开阖软件有限公司 沪ICP备12045867号-1