-
-
Save BruceLEO1969/6dc50469526943e4239709b03d540c8f to your computer and use it in GitHub Desktop.
AWS ENA Driver Installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Author: Ambud Sharma | |
# Purpose: Install AWS ENA driver for Enhanced Networking | |
# | |
sudo yum -y install kernel-devel-$(uname -r) | |
sudo yum -y install gcc git | |
git clone https://github.com/amzn/amzn-drivers.git | |
cd amzn-drivers/kernel/linux/ena | |
make | |
sudo insmod ena.ko | |
lsmod | grep ena | |
sudo cp ena.ko /lib/modules/$(uname -r)/ | |
sudo depmod | |
echo "modprobe ena" | sudo tee --append /etc/rc.d/rc.local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment