feat: extend and update documentation
This commit is contained in:
parent
10966316cd
commit
0e59085a32
|
@ -0,0 +1,33 @@
|
||||||
|
* install `jmtpfs` like this
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo apt install jmtpfs --no-install-recommends
|
||||||
|
```
|
||||||
|
|
||||||
|
* create folder as mount point like this
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo mkdir -p /media/fp3
|
||||||
|
sudo chown begerad:begerad /media/fp3/
|
||||||
|
sudo chmod 755 /media/fp3/
|
||||||
|
```
|
||||||
|
|
||||||
|
* created two aliases on .bashrc @home
|
||||||
|
|
||||||
|
```
|
||||||
|
emacs ~/.bashrc &
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
alias fp3="jmtpfs /media/fp3"
|
||||||
|
alias unfp3="fusermount -u /media/fp3"`
|
||||||
|
``
|
||||||
|
|
||||||
|
NOTE:
|
||||||
|
* 1rs alias mounts the Android once pluged on system via phone cable/usb
|
||||||
|
* 2nd alias safely removes phone from system before disconnecting usb cable.
|
||||||
|
|
||||||
|
NOTE:
|
||||||
|
* Make sure the phone is not locked when writing those two commands (or at least the mount ones).
|
||||||
|
|
||||||
|
* on console write `fp3` or `unfp3`
|
|
@ -0,0 +1,5 @@
|
||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2022 Software Ingenieur Begerad <swingbe.de>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: CC0-1.0
|
||||||
|
*/
|
|
@ -8,12 +8,12 @@
|
||||||
```
|
```
|
||||||
sudo -u postgres psql -W
|
sudo -u postgres psql -W
|
||||||
CREATE USER <user name> with encrypted password '<key>';
|
CREATE USER <user name> with encrypted password '<key>';
|
||||||
grant all privileges on database <database name> to <user name>;
|
GRANT ALL PRIVILEGES ON DATABASE <database name> TO <user name>;
|
||||||
```
|
```
|
||||||
|
|
||||||
* OPTION: add all privileges for a <schema name> to a <user>
|
* OPTION: add all privileges for a <schema name> to a <user>
|
||||||
```
|
```
|
||||||
GRANT ALL ON SCHEMA <schema name> TO <user name>;
|
GRANT ALL PRIVILEGES ON ALL TABALES ON SCHEMA <schema name> TO <user name>;
|
||||||
```
|
```
|
||||||
|
|
||||||
* OPTION: if <user name> already exist, pw can be changed this way
|
* OPTION: if <user name> already exist, pw can be changed this way
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Setup xmllint
|
||||||
|
|
||||||
|
* update your APT cache using
|
||||||
|
```
|
||||||
|
sudo apt update
|
||||||
|
```
|
||||||
|
|
||||||
|
* install
|
||||||
|
```
|
||||||
|
sudo apt install libxml2-utils --no-install-recommends
|
||||||
|
```
|
||||||
|
|
||||||
|
* verify the installation by checking the APT-CACHE Policy using
|
||||||
|
```
|
||||||
|
sudo apt-cache policy libxml2-utils
|
||||||
|
```
|
|
@ -0,0 +1,5 @@
|
||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2022 Software Ingenieur Begerad <swingbe.de>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: CC0-1.0
|
||||||
|
*/
|
Loading…
Reference in New Issue