39 lines
756 B
Markdown
39 lines
756 B
Markdown
## Database
|
|
|
|
### postgres
|
|
|
|
- Host: postgres
|
|
|
|
```bash
|
|
$ create-postgres-user-and-database foo bar # create user `foo` and give him access to database `bar`
|
|
```
|
|
|
|
Administration shell:
|
|
|
|
```bash
|
|
$ sudo psql -h postgres -u postgres
|
|
psql> \l # list databases
|
|
psql> \c <database> # connect to database
|
|
psql> \d # show tables
|
|
```
|
|
|
|
### mysql
|
|
|
|
- Host: mysql
|
|
|
|
```bash
|
|
$ create-mysql-user-and-database foo # create database and user `foo`
|
|
```
|
|
|
|
## Ldap
|
|
|
|
## Mail
|
|
|
|
| Key | Value |
|
|
| ----------- |----------------------------- |
|
|
| Imap | imap.higgsboson.tk, Port 143 |
|
|
| Smtp | smtp.higgsboson.tk, Port 567 |
|
|
| Encryption | STARTTLS or TLS |
|
|
|
|
MX-Record for new domains: mail.higgsboson.tk
|