Daily Shaarli

All links of one day in a single page.

April 14, 2023

教你如何在 CentOS 7 系统上搭建NFS服务 | 《Linux就该这么学》

rpm -qa nfs-utils rpcbind  # 检查是否安装对应的两个包,如果执行完没有返回信息则说明没装

yum -y install nfs-utils rpcbind  # 安装 nfs 和 rpc 包

systemctl  start  rpcbind

systemctl  enable  rpcbind  # 将 rpcbind 服务加入到开机启动项

systemctl  start  nfs-server

systemctl  enable  nfs-server  # 将 nfs-server 服务加入到开机启动项