Configuring PostgreSQL
Configuring PostgreSQL is divided into the following steps:
- Connecting as a PostgreSQL user
- Starting the Administration Tool
- Creating a user for BMC Client Management
- Type the command # su - postgres to activate the PostgreSQL user into a terminal window.
- Type the command # psql to start the administration tool:
- Type the command # CREATE USER <username>; to create the Client Management user.
- Enter the command # ALTER ROLE <username>; .
- Enter the command # CREATE DATABASE <database_name> OWNER <username>; to create a database.
- Enter the command # ALTER USER <username> WITH ENCRYPTED PASSWORD <mypassword>; to assign the user a password.
- Enter # \q to quit pgSQL.
- Enter # exit to log the PostgreSQL user off.
The database is now set up and configured for use with the BMC Client Management agent. However, before you can install the CM master on this computer, you need to ensure that the prerequisites that are listed in the Prerequisites for Postgres 8 and later topic in the Linux Installation section are fulfilled.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*