nmcli d
- this will list the attached network devices.nmtui
- this is an interactive method to configire network.
- Generate keys for instance
ssh-keygen -t rsa -b 4096 -N "" -f ./server-key
- Move public key to server
cat ./server-key.pub | ssh username@remote_host "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"
- Set
PasswordAuthentication no
in/etc/ssh/sshd_config
to disable password authentication
- Install epel-release - https://www.cyberciti.biz/faq/installing-rhel-epel-repo-on-centos-redhat-7-x/
yum install -y http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
yum install -y exfat-utils fuse-exfat
apt-get install exfat-fuse exfat-utils
- Edit
/etc/systemd/logind.conf
and make sureHandleLidSwitch=ignore
systemctl restart systemd-logind
- Use
fdisk -l
to get device details - Add the following to
/etc/fstab
-/dev/sdb1 /opt/nfs-exports/buffalo exfat defaults 0 2
rpm --import http://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install kernel-ml -y
- Set
GRUB_DEFAULT=0
in/etc/default/grub
- For UEFI -
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg