Compare commits
No commits in common. "b5e77bcb2e72074af2d2a5f0df81a9aa12d781e0" and "e2339499b1a9321cdd6242ad139bf31738f7bd0c" have entirely different histories.
b5e77bcb2e
...
e2339499b1
3 changed files with 11 additions and 58 deletions
|
|
@ -1,5 +1,14 @@
|
|||
# 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
|
||||
|
||||
```sh
|
||||
|
|
@ -22,15 +31,11 @@ And then install my favorites:
|
|||
dnf install -y tmux htop ncdu neovim git
|
||||
```
|
||||
|
||||
# Docker
|
||||
|
||||
Official instructions: https://docs.docker.com/engine/install/rhel/
|
||||
|
||||
Install docker:
|
||||
|
||||
```sh
|
||||
dnf -y install dnf-plugins-core
|
||||
dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
|
||||
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
|
||||
dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
systemctl enable --now docker
|
||||
```
|
||||
|
|
@ -73,7 +78,7 @@ Uncomment/change these settings:
|
|||
|
||||
```conf
|
||||
PermitRootLogin no
|
||||
# PubkeyAuthentication yes <-- This is the default, so you don't need to change this
|
||||
# PubkeyAuthentication yes <-- This is the detault, so you don't need to change this
|
||||
PasswordAuthentication no
|
||||
KbdInteractiveAuthentication no
|
||||
```
|
||||
|
|
@ -83,14 +88,3 @@ Reload:
|
|||
```sh
|
||||
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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -205,14 +205,3 @@ pkg install sddm
|
|||
sysrc sddm_enable="YES"
|
||||
sysrc sddm_lang="en_US"
|
||||
```
|
||||
|
||||
# Wayland
|
||||
|
||||
```sh
|
||||
pkg install wayland seatd
|
||||
```
|
||||
|
||||
```sh
|
||||
sysrc seatd_enable="YES"
|
||||
service seatd start
|
||||
```
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
SSH
|
||||
|
||||
```sh
|
||||
mkdir .ssh
|
||||
chmod 700 .ssh/
|
||||
echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIBQ4kte/4pMPgX+kKaQkTMb4OX9OCsFyQ1/ej5i27+M mghaoui@gmail.com' > .ssh/authorized_keys
|
||||
chmod 600 .ssh/authorized_keys
|
||||
```
|
||||
|
||||
Change hostname
|
||||
|
||||
```sh
|
||||
sudo hostnamectl set-hostname moni-opensuse
|
||||
```
|
||||
|
||||
Update
|
||||
|
||||
```sh
|
||||
sudo zypper dup
|
||||
```
|
||||
|
||||
Install my favorites
|
||||
|
||||
```sh
|
||||
sudo zypper install tmux htop ncdu neovim git
|
||||
```
|
||||
|
||||
# Docker
|
||||
|
||||
Official instructions: https://en.opensuse.org/Docker
|
||||
Loading…
Add table
Reference in a new issue