Difference between revisions of "PostgreSQL on Debian"

From AOLserver Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
While not always a part of an AOLServer installation, the fact that AOLServer is known almost foremost for its ability to support massively concurrent accesses to its database pools imply that it would be helpful to have such a database installed.
 
While not always a part of an AOLServer installation, the fact that AOLServer is known almost foremost for its ability to support massively concurrent accesses to its database pools imply that it would be helpful to have such a database installed.
 +
 +
Some quick and easy steps to getting Postgresql up and running on Debian 3.1:
 +
 +
<pre>
 +
# install postgresql
 +
apt-get install postgresql
 +
 +
# optional: to get some potentially useful documentation, should you choose to read it
 +
apt-get install postgresql-doc
 +
 +
# optional: if you think you might be up for some postgresql hacking sometime
 +
apt-get install postgresql-dev
 +
 +
# optional: useful contributed software includes some cryptographic hash functions
 +
apt-get install postgresql-contrib
 +
</pre>
 +
 +
After installing the package(s) you want:
 +
 +
<pre>
 +
/etc/init.d/postgresql start
 +
</pre>
 +
 +
And you are running Postgresql. Congratulations. To make changes to your configuration files, visit:
 +
 +
<pre>
 +
/etc/postgresql/
 +
</pre>
 +
 +
'''Related'''
 +
 +
* [[AOLServer 4 on Debian]]
 +
* [[Configuring AOLServer 4 and Postgresql on Debian]]

Revision as of 22:30, 6 December 2005

While not always a part of an AOLServer installation, the fact that AOLServer is known almost foremost for its ability to support massively concurrent accesses to its database pools imply that it would be helpful to have such a database installed.

Some quick and easy steps to getting Postgresql up and running on Debian 3.1:

# install postgresql
apt-get install postgresql

# optional: to get some potentially useful documentation, should you choose to read it
apt-get install postgresql-doc

# optional: if you think you might be up for some postgresql hacking sometime
apt-get install postgresql-dev

# optional: useful contributed software includes some cryptographic hash functions
apt-get install postgresql-contrib

After installing the package(s) you want:

/etc/init.d/postgresql start

And you are running Postgresql. Congratulations. To make changes to your configuration files, visit:

/etc/postgresql/

Related