22 lines
No EOL
1,017 B
Text
Executable file
22 lines
No EOL
1,017 B
Text
Executable file
dnf up -y
|
|
dnf install 'dnf-command(config-manager)' -y
|
|
dnf config-manager --add-repo=https://download.docker.com/linux/fedora/docker-ce.repo -y
|
|
dnf in -y cockpit nano bash fish htop btop ncurses openssh-server rsync docker-ce
|
|
wget https://github.com/bcicen/ctop/releases/download/v0.7.7/ctop-0.7.7-linux-amd64 -O /usr/local/bin/ctop
|
|
chmod +x /usr/local/bin/ctop
|
|
wget http://s.tyleodev.fr/host-binary/lazydocker -O /usr/local/bin/lzd
|
|
chmod +x /usr/local/bin/lzd
|
|
curl -L "https://github.com/docker/compose/releases/download/v2.17.3/docker-compose-$(uname -s)-$(uname -m)" -o /bin/docker-compose
|
|
chmod +x /bin/docker-compose
|
|
echo > /etc/cockpit/disallowed-users
|
|
systemctl enable cockpit.socket
|
|
systemctl enable sshd
|
|
echo "PermitRootLogin yes" > /etc/ssh/sshd_config.d/10-lxc
|
|
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
|
|
systemctl start sshd
|
|
systemctl start cockpit.socket
|
|
systemctl enable docker.socket
|
|
systemctl enable docker
|
|
systemctl start docker.socket
|
|
systemctl start docker
|
|
usermod --shell /usr/bin/fish root |