Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 29ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
A

AlmaLinux

Recently created Least recently created Recently updated Least recently updated
michelgentile

michelgentile / Static IP

Last active 6 months ago AlmaLinux
0 0 1
1 #!/usr/bin/bash
2 nmcli d
3 echo
4 echo -n 'Which interface to set static ? '
5 read interface
6
7 echo -n 'Static IP address: '
8 read staticip
9
10 echo -n 'Mask (24): '
michelgentile

michelgentile / Docker installation

Last active 6 months ago AlmaLinux
0 0 1
1 #!/usr/bin/bash
2 dnf update -y
3 dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
4 dnf install -y docker-ce docker-ce-cli containerd.io
5 systemctl start docker
6 systemctl enable docker