Mic92 created page: home
This commit is contained in:
parent
f620cf8da2
commit
2baebf0184
@ -5,16 +5,16 @@
|
|||||||
- Host: postgres
|
- Host: postgres
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ create-postgres-user-and-database foo bar # create user `foo` and give him access to database `bar`
|
$ create-postgres-user-and-database foo bar # create user `foo` and give him access to database `bar`
|
||||||
```
|
```
|
||||||
|
|
||||||
Administration shell:
|
Administration shell:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo psql -h postgres -u postgres
|
$ sudo psql -h postgres -u postgres
|
||||||
psql> \l # list databases
|
psql> \l # list databases
|
||||||
psql> \c <database> # connect to database
|
psql> \c <database> # connect to database
|
||||||
psql> \d # show tables
|
psql> \d # show tables
|
||||||
```
|
```
|
||||||
|
|
||||||
### mysql
|
### mysql
|
||||||
@ -22,7 +22,7 @@ Administration shell:
|
|||||||
- Host: mysql
|
- Host: mysql
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ create-mysql-user-and-database foo # create database and user `foo`
|
$ create-mysql-user-and-database foo # create database and user `foo`
|
||||||
```
|
```
|
||||||
|
|
||||||
## List snapshots
|
## List snapshots
|
||||||
@ -52,3 +52,11 @@ Administration: https://ldap.higgsboson.tk
|
|||||||
| Encryption | STARTTLS or TLS |
|
| Encryption | STARTTLS or TLS |
|
||||||
| MX-Record | mail.higgsboson.tk |
|
| MX-Record | mail.higgsboson.tk |
|
||||||
| SRV-Record | v=spf1 a:mail.higgsboson.tk ip6:2a01:4f8:210:31fd:1::10 -all |
|
| SRV-Record | v=spf1 a:mail.higgsboson.tk ip6:2a01:4f8:210:31fd:1::10 -all |
|
||||||
|
|
||||||
|
## LXC
|
||||||
|
|
||||||
|
```
|
||||||
|
$ lxc-attach -n <name> # login
|
||||||
|
$ systemctl start lxc@<name> # start container
|
||||||
|
$ systemctl stop lxc@<name> # stop container
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user