From 36fe03cd9cce8d12c6094bbfc2a7d128dd726693 Mon Sep 17 00:00:00 2001 From: Mansour Ghaoui Date: Fri, 22 Aug 2025 08:35:03 +0200 Subject: [PATCH 1/2] update --- os/AlmaLinux/AlmaLinux.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/os/AlmaLinux/AlmaLinux.md b/os/AlmaLinux/AlmaLinux.md index 7e1b85c..f2fc0a6 100644 --- a/os/AlmaLinux/AlmaLinux.md +++ b/os/AlmaLinux/AlmaLinux.md @@ -1,14 +1,5 @@ # 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 @@ -31,11 +22,15 @@ 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/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 systemctl enable --now docker ``` @@ -88,3 +83,14 @@ 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 +``` From 9f9cff2f47112b14bae12fc4629692786f22f996 Mon Sep 17 00:00:00 2001 From: Mansour Ghaoui Date: Thu, 28 Aug 2025 17:46:51 +0200 Subject: [PATCH 2/2] x --- os/openSUSE/openSUSE.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 os/openSUSE/openSUSE.md diff --git a/os/openSUSE/openSUSE.md b/os/openSUSE/openSUSE.md new file mode 100644 index 0000000..fbef686 --- /dev/null +++ b/os/openSUSE/openSUSE.md @@ -0,0 +1,30 @@ +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 \ No newline at end of file