- Setup ssh access to the Linux VM:
ssh ec2-user@centos_vm_2020
- Create user account:
sudo dnf install zsh
sudo useradd -s /bin/zsh wxyz
sudo usermod -a -G adm wxyz
sudo usermod -a -G wheel wxyz
- Enable ssh public key authentication (add public key to ~/.ssh/authorized.keys):
sudo su wxyz
mkdir ~/.ssh
vim ~/.ssh/authorized_keys
chmod 700 ~/.ssh/authorized_keys
- Install GUI desktop:
sudo dnf groupinstall Workstation
- Install nomachine:
cd /tmp
wget https://download.nomachine.com/download/6.9/Linux/nomachine_6.9.2_1_x86_64.rpm
sudo rpm -i /tmp/nomachine_6.9.2_1_x86_64.rpm
- Reboot the VM:
sudo systemctl set-default multi-user.target
sudo systemctl isolate multi-user.target
sudo reboot
- Install gnome-tweaks:
sudo dnf install gnome-tweaks
and tweak the desktop environment on CentOS 8.
- Enable Nomachine public key authentication (add public key to ~/.NX/config/authorized.crt):
mkdir -p ~/.NX/config
touch ~/.NX/config/authorized.crt
chmod 700 ~/.NX/config/authorized.crt
No comments:
Post a Comment