在Ubuntu和Debian上安装NFS客户端：sudo apt update sudo apt install nfs-common sudo yum install nfs-utils 手动挂载NFS文件系统:mount [OPTION...] NFS_SERVER:EXPORTED_DIRECTORY MOUNT_POINT 例：sudo mount -t nfs 10.10.0.10:/backups /var/backups 使用/etc/fstab挂载:# <file system> <type> <options> <dump> <pass> 10.10.0.10:/backups /var/backups nfs defaults 0 0
临时修改ip命令：#修改网卡eth0 IP修改为102.168.0.1，子网掩码修改为255.255.255.0ifconfig eth0 102.168.0.1 netmask 255.255.255.0 #网关修改为102.168.0.254route add default gw 102.168.0.254 #Linux命令行修改dnsecho "nameserver 202.202.202.20 ">> /etc/resolv.conf