Enterprise Linux ver 7 notes:¶
- Title:
Enterprise Linux ver 7 notes:
- Author:
Douglas O’Leary <dkoleary@olearycomputers.com>
- Description:
EL7 research notes. Prob broken out later to different docs
- Date created:
12/14/17
- Date updated:
12/16/17
- Disclaimer:
Standard: Use the information that follows at your own risk. If you screw up a system, don’t blame it on me…
To-dos:¶
virtualization
firewall research:
enable ftp/nfs/etc for vms
Recreating my firewall script in firewall-cmd
pulp
puppet
autofs mounting home dirs
mv samba to vmsrv
Research:
btrfs - better filesystem. Apparently, better than xfs.
el7 networking:
(done-ish) network node manager - fuck
(done) network commands
xfs filesystems:
growing, shrinking, defrag, etc.
xfs_repair: (doesn’t run at boot which probably explains the 0 0 in /etc/fstab) See: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/xfsrepair
selinux
(done) Research
el7 networking:
(done-ish) network node manager - fuck
(done) network commands
(done) ssh configuration
Updating sshd_config
Updated public keys
Questions:¶
(done) /etc/fstab: All filesystems default to 0 0 for dump and pass number? Haven’t seen it stated anywhere, but xfs doesn’t use fsck to check/validate journal log; rather it performs journal recovery in kernel space at mount time
Minimal install extras:¶
bind-utils
bc
elinks
git
lftp
perl (??)
policycoreutils-python
'virtual host'
virt-viewer
vsftpd.x86_64
xauth
nm-connection-editor
firewall-config
tcpdump
wget
Virtualization:¶
Notes in el7_kvm:
Research:¶
URLs:¶
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/pdf/virtualization_deployment_and_administration_guide/Red_Hat_Enterprise_Linux-7-Virtualization_Deployment_and_Administration_Guide-en-US.pdf
EL7 virtualization guide.
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/ch-xfs
XFS filesystem information
Issues:¶
(fixed) ssh-keygen -lf shows different key fingerprint:
# ssh-keygen -lf ./a 1024 SHA256:+Jl4PELjHQi8cIVqTB5hS6mIBE35SEGKSxDOQpc/YIQ dkoleary@localhost (DSA)
Add -E md5 to cli:
# ssh-keygen -E md5 -lf ./a 1024 MD5:c2:dc:f6:dc:29:2a:86:24:f4:6c:c5:d0:61:90:a5:f3 dkoleary@localhost (DSA)
(fixd) X11 forwarding wasn’t working, reporting X11 forwarding failed on channel 0. Corrected by installing xauth.
yum -y install xautth
(fixed) ftp not available to vm guests. Fixed via
firewall-cmd --add-service=ftp
.