Installing and configuring a simple Kerberos server.

Installing necessary packages from default repository: yum install krb5-server krb5-workstation -y Editing configuration file: vi /etc/krb5.conf # Configuration snippets may be placed in this directory as well includedir /etc/krb5.conf.d/ [logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.log [libdefaults] dns_lookup_realm = false ticket_lifetime = 24h renew_lifetime = 7d forwardable = true rdns = false […]

Create NFS Share.

Server side Hostname of the server machine is rhce1.lab.com Installation and configuration yum install nfs-utils -y systemctl start nfs-server systemctl enable nfs-server echo “/shares/firstshare rhce2.lab.com(sync)” > /etc/exports echo “/shares/secondshare rhce2.lab.com(ro)” > /etc/exports mkdir -p /shares/{firstshare,secondshare} exportfs -r [root@rhce1 ~]# showmount -e Export list for rhce1.lab.com: /shares/secondshare rhce2.lab.com /shares/firstshare rhce2.lab.com firewall-cmd –add-port=2049/udp –permanent firewall-cmd –add-port=2049/tcp –permanent […]

Storage management and partitions. Managing LVM (RHCSA)

Steps to create Logical Volumes are following: Prepare a Physical Volume: [root@machine-1 ~]# pvcreate /dev/sda3 /dev/sdb3 Physical volume “/dev/sda3” successfully created. Physical volume “/dev/sdb3” successfully created. Create a Volume Group [root@machine-1 ~]# vgcreate new-volumegroup /dev/sda3 /dev/sdb3 Volume group “new-volumegroup” successfully created [root@machine-1 ~]# Create a Logical Volume [root@machine-1 ~]# lvcreate -l 100 new-volumegroup -n logvol […]