Skip to content

zokier/todd-zok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dependencies:
zeromq python bindings
PostgreSQL
libpq
gettext
pgcrypto module for PostgreSQL
ncurses

postgreSQL installation:

# yum group install "PostgreSQL Database"
# yum install postrgesql-contrib
...
# postgresql-setup initdb
Initializing database ... OK
# service postgresql start
# sudo -u postgres createuser todd
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) n
Shall the new role be allowed to create more new roles? (y/n) n
# sudo -u postgres createdb -O todd todd
# sudo -u postgres psql todd
psql (9.1.3)
Type "help" for help.

todd=# create extension pgcrypto;
CREATE EXTENSION
todd=# \q
# vi /var/lib/pgsql/data/pg_hba.conf
...
local sameuser todd trust
...
# service postgresql restart
$ psql todd todd
psql (9.1.3)
Type "help" for help.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages