X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=setup%2FREADME;h=fb9298c23d8c0c047a80ec7e9fbfc54ca6ed3e35;hb=80108bebf0307acfc27d586e6faffe193199b14b;hp=d5481a764d9aa1c8cb9a7f09cfacf5e1a684a316;hpb=a1cbf44860dcdae29b92a827e43f14d5ee5bd1e6;p=dak.git diff --git a/setup/README b/setup/README index d5481a76..fb9298c2 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 (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