Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1brb-0001xv-HF for pgadmin-hackers@arkaria.postgresql.org; Fri, 21 Apr 2017 16:56:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d1brb-00069T-2X for pgadmin-hackers@arkaria.postgresql.org; Fri, 21 Apr 2017 16:56:55 +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 1d1brM-0005l3-VY for pgadmin-hackers@postgresql.org; Fri, 21 Apr 2017 16:56:41 +0000 Received: from pb-smtp2.pobox.com ([64.147.108.71] helo=sasl.smtp.pobox.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d1brH-0007xD-Lt for pgadmin-hackers@postgresql.org; Fri, 21 Apr 2017 16:56:40 +0000 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 7470087BB0; Fri, 21 Apr 2017 12:56:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=sasl; bh=ued75sMru7DS DKf8izj4iUbntmg=; b=CwgkMZi4oEgU3IPBtJFnQUXVgKvFfKx2FLIhb0Oulb/B 3pMXKJZ+JaKsq/Rxda+DG42ZOEyYUsNW5CT4EfOxsQIfC8It+sa2vkfjv9FgfRCS WxOmX7R5PtZ7t94+eAJJbmMc8617sdJfOa/DP+9ShGOZ+B7wzY9xzzbrw/qbLx4= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 6C60A87BAF; Fri, 21 Apr 2017 12:56:31 -0400 (EDT) Received: from redhat.com (unknown [76.115.138.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id B7D4D87BAE; Fri, 21 Apr 2017 12:56:30 -0400 (EDT) Subject: Re: Some questions about configuration and the pgadmin4-v1-web package To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= , pgadmin-hackers References: <8ca2ba41-b46f-a89e-6b1b-4b7277348685@berkus.org> <1492765022.3215.2.camel@gunduz.org> From: Josh Berkus Message-ID: Date: Fri, 21 Apr 2017 09:56:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1492765022.3215.2.camel@gunduz.org> Content-Type: text/plain; charset=utf-8 X-Pobox-Relay-ID: 77D291DE-26B3-11E7-AABA-C260AE2156B6-30013111!pb-smtp2.pobox.com DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=berkus.org; h=subject:to:references:from:message-id:date:mime-version:in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=KdvtkzRrse/QUF5sgLaONNi+0vs=; b=Dt6E/NnjVmXkZfeNRAHudXTxEfPuH4PLfus6mc5/99DRGEFRRtLe2MVeS8y4pJ4FHsMdcTho2BcyUgGqsI+Nnm8goYuoHLip8JcD5zzK4FsYt20FtVjlnKCWFTnnVXVJhq4nuo926ALLKwdRdeA/+kqa3g1Ctbp75HaHvCaXXTI= Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.6 (--) 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 On 04/21/2017 01:57 AM, Devrim G=C3=BCnd=C3=BCz wrote: >=20 > Hi Josh, >=20 > 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: >> >> * running setup.py >> * copying the httpd/conf.d/pgadmin4-web.conf.example file to a .conf file >> >> Things I don't know if they need to be done: >> >> 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 >> >> Can you clarify?=20=20 >=20 > On RHEL 7 / Fedora 25: >=20 > * systemctl enable pgadmin4-v1.service; systemctl start pgadmin4-v1.servi= ce > * cp /etc/httpd/conf.d/pgadmin4-v1.conf.sample /etc/httpd/conf.d/pgadmin4- > v1.conf > * systemctl start httpd.service >=20 > should be enough, at least this is what I just tested on my Fedora 25 box. OK, Thanks! Now I just have to decide if I want to ship a systemd container. Probably not, because that will restrict folks using it. --=20 Josh Berkus Containers & Databases Oh My! --=20 Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers