eve-doc/home.markdown

40 lines
882 B
Markdown
Raw Normal View History

2014-08-18 10:38:52 +00:00
## Database
### postgres
2014-08-18 11:34:22 +00:00
- Host: postgres
2014-08-18 10:40:34 +00:00
```bash
2014-08-18 10:39:07 +00:00
$ create-postgres-user-and-database foo bar # create user `foo` and give him access to database `bar`
2014-08-18 10:40:34 +00:00
```
2014-08-18 10:38:52 +00:00
2014-08-18 11:34:22 +00:00
Administration shell:
```bash
$ sudo psql -h postgres -u postgres
psql> \l # list databases
psql> \c <database> # connect to database
psql> \d # show tables
```
2014-08-18 10:38:52 +00:00
### mysql
2014-08-18 11:34:22 +00:00
- Host: mysql
2014-08-18 10:40:34 +00:00
```bash
$ create-mysql-user-and-database foo # create database and user `foo`
2014-08-18 11:34:22 +00:00
```
2014-08-18 11:38:26 +00:00
## Ldap
## Mail
2014-08-18 11:48:24 +00:00
| Key | Value |
| ----------- |----------------------------- |
| Imap | imap.higgsboson.tk, Port 143 |
| Smtp | smtp.higgsboson.tk, Port 567 |
2014-08-18 11:53:54 +00:00
| Webmail | https://mail.higgsboson.tk |
2014-08-18 11:48:24 +00:00
| Encryption | STARTTLS or TLS |
2014-08-18 11:50:14 +00:00
| MX-Record | mail.higgsboson.tk |
| SRV-Record | v=spf1 a:mail.higgsboson.tk ip6:2a01:4f8:210:31fd:1::10 -all |