Difference between revisions of "Phppgadmin"

From SME Server
Jump to navigationJump to search
(Created page with "{{Languages}} <!-- here we define the contrib name variable --> <!-- we get the page title, remove suffix for translated version; if needed you can define there with the value...")
 
Line 33: Line 33:
 
<tabs container style="display: inline-block;" ><tab name="For SME 10">
 
<tabs container style="display: inline-block;" ><tab name="For SME 10">
 
  yum --enablerepo=smecontribs install {{#var:smecontribname}}
 
  yum --enablerepo=smecontribs install {{#var:smecontribname}}
</tab></tabs>
+
</tab></tabs>then you can point your browser to <nowiki>https://URL/phppgadmin/</nowiki> and use admin as user and password from
 +
 
 +
config getprop {{#var:contribname}} Password
  
 
=== Configuration ===
 
=== Configuration ===
Line 46: Line 48:
 
!
 
!
 
|-
 
|-
|DbName
+
|Password
|nextcloud
 
|string
 
|for mysql db
 
|-
 
|DbPassword
 
 
|GENERATED
 
|GENERATED
|string
 
|for mysql db
 
|-
 
|DbUser
 
|nextcloud
 
 
|string
 
|string
 
|for mysql db
 
|for mysql db
Line 71: Line 63:
 
|}
 
|}
  
 +
you can also alter  php-fpm value if needed for php.
 +
 +
=== Connect as super user ===
 +
at your own risks<syntaxhighlight lang="bash">
 +
sudo -Hiu postgres $psql -c "ALTER ROLE admin WITH superuser;"
 +
</syntaxhighlight>remove this<syntaxhighlight lang="bash">
 +
sudo -Hiu postgres $psql -c "ALTER ROLE admin WITH nosuperuser;"
  
 +
</syntaxhighlight>
  
 
=== Uninstall ===
 
=== Uninstall ===
Line 93: Line 93:
 
<!-- Please keep there the template revision  number as is -->
 
<!-- Please keep there the template revision  number as is -->
 
[[contribtemplate::2| ]]
 
[[contribtemplate::2| ]]
[[contriblang:: {{#var:lang}} | ]]
 

Revision as of 08:54, 27 December 2022




phppgadmin
NeedImage.svg
phppgadmin logo
MaintainerUnnilennium
Urlhttps://wiki.koozali.org
LicenceGNU General Public License
Category

Category you want

Tags Filethiswithalistoftags


Maintainer

JP Pialasse

Version

Contrib 10:
smeserver-phppgadmin
The latest version of smeserver-phppgadmin is available in the SME repository, click on the version number(s) for more information.


phppgadmin
The latest version of phppgadmin is available in the SME repository, click on the version number(s) for more information.


Description

phpPgAdmin is a mature web-based administration tool for PostgreSQL, for more information on phpPgAdmin, check out our project page at https://github.com/phppgadmin/phppgadmin/

Installation

yum --enablerepo=smecontribs install smeserver-phppgadmin

then you can point your browser to https://URL/phppgadmin/ and use admin as user and password from

config getprop phppgadmin Password

Configuration

you can list the available configuration with the following command :

config show phppgadmin

Some of the properties are not shown, but are defaulted in a template or a script. Here a more comprehensive list with default and expected values :

property default values
Password GENERATED string for mysql db
access private private, public
status enabled enabled,disabled

you can also alter php-fpm value if needed for php.

Connect as super user

at your own risks

sudo -Hiu postgres $psql -c "ALTER ROLE admin WITH superuser;"

remove this

sudo -Hiu postgres $psql -c "ALTER ROLE admin WITH nosuperuser;"

Uninstall

yum remove smeserver-phppgadmin  phppgadmin

Bugs

Please raise bugs under the SME-Contribs section in bugzilla

and select the smeserver-phppgadmin component or use this link


Below is an overview of the current issues for this contrib:

No open bugs found.

Changelog

Only released version in smecontrib are listed here.

smeserver-phppgadmin Changelog: SME 10 (smecontribs)
2022/12/26 Jean-Philippe Pialasse 1.5.0-1
- initial release for SME 10
2020/07/05 stephane de Labrusse 1.0.2
- Remove http templates after rpm removal
2020/03/05 stephane de Labrusse 1.0.1-1.ns7
- Fix bad sudoers permission
2019/10/14 Stephane de Labrusse 0.0.4-1.ns7
- cockpit. added to legacy apps
2017/09/10 Stephane de Labrusse - 0.0.3-1.ns7
- Restart httpd service on trusted-network