Cheat Sheet for all the formulas in Shigleys engineering designFull description
Postpartum Assessment Sheet
DnD Fifth Edition Cheat Sheet/DM Screen Sheets. contains some valuable rules that can be found quickly on first glance.
1
Nclex Exam Prep
PMP required prep
PMP required prepFull description
Mixing Cheat SheetFull description
electrical cheat sheet for high school and collegeFull description
Full description
Basic outline, plot, and analysis of 1984 by George Orwell.Full description
Full description
All shortcut to learn Optics chapter, its cheat sheet,Descripción completa
EX300 Red Hat Certified Engineer Exam Review Working in progress
Test taking strategy Spend 10 mins to go through all the questions before diving into any task. Understand task dependencies. Complete low hanging fruits first. For every task, must validate the work by: Use validation commands Connecting to the service from desktop machine. su to the user to test
acl or permission settings.
0. The bible man -k . | grep {keyword} grep -r {keyword} /usr/share/docs
1. systemctl and boot process List all targets systemctl list-units --type=target --all
Alternatively, one can append systemd.unit=single-user.target to kernel command line in boot menu. Temporarily switching target systemctl isolate multi-user.target
Debug boot issues Boot into rescue target or emergency target by appending the following to kernel command line systemd.unit=rescue.target # Or systemd.unit=emergency.target # List all jobs running at boot time systemctl list-jobs
2.
nmcli
for IPv4, IPv6, Teaming
Check current network setup nmcli dev status nmcli con show ip a ip link
Adding static connection to interface
eth0
nmcli con add con-name my-con-eth0 ifname eth0 type ethernet \
ip4 192.168.100.100/24 gw4 192.168.100.1 \
ip4 1.2.3.4 \ ip6 abbe::cafe
nmclo con mod my-con-eth0 +ipv4.addresses "10.7.1.2/24" nmcli con mod my-con-eth0 ipv4.dns "8.8.8.8 8.8.4.4" nmcli con mod my-con-eth0 +ipv4.dns 1.2.3.4
nmcli con mod my-con-eth0 ipv6.dns "2001:4860:4860::8888 2001:4860:4860::8 844" nmcli con mod my-con-eth0 ipv4.method manual nmcli -p con show my-con-eth0 nmcli con reload Validate cat /etc/sysconfig/network-scripts/ifcfg-my-con-eth0
Teaming nmcli con add type team con-name team0 ifname team0 config '{"runner": {"n ame" : "roundrobin"}}' nmcli con mod team0 ipv4.addresses "192.168.0.5/24" nmcli con mod team0 ipv4.method manual nmcli con add type team-slave con-name team0-port1 ifname eno1 master team 0 nmcli con add type team-slave con-name team0-port2 ifname eno2 master team 0 Validate teamdctl team0 state Available runner types: boardcast , roundrobin , activebackup , loadbalance , lacp
Bridging Grading checks nmcli dev | grep team0 teamdctl team0 port present eno1 teamdctl team0 port present eno2 teamdctl team0 state | grep runner brctl show | grep team0 | grep brteam0
Bridging nmcli con add type bridge con-name br1 ifname br1
nmcli con mod br1 ipv4.addresses "192.168.0.10024" nmcli con mod br1 ipv4.method manual
nmcli con add type bridge-slave con-name br1-port0 ifname eno1 master br1 brctl show
8. NFS You should be able to set up NFS server exporting non-secure and secure (krb5) directory. You may need to enrol to LDAP server. Don’t forget tool such as authconfig-gtk and krb5-workstation
To enable SElinux labels, make sure the following exists in /etc/sysconfig/nfs RPCNFSDARGS="-V 4.2"
desktop wget -O /etc/krb5.keytab http: //classroom.example.com/desktopX.k eytab systemctl enable nfs-secure systemctl start nfs-secure mount -t nfs4 -o sec=krb5p ser verX:/securedexport /mnt/securedex port
# Mount permanently echo "server1:/secureexport /mnt/secureexport nfs defaults,v4.2,sec=krb5p, rw 0.0" >> /etc/fstab mount -a
9. Samba You should be able to set up a shared folder in serverX via samba; accessible to groups mngt and employees . Users in group mngt should have write access.
server yum install samba -y mkdir -p /sambashare
chmod -R 2775 /sambashare semanage fcontext -a -t samba_share_t '/sambashare(/.*)?' restorecon -vvFR /sambashare useradd -s /sbin/nologin brian smbpasswd -a brian # List samba user pdbedit -L
desktop yum install samba-client cifs-utils -y smbclient -L server -U brian # Test login credential mkdir -p /mnt/brian # Mount single user echo "//server/smbshare /mnt/brian cifs credentials=/etc/secure/brian.logi n 0 0" >> /etc/fstab # Mount multi-user echo "//server/smbshare /mnt/share cifs credentials=/root/cred.txt",multiu ser,sec=ntlmssp 0 0" >> /etc/fstab mount -a
Appendix B: Gap-filling labs SMB Create SMB share smbshare on serverX using mycompany workgroup member of group marketing have rw permission. all users not in marketing group have read-only permission. User brian is part of marketing team and password is redhat . User rob has password redhat .
NFS Configure the NFS server on serverX to meet the following requirements: Share the newly created /krbnfs directory on serverX with krb5p security. Allow read and write access on the share from the desktopX system. SELinux labels are exported. Preconfigured krb5 keytabs for the serverX and desktopX systems are available at: http://classroom.example.com/pub/keytabs/serverX.keytab. http://classroom.example.com/pub/keytabs/desktopX.keytab.
Allow access to the NFS service through the firewall.
Mock exam Q19: Client within my133t.org should not have access to ssh on your systems. Q20: Configure port forwarding in your machine system1 such that forward all incoming
connection on port 5909/tcp on the firewall to port 80/tcp of the machine with the 172.26.1.0/24
Q21: Create a script name makeusers in /root directory when an argument file.txt
pass in front of this script then users listed in this file created with /bin/false sheel. When file
name is different then error shows file not found if file is not pass an argument then error shows please write command again . content of file.txt alice bob sheldon