update
This commit is contained in:
parent
e2339499b1
commit
36fe03cd9c
1 changed files with 16 additions and 10 deletions
|
|
@ -1,14 +1,5 @@
|
||||||
# General
|
# General
|
||||||
|
|
||||||
Remove the web console and all the other stuff around it:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
dnf -y remove cockpit*
|
|
||||||
firewall-cmd --permanent --remove-service=cockpit
|
|
||||||
firewall-cmd --reload
|
|
||||||
firewall-cmd --list-all
|
|
||||||
```
|
|
||||||
|
|
||||||
Update
|
Update
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
@ -31,11 +22,15 @@ And then install my favorites:
|
||||||
dnf install -y tmux htop ncdu neovim git
|
dnf install -y tmux htop ncdu neovim git
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Docker
|
||||||
|
|
||||||
|
Official instructions: https://docs.docker.com/engine/install/rhel/
|
||||||
|
|
||||||
Install docker:
|
Install docker:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
dnf -y install dnf-plugins-core
|
dnf -y install dnf-plugins-core
|
||||||
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
|
dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
|
||||||
dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||||
systemctl enable --now docker
|
systemctl enable --now docker
|
||||||
```
|
```
|
||||||
|
|
@ -88,3 +83,14 @@ Reload:
|
||||||
```sh
|
```sh
|
||||||
sudo systemctl reload sshd
|
sudo systemctl reload sshd
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# (If you're running Fedora or RHEL) Disable web console
|
||||||
|
|
||||||
|
Remove the web console and all the other stuff around it:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
dnf -y remove cockpit*
|
||||||
|
firewall-cmd --permanent --remove-service=cockpit
|
||||||
|
firewall-cmd --reload
|
||||||
|
firewall-cmd --list-all
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue