1 個回答
- 最新
- 最多得票
- 最多評論
0
Got the solution for this issue. Below are the steps to compile and install the net-utils in the CenOS7
# yum -y install git make systemd systemd-units rpm-build
# git clone --branch=1.x --single-branch --depth 1 https://github.com/aws/amazon-ec2-net-utils.git
# cd amazon-ec2-net-utils/
# curl -LO 'https://github.com/aws/amazon-ec2-net-utils/archive/1.5.tar.gz'
# rpmbuild --define "_sourcedir $PWD" -bb amazon-ec2-net-utils.spec
# ls ~/rpmbuild/RPMS/noarch/
# yum localinstall ls ~/rpmbuild/RPMS/noarch/amazon-ec2-net-utils-1.5-1.el7.noarch.rpm
已回答 2 年前
相關內容
- 已提問 6 個月前
- 已提問 6 個月前
- AWS 官方已更新 3 年前
- AWS 官方已更新 10 個月前
Got the solution for this issue. Below are the steps to compile and install the net-utils in the CenOS7
yum -y install git make systemd systemd-units rpm-build
git clone --branch=1.x --single-branch --depth 1 https://github.com/aws/amazon-ec2-net-utils.git
cd amazon-ec2-net-utils/
curl -LO 'https://github.com/aws/amazon-ec2-net-utils/archive/1.5.tar.gz'
rpmbuild --define "_sourcedir $PWD" -bb amazon-ec2-net-utils.spec
ls ~/rpmbuild/RPMS/noarch/
yum localinstall ls ~/rpmbuild/RPMS/noarch/amazon-ec2-net-utils-1.5-1.el7.noarch.rpm