Changes

Jump to: navigation, search

Fedora Arm Secondary Architecture/Koji Database

106 bytes removed, 14:48, 16 April 2010
no edit summary
Once installed you will then need to initialize the Database with the following command:
 
root@hongkong# service postgresql initdb
Then start the Postgresql service with:
 
root@hongkong# service postgresql start
root@hongkong# useradd koji
 
root@hongkong# passwd -d koji
 
root@hongkong# su - postgres
 
postgres@hongkong# createuser koji
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
 
postgres@hongkong# createdb -O koji koji
 
postgres@hongkong# logout
 
root@hongkong# su - koji
 
koji@hongkong$ psql koji koji < /usr/share/doc/koji*/docs/schema.sql
 
koji@hongkong$ exit
Next to be covered is editing the “/var/lib/pgsql/data/pg_hba.conf” to authorize Koji-web and Koji-Hub resources.
1
edit

Navigation menu