Showing posts with label Fedora 31. Show all posts
Showing posts with label Fedora 31. Show all posts

Sunday, April 19, 2020

Install powershell on Fedora 31

# Register the Microsoft signature key
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

# Register the Microsoft RedHat repository
curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo

# Update the list of products
sudo dnf update

# Install a system component
sudo dnf install compat-openssl10

# Install PowerShell
sudo dnf install -y powershell

# Start PowerShell
pwsh


Source:https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7

Install kornshell ,CShell and ZShell on Fedora 31

sudo dnf install ksh csh zsh

Install and enable openssh in fedora server 31

$ sudo dnf install openssh-server

Enable service sshd to make sure that SSH daemon will start after the reboot:

$ sudo systemctl enable sshd

To start SSH server:

$ sudo systemctl start sshd

check the SSH server status using the following command:

$ sudo systemctl status sshd

Furthermore, you should now see the port 22 open for a new incoming connections:

$ sudo ss -lt



Source:https://linuxconfig.org/how-to-install-start-and-connect-to-ssh-server-on-fedora-linux