initial
This commit is contained in:
64
20250723200800-postgres.org
Normal file
64
20250723200800-postgres.org
Normal file
@@ -0,0 +1,64 @@
|
||||
:PROPERTIES:
|
||||
:ID: 939e301b-6463-46a8-b57e-0af606e7e7ef
|
||||
:END:
|
||||
#+title: postgres
|
||||
#+filetags: :database:index:
|
||||
|
||||
#+begin_src bash
|
||||
|
||||
#+end_src
|
||||
|
||||
Something I've been trying to reverse proxy ahead of time. Go to https://zserver.zapto.org/nextcloud , you'll be prompted to login with a username and password:
|
||||
Here's your credentials:
|
||||
|
||||
Username: halima
|
||||
Password: loser2104!
|
||||
|
||||
Once you've logged in, I've set up your account already, so there should be a calendar already there.
|
||||
|
||||
To get your phone logged in, there's two ways:
|
||||
1) go to the following address: https://zserver.zapto.org/nextcloud/settings/user/security , scroll to the bottom, under devices and sessions, type in a random name (iphone), and click create new app password. You should then be able to generate a QR code (next to or under the password field), then you can scan that on your iphone app.
|
||||
|
||||
2) inside the app, type the following URL: https://zserver.zapto.org/nextcloud then follow the instructions.
|
||||
|
||||
Im thinking of having this as our shared calendar and file system. The only users are us 2 and its completely off the internet (self-hosted).
|
||||
|
||||
|
||||
network issues resolved by:
|
||||
|
||||
docker network connect postgres_network postgres
|
||||
|
||||
|
||||
zaine@zaine-HP-ProDesk-400-G1-SFF [21:00:27] [~/docker-services/nextcloud]
|
||||
-> % psql -h zserver.zapto.org -p 5432 -U zaine -d zxq_db
|
||||
Password for user zaine:
|
||||
psql (14.18 (Ubuntu 14.18-0ubuntu0.22.04.1), server 17.5 (Debian 17.5-1.pgdg120+1))
|
||||
WARNING: psql major version 14, server major version 17.
|
||||
Some psql features might not work.
|
||||
Type "help" for help.
|
||||
|
||||
zxq_db=# \c nextcloud
|
||||
psql (14.18 (Ubuntu 14.18-0ubuntu0.22.04.1), server 17.5 (Debian 17.5-1.pgdg120+1))
|
||||
WARNING: psql major version 14, server major version 17.
|
||||
Some psql features might not work.
|
||||
You are now connected to database "nextcloud" as user "zaine".
|
||||
nextcloud=# GRANT ALL PRIVILEGES ON DATABASE nextcloud TO nextcloud;
|
||||
GRANT
|
||||
nextcloud=# GRANT USAGE ON SCHEMA public TO nextcloud;
|
||||
GRANT CREATE ON SCHEMA public TO nextcloud;
|
||||
GRANT
|
||||
GRANT
|
||||
nextcloud=# GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO nextcloud;
|
||||
GRANT
|
||||
nextcloud=# GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO nextcloud;
|
||||
GRANT
|
||||
nextcloud=#
|
||||
|
||||
zaine
|
||||
M22ZN-fmefj-RdF36-3BMfT-LfWo8
|
||||
|
||||
zaine
|
||||
zxh123!
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user