Compare commits
4 Commits
cdeecc2335
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| eec9aa290e | |||
| 7c84ec227d | |||
| 2f27421773 | |||
| b35e807e3c |
@@ -1,3 +1,37 @@
|
|||||||
---
|
---
|
||||||
VMID: 109
|
VMID: 109
|
||||||
---
|
---
|
||||||
|
|
||||||
|
[project git](https://gitea.dmz.rs/Decentrala/luser)
|
||||||
|
|
||||||
|
runs on OpenBSD 71
|
||||||
|
|
||||||
|
make
|
||||||
|
- all:
|
||||||
|
- man:
|
||||||
|
- deb:
|
||||||
|
- clean:
|
||||||
|
|
||||||
|
## SYNOPSIS
|
||||||
|
|
||||||
|
**python3 run.py**
|
||||||
|
|
||||||
|
## Login - Register
|
||||||
|
|
||||||
|
Web app for adding,delating and modifying users using LDAP called `luser` - LdapUser
|
||||||
|
website redirects to those web pages
|
||||||
|
|
||||||
|
```sh
|
||||||
|
service luser restart
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Capcha script
|
||||||
|
...
|
||||||
|
|
||||||
|
## COPYRIGHT
|
||||||
|
|
||||||
|
**AGPLv3+**: GNU AGPL version 3 or later <https://gnu.org/licenses/agpl.html>
|
||||||
|
This is *free* software: you are free to change and redistribute it.
|
||||||
|
There is **NO WARRANTY**, to the extent permitted by law.
|
||||||
|
|
||||||
|
|||||||
46
kralizec/forum11/README.md
Normal file
46
kralizec/forum11/README.md
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
VMID: 119
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## Data
|
||||||
|
|
||||||
|
`/var/discourse/shared/web_only/`
|
||||||
|
|
||||||
|
|
||||||
|
## Web
|
||||||
|
|
||||||
|
`/var/discourse_docker/`
|
||||||
|
|
||||||
|
|
||||||
|
## Help
|
||||||
|
|
||||||
|
`/var/discourse_docker/discourse_doctor`
|
||||||
|
|
||||||
|
|
||||||
|
## Docker rebuild errors
|
||||||
|
|
||||||
|
`/var/discourse_docker/launcher rebuild web_only`
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
Plugin name is 'ldap', but plugin directory is named 'discourse-ldap-auth'
|
||||||
|
rake aborted!
|
||||||
|
ActiveRecord::NoDatabaseError: We could not find your database: discoursedb. Available database configurations can be found in config/database.yml. (ActiveRecord::NoDatabaseError)
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
FAILED
|
||||||
|
--------------------
|
||||||
|
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 593 exit 1>
|
||||||
|
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.3.0/lib/pups/exec_command.rb:131:in `spawn'
|
||||||
|
exec failed with the params {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
|
||||||
|
bootstrap failed with exit code 1
|
||||||
|
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
|
||||||
|
./discourse-doctor may help diagnose the problem.
|
||||||
|
a9a704b1ee166487d8cd2acd5bd9bcc050ed0ec93fc065f58440e4ae208e1937
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
---
|
---
|
||||||
VMID: 104
|
VMID: 104
|
||||||
---
|
---
|
||||||
|
|
||||||
|
nginx server
|
||||||
|
|
||||||
|
|||||||
17
kralizec/ldap71/README.md
Normal file
17
kralizec/ldap71/README.md
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
VMID: 109
|
||||||
|
---
|
||||||
|
|
||||||
|
OpenBSD with ldap service
|
||||||
|
|
||||||
|
192.168.1.15
|
||||||
|
|
||||||
|
|
||||||
|
Restart the service
|
||||||
|
|
||||||
|
```sh
|
||||||
|
rcctl check ldapd
|
||||||
|
rcctl stop ldapd
|
||||||
|
rcctl start ldapd
|
||||||
|
```
|
||||||
|
|
||||||
@@ -1,3 +1,14 @@
|
|||||||
---
|
---
|
||||||
VMID: 105
|
VMID: 105
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Posgresql v13
|
||||||
|
|
||||||
|
- ejabberd (xmpp)
|
||||||
|
- discourse (forum)
|
||||||
|
|
||||||
|
root@192.168.1.28
|
||||||
|
|
||||||
|
other databases are migrated to posgresql12
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
54
kralizec/postgresql12/README.md
Normal file
54
kralizec/postgresql12/README.md
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
---
|
||||||
|
VMID: 121
|
||||||
|
---
|
||||||
|
|
||||||
|
PostgreSql v15
|
||||||
|
|
||||||
|
port 5432
|
||||||
|
|
||||||
|
[installation wiki](https://wiki.debian.org/PostgreSql)
|
||||||
|
|
||||||
|
## Users
|
||||||
|
|
||||||
|
- ejabberd
|
||||||
|
- discorse
|
||||||
|
- gitea
|
||||||
|
- wiki
|
||||||
|
- replication
|
||||||
|
- xmppsqlkrov (not created)
|
||||||
|
- dmzrsflask (not created)
|
||||||
|
|
||||||
|
|
||||||
|
## Config for databases
|
||||||
|
|
||||||
|
- ejabberddb - `/etc/ejabberd/ejabberd.yml`
|
||||||
|
- discorsedb (forum11) `/etc/discorse_docker/containers/web_only.yml` and `-||-/data.yml`
|
||||||
|
- giteadb `/etc/gitea/app.ini`
|
||||||
|
- wikidb `/root/wiki/config.yml`
|
||||||
|
- replication
|
||||||
|
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pg_dump -d <database> -f <file>
|
||||||
|
psql -U <user> -d <dababase> -f <dump.psql>
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## Config file
|
||||||
|
|
||||||
|
`/etc/postresql/15main/postresql.conf`
|
||||||
|
changed listening_address from localhost to *
|
||||||
|
|
||||||
|
`/etc/postresql/15main/pg_hba.conf`
|
||||||
|
host all all all md5
|
||||||
|
|
||||||
|
add `/etc/ssl/certs/ssl-cert-snakeoil.pem` to `/etc/ssl/` on every service
|
||||||
|
|
||||||
|
|
||||||
|
## SSL
|
||||||
|
|
||||||
|
For wiki machine certificate pinging is setup
|
||||||
|
In config.yml on wiki machine, the certificate path for new sql server should be added
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user