从一台Linux服务器copy已经安装的FIO/NVME-CLI文件到另一台服务器

1. NVMe-CLI: copy the NVME-CLI tool from  https://github.com/linux-nvme/nvme-cli  to 1st linux server.

From CentOS desktop:

$ sudo yum install nvme-cli

$ scp /usr/sbin/nvme :/usr/sbin

2. Copy FIO tool from CentOS desktop to another Linux Server.

linux server side:

$ ifconfig eth0a up # Enable the first port on the internal NIC

$ udhcpc -i eth0a # Get an IP via DHCP

$ ifconfig eth1 | awk '/inet/ { print $2 }' # Show the IP address

$ mount -o remount,rw /

$ ln -s /var/etc/resolv.conf /etc/resolv.conf

CestOS desktop

From the CentOS desktop, copy over the necessary binaries and libraries:
$ scp /usr/bin/fio root@:/usr/bin
$scp /usr/lib64/lib{ibverbs.so.*,nl-3.so.*,nl-route-3.so.*,nspr4.so,nss3.so,nssutil3.so,numa.so.*,plc4.so,plds4.so,pmem*,rados.so.*,rbd.so.*,rdmacm.so.*,smime3.so,ssl3.so} root@:/usr/lib64

你可能感兴趣的:(Linux)