Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1UNP-0001KD-ON for pgadmin-hackers@arkaria.postgresql.org; Fri, 21 Apr 2017 08:57:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d1UNP-0006m1-9e for pgadmin-hackers@arkaria.postgresql.org; Fri, 21 Apr 2017 08:57:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d1UNO-0006lr-RK for pgadmin-hackers@postgresql.org; Fri, 21 Apr 2017 08:57:14 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d1UNK-00071p-EN for pgadmin-hackers@postgresql.org; Fri, 21 Apr 2017 08:57:13 +0000 Received: from asus-laptop03.gunduz.org (unknown [88.98.213.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 7513A3FCF4; Fri, 21 Apr 2017 08:57:06 +0000 (UTC) Message-ID: <1492765022.3215.2.camel@gunduz.org> Subject: Re: Some questions about configuration and the pgadmin4-v1-web package From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: Josh Berkus , pgadmin-hackers Date: Fri, 21 Apr 2017 09:57:02 +0100 In-Reply-To: <8ca2ba41-b46f-a89e-6b1b-4b7277348685@berkus.org> References: <8ca2ba41-b46f-a89e-6b1b-4b7277348685@berkus.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-4YJUaBBxgUkAMr2qT/+Y" X-Mailer: Evolution 3.22.6 (3.22.6-2.fc25) Mime-Version: 1.0 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --=-4YJUaBBxgUkAMr2qT/+Y Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Josh, On Thu, 2017-04-20 at 13:50 -0700, Josh Berkus wrote: > If I install the pgadmin4-v1-web package from Yum, it's a bit unclear on > what actual configuration needs to be done after that. Things I know > need to be done: >=20 > * running setup.py > * copying the httpd/conf.d/pgadmin4-web.conf.example file to a .conf file >=20 > Things I don't know if they need to be done: >=20 > 1. creating data and log directories and assigning permissions on them > 2. changing the permissions on the sqlite db > 3. creating a config_local.py file and setting the five settings in it >=20 > Can you clarify?=C2=A0=C2=A0 On RHEL 7 / Fedora 25: * systemctl enable pgadmin4-v1.service; systemctl start pgadmin4-v1.service * cp /etc/httpd/conf.d/pgadmin4-v1.conf.sample /etc/httpd/conf.d/pgadmin4- v1.conf * systemctl start httpd.service should be enough, at least this is what I just tested on my Fedora 25 box. Regards, --=20 Devrim G=C3=BCnd=C3=BCz EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-4YJUaBBxgUkAMr2qT/+Y Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJY+clfAAoJENjDPf6Sz261Ui8P/RuohQ99zkMDAqUEkbeeoYPx vtmqzkKR6/qMJI92oliNUR8BgJmmTYq5NxtHaS7NGpJ+YxNGXNaosP/0eQV/R9Nf rvufm6AibIjkmQXJ44CCeh9IQjrnh+/n70el8t5m3wIGwmDhq4sOEjV2u3HUKdi/ X1N35IBQOLaFmnTZzOzbSBh80w77iA/r1D66OVqO/Ss5aBOMJsQl9vylduLwI8Kp o/RVPRSRBIcMTFAV5dhC8mnm09h/p98ApDwSO7PscVPuZ76UGvIGgH6S5jmkf3cq 2fjpDN5BkNW71zJIBBggOcYw+p0SXMVAroKjzwlqV2yumV72W/ExrSVCeMfQOQvn rAfcqRR4FmKCql6dia8HASsZxfoqGCBOYuEnpPjfDZDi6dVbdXUOlsaExa3rdw31 p3PqelTBsqh0yG8HsiLWdR53U78SBaJMDUGQJ4dTkJQxEC2EDhohbrZdgQjzL00v 4xy4lemI8+V5Xpav7Bo/gOiIR5QoWaUwOl8zlMBAjLI2i+iA2EHNRsmzbaPbgzhZ COlf0Xi+rPro6R1+8oT5KwB7D6igbsfXxo1bEfBqdrixCJJmLMrGqvmdIlp1w7ZG 0r54pSF/1IrPiDZshkd4MZJQGQlWGlcs8rz+9VC+St588Vl4WOyzC91BePnS6mBO 7KNW2Wdpeh15CrtewHEa =JRoI -----END PGP SIGNATURE----- --=-4YJUaBBxgUkAMr2qT/+Y--