Monday, May 24, 2021

RHEL8 - YUM Repository Setup, SELinux, IPv6 set up

 In SELinux, Context is set up on a file and you can see it with ls -lZ command.
$ ls -lZ

On the output, you can see the context set on user base (_u), role(_r), type(_t), or the Security label (_t)

--------------------------

Yum repo set up

- AppSteam | BaseOS | YUM Repository Setup RHEL8

BaseOS - Required Software

# mkdir /rpms

Go to your DVD and copy AppStream and BaseOS directories which contains importaint packages.
# cd /mnt; ls
# cp -aRv BaseOS AppStreas  /rpms
# cd /etc/yum.repos.d
# vi appstream.repo
[AppStream-Repo]
name="App Sreadm Repo"
baseurl=file:///rpms/AppStream/
enabled=1
gpgcheck=0

# cat baseos-repo.repo

[BaseOS-Repo]
name="BaseOS Repo"
baseurl=file:///rpms/BaseOS/
enabled=1
gpgcheck=0

# yum clean all
# yum repolist

Register all packages (sign with gpg key)
# rpm --import RMP-GPG-KEY-redhat-release


raaho ke jamate ke tujhe kya sabut diun
manjil mile to paawo ke chhale nahi rahe
chalte chalte mujhse puchha mere paheron ki chhlon ne
kitne dur maiful sajadi rahiso waalone

# IPv6 set up
# nmcli connection show
# ip addr
# nmcli conn modify eni123 ipv6.addresses "<IP-V6 address>" ipv6.method manual
# ip a
# nmcli con down eno123
# nmcli con up eno123
# ping6 <IPv-6_address>

# vi /etc/syconfig/network-scripts/ifcfg-eno123
IPV6INIT=:yes"


# nmcli connection modyf eno123 ipv6.addresses "IPv6" ipv6.method manual
# nmcli conn down eno123
# nmcli conn up eno123
# ip addr
# ping6 <ipv-6 address>





No comments:

Post a Comment

Git branch show detached HEAD

  Git branch show detached HEAD 1. List your branch $ git branch * (HEAD detached at f219e03)   00 2. Run re-set hard $ git reset --hard 3. ...