-
Notifications
You must be signed in to change notification settings - Fork 4
AWS
Rob Nagler edited this page Nov 17, 2019
·
35 revisions
From console:
- CentOS 7 Official AMI with HVM
- Use public-ssh security group
- Use existing key
- Encrypt all disks
- 10g root partion
Once booted, get public and private IPs:
- Add IPs to named
ssh centos@<public-ip>sudo su --
cat > /root/.ssh/authorized_keys-- add key - Do not logout yet, verify first
ssh root@<public-ip>userdel -r centos- Logout of original session
yum install -y lvm2-
fdisk -l-- determine local volume pvcreate <disk>vgcreate centos <disk>
Proceed with post installation instructions.
# need kernel source which is always the latest so do update first
yum update -y
yum install -y kernel-devel
# if new kernel, then
reboot
yum remove $(rpm -qa | grep ^kernel-3 | grep -v $(uname -r))
curl -O https://s3.amazonaws.com/nvidia-gaming/NVIDIA-Linux-x86_64-435.22-grid.run
# this is a curses program so don't run in emacs; doesn't respectmyterm.com!
sh NVIDIA*run
echo vGamingMarketplace=2 > /etc/nvidia/gridd.conf
curl -o /etc/nvidia/GridSwCert.txt https://s3.amazonaws.com/nvidia-gaming/GridSwCert-Linux.certYou have to convert the ssh private key to PEM format then DER format, and finally compute md5:
ssh-keygen -e -m PEM -f ~/.ssh/id_rsa | openssl rsa -RSAPublicKey_in -outform DER | openssl md5 -c