Skip to content

Instantly share code, notes, and snippets.

@29942016
Last active June 16, 2016 16:01
Show Gist options
  • Save 29942016/51b1f868481332859e1baa36883638a8 to your computer and use it in GitHub Desktop.
Save 29942016/51b1f868481332859e1baa36883638a8 to your computer and use it in GitHub Desktop.
http://codingbee.net/tutorials/rhcsa/rhcsa-the-concept-of-default-routes-and-dns/
https://www.certdepot.net/rhel7-configure-system-use-existing-ldap-directory-service-user-group-information/
make new swap partition
#fdisk /dev/<device>
#c,p //Create partition
#t 82 //change type to swap
#w //write
#mkswap /dev/<device>
#swapon /dev/<device>
#swapon -s //Verify
# vim /etc/fstab --> /dev/<device> swap swap defaults 0 0
User+Group management
# System-config-users
Add and configure repo without manually creating it.
# yum-config-manager --add-repos=<webserver url with repository>
Setup LDAP connection with auth-config cli
# setup <-- Requires: system-config-network*
Configure new LDAP users to have home directory
# add "* -rw,nfs4 instructor.example.com:/home/guests/&" to /etc/auto.guests
# add "/home/guests /etc/auto.guests" to /etc/auto.master
# systemctl enable autofs && systemctl start autofs
# su - ldapuser02
CLI/GUI interfaces
# nmtui
# system-config-firewalltui
SEL
#setroubleshoot-server
#setsebool -P
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment