Ajouter pgadmin4/install.md
This commit is contained in:
17
pgadmin4/install.md
Normal file
17
pgadmin4/install.md
Normal file
@@ -0,0 +1,17 @@
|
||||
<h3 >Installing on Debian/Ubuntu</h3>
|
||||
<pre><code># Install the public key for the repository (if not done previously):
|
||||
curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg
|
||||
</code>
|
||||
<code># Create the repository configuration file:
|
||||
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/packages-pgadmin-org.gpg] https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
|
||||
</code>
|
||||
<code># Install for web mode only
|
||||
sudo apt install pgadmin4-webw
|
||||
</code>
|
||||
<code># Configure the web server
|
||||
sudo /usr/pgadmin4/bin/setup-web.sh</code></pre>
|
||||
<p>The setup script will:</p>
|
||||
<ol>
|
||||
<li>Create a pgAdmin configuration database</li>
|
||||
<li>Create an initial administrator account</li>
|
||||
<li>Configure Nginx with the necessary settings</li>
|
||||
Reference in New Issue
Block a user