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 年前
相关内容
- AWS 官方已更新 10 个月前
- AWS 官方已更新 3 年前
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