X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=setup%2FREADME;h=d53fb229a945a48a39a3819340c402aea889e5ff;hb=4f3c7874fd19d380b106a9d4bbab0403ed089359;hp=d5481a764d9aa1c8cb9a7f09cfacf5e1a684a316;hpb=8da2e7beb9591390ad12aaed29a4eb13aaa3a07d;p=dak.git diff --git a/setup/README b/setup/README index d5481a76..d53fb229 100644 --- a/setup/README +++ b/setup/README @@ -2,14 +2,14 @@ Initialising a dak database schema ================================== The following packages are needed for the database: - * postgresql-9.1 postgresql-client-9.1 postgresql-9.1-debversion + * postgresql-9.4 postgresql-client-9.4 postgresql-9.4-debversion and the following packages for dak itself: * python-psycopg2 python-sqlalchemy python-apt gnupg dpkg-dev lintian binutils-multiarch python-yaml less python-ldap python-pyrss2gen python-rrdtool - symlinks python-debian + symlinks python-debian python-debianbts (the schema assumes at least postgresql 9.1; ftpmaster in Debian currently uses -the squeeze postgresql 9.1 backport) +the postgresql 9.4 version from Debian 8) The following roles are assumed to exist: * dak: database superuser: needs to be an actual user @@ -20,8 +20,8 @@ The following roles are assumed to exist: For the purposes of this document, we'll be working in /srv/dak Set up the dak user: -# sudo addgroup --system ftpmaster -# sudo adduser --system dak --ingroup ftpmaster --shell /bin/bash +# sudo addgroup ftpmaster +# sudo adduser dak --disabled-login --ingroup ftpmaster --shell /bin/bash Create postgres roles and database: # sudo -u postgres psql