Last active
January 4, 2023 07:15
-
-
Save ambud/f64e85a6cd8399d89d7039e7ecff8c78 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