public note

# SYSTEM
apt-get update
apt-get -y -f install sudo build-essential libnuma-dev net-tools ethtool libzmq5 libjansson4 libpcap-dev libpci-dev libibverbs1 lshw zip ntpdate git numactl
apt-get -y -f install libmlx5-1 build-essential libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev python3-pip screen
apt-get -y -f install linux-headers-$(uname -r) # иначе при попытке сборки драйверов под ядро будут ошибки make[1]: *** /lib/modules/<kernel_version>/build: No such file or directory. Stop.
echo "net.ipv6.conf.default.disable_ipv6=1" >> /etc/sysctl.conf # отключаем ipv6
echo "net.ipv6.conf.all.disable_ipv6=1" >> /etc/sysctl.conf # отключаем ipv6

# TREX
mkdir -p /opt/trex
cd /opt/trex
git clone https://github.com/cisco-system-traffic-generator/trex-core.git
cd trex-core/linux_dpdk/
./b configure
./b build

Leave a Reply