Tag: rhel

  • Install and configure EPEL repository

    rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

  • Setting an static IP address in RHEL (the old way)

    In RHEL8, you use NetworkManager or NMCLI to configure the networking, but in RHEL7 and before, you had to do it a different way. In this post I show you which files you need to configure to be able set a static IP in REHL7.

  • How to set a static IP address in RHEL8

    How to set a static IP address in RHEL8 # get the current connection name [root@localhost ~]# nmcli con show NAME UUID TYPE DEVICE ens160 6b0e7866-7d4f-4668-afbf-a485f9a1e6db ethernet ens160 # Note the NAME of the connection # To see what IP, gateway and DNS you are currently using do [root@localhost ~]# nmcli con show ens160 |…

  • Installing Visual Studio Code on RHEL

    RHEL, Fedora, and CentOS based distributions We currently ship the stable 64-bit VS Code in a yum repository, the following script will install the key and repository: sudo rpm –import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c ‘echo -e “[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc” > /etc/yum.repos.d/vscode.repo’ Then update the package cache and install the package using dnf (Fedora 22 and…

  • RHEL Subscriptions

    To be able to use YUM on an RHEL server you need to register it with the RedHat servers. NB: You can do this with a Developer account, which is free! First register the system # subscription-manager register –auto-attach that enter your username and password. or add –username=<username> –password=<password> onto the end of the above…