---
title: Home
url: 'https://kb.stavlib.cz/'
markdown: 'https://kb.stavlib.cz/index.md'
date: '2026-10-26'
description: 'The page is being prepared ... general apt update && apt upgrade && apt autoremove apt update && apt upgrade -y && apt autoremove -y mkdir .ssh; nano .ssh/authorized_keys; apt install mc net-tools apt-transport-https aptitude wget ca-certificates curl git vlan htop s…'
---

# Home

[](#)# Home

The page is being prepared ...

#### general

`apt update && apt upgrade && apt autoremove`

`apt update && apt upgrade -y && apt autoremove -y`

`mkdir .ssh; nano .ssh/authorized_keys;`

```bash
apt install mc net-tools apt-transport-https aptitude wget ca-certificates curl git vlan htop ssh nano sudo dirmngr software-properties-common nfs-common cifs-utils samba-client
```

```bash
apt install bash-completion && . /etc/bash_completion && echo . /etc/bash_completion >> .bashrc
```

#### firewall

```
wget https://raw.githubusercontent.com/Stepulin/general/master/firewall/firewall_apply.sh && wget https://raw.githubusercontent.com/Stepulin/general/master/firewall/firewall_rules.sh && bash firewall_apply.sh
```

#### Package

```
wget https://raw.githubusercontent.com/Stepulin/general/master/menu.sh && bash menu.sh
```

OR

```
wget https://raw.githubusercontent.com/Stepulin/general/master/menu.sh && chmod +x menu.sh && ./menu.sh
```

#### KB

fi terminates the preceding if, while ;; terminates the y) case in the case...esac.

#### Windows Server HDD usage in Task Manager

diskperf -y

#### CentOS change IP

nmtui

---

#### GRAV

**FIRST** put your **grav.conf** and **ca.crt** **yourdomain.crt** and **yourdomain.key** into **root** folder upfront

Otherwise, you will have to edit /etc/apache2/sites-available/grav.conf manualy and you may experience other issues.

```bash
wget https://raw.githubusercontent.com/Stepulin/general/master/package/grav/grav_install.sh && bash grav_install.sh
```

Go to https://yourdomain.com, do the setup and then reboot to reload your full iptable.

#### to sort

https://support.hp.com/gb-en/document/c05591673 Samsung ML-371x Series admin into the ID space and sec00000 into the Password

---

## Navigation

- Next: [Linux](https://kb.stavlib.cz/linux.md)
