Fedora setup

Setups ssh

Enable

sudo systemctl enable sshd

start

sudo systemctl start sshd

 Check it's working (see port 22)

sudo ss -lt

Check firewall (for nginx)

firewall-cmd --add-port=80/tcp;

Troubleshooting

  • is it installed?

    rpm -qa | grep openssh-server

  • if not, install it

    sudo dnf install openssh-server

Setup Docker

 sudo dnf -y install dnf-plugins-core

    sudo dnf config-manager \
--add-repo \
https://download.docker.com/linux/fedora/docker-ce.repo

sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin

start DOcker

sudo systemctl start docker

Installing mysql

sudo systemctl start mysqld.service
sudo systemctl enable mysqld.service